# API Reference

Auto-generated documentation from source code docstrings.

## Packages

### Core

- [Entity Schema](core/entity.md) — `ninja_core.schema.entity`
- [Domain Schema](core/domain.md) — `ninja_core.schema.domain`
- [Relationship Schema](core/relationship.md) — `ninja_core.schema.relationship`
- [Agent Config](core/agent-config.md) — `ninja_core.schema.agent`
- [Project Schema](core/project.md) — `ninja_core.schema.project`

### Agents

- [Base Agents](agents/base.md) — `ninja_agents.base` (DataAgent, DomainAgent, CoordinatorAgent)
- [Tools](agents/tools.md) — `ninja_agents.tools` (CRUD tool generation)
- [Tracing](agents/tracing.md) — `ninja_agents.tracing` (execution tracing)
- [Orchestrator](agents/orchestrator.md) — `ninja_agents.orchestrator`

### Auth

- [Gateway](auth/gateway.md) — `ninja_auth.gateway` (middleware)
- [RBAC](auth/rbac.md) — `ninja_auth.rbac` (roles, permissions, enforcement)
- [Context](auth/context.md) — `ninja_auth.context` (UserContext)
- [Strategies](auth/strategies.md) — `ninja_auth.strategies` (OAuth2, JWT, API key, Identity)

### Code Generation

- [Engine](codegen/engine.md) — `ninja_codegen.engine`
- [Generators](codegen/generators.md) — `ninja_codegen.generators` (models, agents, graphql)
