full-stack-ai-agent-template
AGENTS.md1.9k starsChanged 8 months agoMITView on GitHub
Guidance for AI coding agents (Codex, Copilot, Cursor, Zed, OpenCode) working with this repository. Full-Stack AI Agent Template — CLI tool that generates production-ready FastAPI + Next.js projects with AI agents (5 frameworks), RAG (4 vector stores), and 20+ enterprise integrations. Generated project CLI includes sync source commands: Jinja2 conditionals: {%- if cookiecutter.enable_rag %}...{%- endif %} Adding a new CLI option: 1. Add to config.py (enum/field on ProjectConfig or sub-model) 2. Add prompt to prompts.py 3. Add to cookiecutter.json 4.…
Trending
Quiet since May.thin dataabout the whole repository
Who's talking about vstorm-co/full-stack-ai-agent-template
- @tom-doerr.bsky.social“https://github.com/vstorm-co/full-stack-ai-agent-template”Bluesky · May 2, 2026 · 1 likes
- @tom-doerr.bsky.social“https://github.com/vstorm-co/full-stack-ai-agent-template”Bluesky · Mar 19, 2026 · 1 likes
- A Hacker News story“Full-Stack AI Agent Template”Hacker News · Mar 6, 2026 · 1 points
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 2 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 70
Add to config.py (enum/field on ProjectConfig or sub-model)
- Very specific: line 71
Add prompt to prompts.py
- Distinctive: line 73
Add conditionals to template files
- Very specific: line 74
Update hooks/post_gen_project.py for cleanup
- Very specific: line 78
Add to VectorStoreType enum in config.py
- Very specific: line 79
Add use_<name> to to_cookiecutter_context()
- Very specific: line 81
Add conditional in api/deps.py, commands/rag.py, agents/tools/rag_tool.py
- Distinctive: line 82
Add Docker service (if needed) and dependencies
- Very specific: line 85
Create connector class in rag/connectors/ following the BaseConnector pattern
- Very specific: line 87
Add CLI command in commands/rag.py (e.g.
- Very specific: line 88
Add sync source schema in schemas/sync_source.py
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Guidance for AI coding agents (Codex, Copilot, Cursor, Zed, OpenCode) working with this repository.
Project Overview
Full-Stack AI Agent Template — CLI tool that generates production-ready FastAPI + Next.js projects with AI agents (5 frameworks), RAG (4 vector stores), and 20+ enterprise integrations.
Commands
uv sync # Install dependencies
uv run pytest # Run tests
uv run ruff check . --fix # Lint
uv run ruff format . # Format
uv run ty check # Type checkCLI
fastapi-fullstack # Interactive wizard (default)
fastapi-fullstack create my_app --database postgresql
fastapi-fullstack create my_app --rag --task-queue celery
fastapi-fullstack templates # List all optionsGenerated project CLI includes sync source commands:
uv run <project_slug> cmd rag-sources # List configured sources
uv run <project_slug> cmd rag-source-add # Add a new source
uv run <project_slug> cmd rag-source-sync # Trigger sync for a sourceArchitecture
| Module | Purpose |
fastapi_gen/cli.py | Click CLI: new, create, templates |
fastapi_gen/config.py | Pydantic models, enums, validation, cookiecutter context |
fastapi_gen/prompts.py | Interactive prompts (Questionary) |
fastapi_gen/generator.py | Cookiecutter invocation |
Template (template/)
template/
├── cookiecutter.json # ~120 variables
├── hooks/post_gen_project.py # Cleanup & formatting
└── {{cookiecutter.project_slug}}/
├── backend/app/ # FastAPI (agents, rag, services, repos)
└── frontend/ # Next.js 15 (optional)Jinja2 conditionals: {%- if cookiecutter.enable_rag %}...{%- endif %}
Key Features
- 5 AI Frameworks: PydanticAI, PydanticDeep, LangChain, LangGraph, DeepAgents
- 4 LLM Providers: OpenAI, Anthropic, Google Gemini, OpenRouter
- RAG: 4 vector stores (Milvus, Qdrant, ChromaDB, pgvector), 4 embedding providers, reranking, image description
- Document Sources: Local files (CLI), API upload, Google Drive (service account), S3/MinIO
- Sync Sources: Configurable connectors (Google Drive, S3) with scheduled sync
- PDF Parsers: PyMuPDF, LiteParse, LlamaParse (runtime selection via env var)
- Observability: Logfire (PydanticAI), LangSmith (LangChain/LangGraph/DeepAgents)
Common Tasks
Adding a new CLI option:
- Add to
config.py(enum/field onProjectConfigor sub-model) - Add prompt to
prompts.py - Add to
cookiecutter.json - Add conditionals to template files
- Update
hooks/post_gen_project.pyfor cleanup - Document in
template/VARIABLES.md
Adding a new vector store:
- Add to
VectorStoreTypeenum inconfig.py - Add
use_<name>toto_cookiecutter_context() - Implement
<Name>VectorStore(BaseVectorStore)inrag/vectorstore.py - Add conditional in
api/deps.py,commands/rag.py,agents/tools/rag_tool.py - Add Docker service (if needed) and dependencies
Adding a new sync connector:
- Create connector class in
rag/connectors/following theBaseConnectorpattern - Register connector type in
rag/connectors/__init__.py - Add CLI command in
commands/rag.py(e.g.rag-source-add,rag-source-sync) - Add sync source schema in
schemas/sync_source.py - Wire up background task in
worker/tasks/rag_tasks.py
Reference
| Resource | Location |
| Template variables | template/cookiecutter.json |
| Variable docs | template/VARIABLES.md |
| Post-gen hooks | template/hooks/post_gen_project.py |
| CLI help | fastapi-fullstack templates |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

