apogee make:*¶
The make:* family adds code to an existing project. All make commands edit files in place, write new ones, and may create migrations.
make:entity¶
Generates a domain entity, its repository port, ORM model, repository implementation, application use cases, FastAPI router and a migration.
apogee make:entity Customer \
--field name:str \
--field email:str \
--field active:bool=true \
--field created_at:datetime
Field syntax¶
?marks the field nullable=defaultsets a default value
Supported types: str, int, float, bool, datetime, date, uuid, decimal, plus FK references like customer_id:fk(Customer) and enum types like status:enum(active,inactive,suspended).
make:value-object¶
Generates a frozen dataclass under the appropriate domain context.
make:use-case¶
Creates a use case skeleton with input/output DTOs and a unit test file.
make:repository¶
Used when you want to override the default repository implementation (for example, switching one entity to MongoDB while the rest stays in Postgres).
make:ai — AI integration¶
Wires an LLM provider into the project via apogee-ai-providers.
To list supported providers and models:
make:rag — RAG pipeline¶
Wires a RAG pipeline into the project via apogee-ai-rag. Supports 28 RAG variants and 60+ integrations.
apogee make:rag KnowledgeBase \
--variant naive \
--vector qdrant \
--embedder openai \
--reranker bge
To list supported variants and integrations:
Read next¶
apogee infra— wire databases and brokers needed by what you just generated.- The
apogee-ai-ragdocumentation covers RAG variants in depth (separate site).