Full-Stack AI Agent Template generates full-stack AI applications with a FastAPI backend and Next.js frontend, including agents, retrieval-augmented generation, streaming, authentication, and integrations. It is for building AI products with features such as chat, conversation sharing, administration, and multiple agent or vector-database choices. Catalogue add-ons support the generated applications and their agent workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/vstorm-co/full-stack-ai-agent-template/add-endpointgit clone --depth 1 https://github.com/vstorm-co/full-stack-ai-agent-templateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/vstorm-co/full-stack-ai-agent-template/add-endpoint)<a href="https://agentmods.dev/commands/vstorm-co/full-stack-ai-agent-template/add-endpoint"><img src="https://agentmods.dev/badge/commands/vstorm-co/full-stack-ai-agent-template/add-endpoint.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00009 | $0.00459 |
| Opus 5 | $0.00005 | $0.00230 |
| Sonnet 5 | $0.00002 | $0.00092 |
| Haiku 4.5 | $0.00001 | $0.00046 |
Grade A, and why
add-endpoint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Create a new API endpoint: $ARGUMENTS
Follow the project's layered architecture. Create files in this order:
-
Schema (
backend/app/schemas/<entity>.py):- Inherit
BaseSchema(andTimestampSchemafor Read) - Create
*Create,*Update,*Read,*Listmodels - Use
Field()with constraints,EmailStrwhere applicable
- Inherit
-
DB Model (
backend/app/db/models/<entity>.py):- Inherit
Base, TimestampMixin - Use
Mapped[type]+mapped_column() - Add
__repr__, relationships withcascade="all, delete-orphan"
- Inherit
-
Repository (
backend/app/repositories/<entity>_repo.py):- Stateless async functions:
get_by_id,get_multi,create,update,delete - Use
db.flush()+db.refresh(), keyword-only args afterdb
- Stateless async functions:
-
Service (
backend/app/services/<entity>.py):- Class with
__init__(self, db: AsyncSession) - Raise
NotFoundError,AlreadyExistsErroras appropriate
- Class with
-
DI (
backend/app/api/deps.py):- Add factory function and
Annotatedalias:EntitySvc = Annotated[EntityService, Depends(get_entity_service)]
- Add factory function and
-
Route (
backend/app/api/routes/v1/<entity>.py):- CRUD: GET list, GET by id, POST (201), PATCH, DELETE (204)
- Use DI aliases,
response_model,-> Anyreturn type
-
Register router in
backend/app/api/routes/v1/__init__.py -
Migration:
cd backend && uv run alembic revision --autogenerate -m "Add <entity> table" -
Test (
backend/tests/): mirror source structure -
Lint:
cd backend && uv run ruff check . --fix && uv run ruff format .
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 41 lines · 9 tokens per session scan A a7412c5c3bd6
add-endpoint is a command published in the GitHub repository vstorm-co/full-stack-ai-agent-template (1,878 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 459 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
mempalace-init
Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify everything works.
impact
Blast radius of a change — impacted callers, tests, and contracts.
speckit.plan
Execute the implementation planning workflow using the plan template to generate design artifacts.
config
显示或修改 AIForge 插件配置.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.