Full-Stack AI Agent Template
Generate full-stack AI applications with agents, RAG, streaming chat, authentication, and production infrastructure.
- Source repo
- vstorm-co/full-stack-ai-agent-template
- Stars
- ★ 2k
- Last updated
- 6d ago 0.2.24
- FARS reviewed
- Nov 07, 2026 +3 new
- License
- MIT
- Primary language
- Python
- FA score
- 46/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A team building an internal knowledge assistant can enable RAG and ingest PDF, DOCX, Google Drive, or S3 content into searchable collections.
- Not a fit if
- Teams wanting a single-process app with no extra infrastructure
- Small teams unwilling to manage Docker, databases, and multiple API keys
- Website
- vstorm-co.github.io ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-27latest release 0.2.24 (2026-11-27)+1.0 ★/day over 7 days
- Source review
- 46/100 · Major gaps
What does this agent do, and when should you use it?
This repository is a configurable generator for applications built with a FastAPI backend and a Next.js 15/React 19 frontend. A generated project can use PydanticAI, PydanticDeep, LangChain, LangGraph, or DeepAgents with OpenAI, Anthropic, Gemini, or OpenRouter. It includes WebSocket chat streaming, conversation persistence, tool-result UI, document ingestion, and retrieval through Milvus, Qdrant, ChromaDB, or pgvector. Optional product infrastructure covers JWT and API-key authentication, Google OAuth, background jobs, Stripe billing, administration, observability, and messaging channels. Its output is ordinary self-hosted source code deployable with Docker Compose or Kubernetes, while the frontend can also be deployed separately to Vercel; generated applications do not require the generator at runtime.
Running the fastapi-fullstack wizard or fastapi-fullstack create scaffolds a project according to selected database, authentication, agent framework, model provider, RAG, task queue, and frontend options. FastAPI exposes REST, OpenAPI, and WebSocket interfaces; agents can call web search, URL fetching, knowledge-base search, charts, run_python, skills, and ask_user, while the UI streams text deltas, reasoning, task state, and tool results. The RAG pipeline reads local files, API uploads, Google Drive, or S3/MinIO sources, then parses, chunks, embeds, stores, searches, and optionally reranks their contents; all five agent frameworks receive a search_knowledge_base tool. PostgreSQL stores users, sessions, conversations, and application data, while Redis and Celery, Taskiq, ARQ, or Prefect can provide state and background processing. The generated deliverable includes backend and frontend code, Alembic migrations, tests, Docker Compose definitions, a Makefile, and configuration and coding-assistant files matched to the chosen feature set.
- A team building an internal knowledge assistant can enable RAG and ingest PDF, DOCX, Google Drive, or S3 content into searchable collections.
- A SaaS team launching a customer-facing assistant can combine streaming chat, saved conversations, public sharing, workspaces, response ratings, and administration.
- An engineering group evaluating agent stacks can generate comparable projects with PydanticAI, LangGraph, LangChain, PydanticDeep, or DeepAgents.
- A startup preparing a paid AI product can add Stripe subscriptions, seat billing, credit ledgers, usage reporting, authentication, and a marketing site.
- An organization that requires self-hosting can select Docker, Kubernetes, PostgreSQL, Redis, background queues, and Logfire, LangSmith, Sentry, or Prometheus.
- A developer serving users across web and messaging can pair the WebSocket chat application with optional Telegram or Slack multi-bot channels.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
uv tool install fastapi-fullstackpip install fastapi-fullstackpipx install fastapi-fullstack
- Config files
backend/.env.examplebackend/.env- Runtime
- Python 3.11+ · Node.js 18+
- Install notes cover
- Windows · WSL · Docker
How do you install or deploy this agent?
Python 3.11+ is required, and the Next.js frontend requires Node.js 18+; uv and Bun are recommended. Install the generator with uv tool install fastapi-fullstack, pip install fastapi-fullstack, or pipx install fastapi-fullstack. For the first working application, run fastapi-fullstack and complete the wizard, then run cd my_ai_app followed by make bootstrap; this builds the backend image, starts PostgreSQL, applies Alembic migrations, and seeds the development administrator. In another terminal run cd my_ai_app/frontend && bun install && bun dev. Configure credentials for the selected model provider, such as an OpenAI, Anthropic, Gemini, or OpenRouter API key. For production, copy backend/.env.example to backend/.env and supply real secrets. The standard container workflow requires Docker; Windows users also need GNU Make or an environment such as WSL2 or Git Bash.
How do you use this agent?
Run fastapi-fullstack for interactive generation. A copyable non-interactive example is fastapi-fullstack create my_ai_app --database postgresql --frontend nextjs; use fastapi-fullstack create my_ai_app --preset ai-agent for the streaming-agent preset, or fastapi-fullstack create my_app --rag --database postgresql --task-queue celery for RAG with Celery. Once running, open http://localhost:8000, http://localhost:8000/docs, http://localhost:8000/admin, and http://localhost:3000. make bootstrap seeds [email protected] with password admin123 for development; those credentials must not be retained for production. Routine commands include make dev, make dev-down, make dev-logs, and make dev-frontend. For a project named my_ai_app, backend operations include uv run my_ai_app server run --reload, uv run my_ai_app db migrate -m "message", uv run my_ai_app db upgrade, and uv run my_ai_app user create-admin. Existing generated projects can preview template updates with make upgrade-dry-run and apply a three-way merge on a dedicated branch with make upgrade.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- One generator explicitly supports five agent frameworks, four model providers, and four vector-store choices, giving adopters meaningful stack and hosting flexibility.
- It covers the product path from ingestion, retrieval, and agent tools through streaming UI, authentication, administration, billing, and observability.
- The result is editable source code without a generator runtime dependency, and the documented upgrade flow uses a three-way merge intended to preserve local customizations.
- Docker Compose, Kubernetes, a separately deployable Vercel frontend, multiple job systems, and several observability options provide broad deployment coverage.
- A feature-rich deployment can combine PostgreSQL, Redis, a vector database, a task queue, two application runtimes, and several external APIs, creating substantial operational overhead.
- Provider support is not uniform: OpenRouter is documented only for PydanticAI, so switching framework may reduce the available provider choices.
- RAG options carry different infrastructure costs: Milvus uses three Docker services, Qdrant uses one, and embeddings, reranking, Google Drive, or S3 may require additional services and credentials.
- The extensive option surface still requires adopters to review authentication, seeded administrator credentials, rate limits, secrets, billing, and deployment settings before production use.
How does this agent compare with similar options?
Compared with full-stack-fastapi-template, this project is specifically aimed at AI/LLM products and adds five agent frameworks, RAG, WebSocket streaming, conversation persistence, LLM observability, and a Next.js chat interface. Compared with create-t3-app, it supplies a FastAPI backend plus RAG, job processing, administration, and Docker/Kubernetes paths; the source comparison lists NextAuth and Prisma for create-t3-app but no agent or RAG features.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Full-Stack AI Agent Template This agent | 46 · Major gaps | CLIFree + model costs | ★ 2k | 6d ago | Python | OpenAI API · Claude API |
| Agents Towards Production | 44 · Major gaps | Library / SDKFree + model costs | ★ 22k | 17d ago | Jupyter Notebook | — |
| AI Agent Service Toolkit | 69 · Some gaps | FrameworkFree + model costs | ★ 4.6k | 3d ago | Python | OpenAI API |
| llm.rb | 62 · Some gaps | Library / SDKFree + model costs | ★ 142 | 1d ago | Ruby | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The files show secrets configured through environment variables, Fernet encryption for channel tokens, webhook signature checks, and guidance to keep side effects in services, providing partial evidence of least privilege and sensitive-data controls. Deductions: bootstrap seeds a known default administrator account; the product integrates external APIs, messaging, payments, and data sync, but the sample does not fully explain runtime data flows, permission boundaries, user confirmation, or rollback. CI claims dependency scanning but lists several ignored CVEs without explaining rationale or mitigation in the supplied material. Publisher identity remains unknown as instructed; a maintainer email and security reporting route are present, but maintenance responsibility is only partly clear.
The CI workflow describes generated-project checks across several configurations, linting, type checking, and dependency scanning; documentation also gives conflict checks and quick fixes. Deductions: these are workflow and coverage claims in source files, not evidence of successful execution; README and configuration docs have some ambiguity or inconsistency about database options, feature counts, and supported scope; availability of third-party services and generated-app runtime failures are not fully addressed.
The intended audience is primarily developers, with scenarios including AI agents, RAG, and SaaS; it offers a wizard, CLI flags, presets, a minimal mode, environment guidance, and skills with specific triggers. Deductions: capability boundaries are not systematically defined, some options are only available through the wizard, and the broad feature list is not always tied to explicit applicability conditions.
The repository provides module and directory maps, installation steps, configuration guidance, an FAQ, stated limitations, and a clear MIT license; it also records a version, an upgrade guide, and a security reporting address. Deductions: the sample provides no changelog or strong long-term maintenance commitment, and the support policy covers only the latest minor release.
The generator aims to create usable full-stack applications and bundles authentication, agents, RAG, background tasks, and integrations with scaffolding commands, examples, and an upgrade workflow, indicating substantial potential utility. Deductions: the large feature and dependency surface raises setup, deployment, and operations costs; static evidence cannot verify generated output correctness or its benefits over a smaller solution.
The README, configuration guide, CLI excerpt, skill files, and CI definition corroborate some capabilities and workflows; the security policy also distinguishes user responsibilities from provided controls. Deductions: many capabilities remain documentation claims, a CI definition is not execution evidence, and the sample is truncated rather than a complete repository, preventing implementation-level verification; factual statements and promotional inferences are not always clearly separated.
- bootstrap seeds the fixed [email protected] / admin123 administrator credentials; review and change or remove the default account before deployment.
- The security workflow lists multiple CVEs ignored by pip-audit, but the supplied material does not explain the rationale or mitigations; review those dependencies and exceptions before release.
- The template integrates external LLMs, vector stores, messaging platforms, and Stripe; review data transfers, credential scopes, and production configuration for the features you enable.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Fixed - Remove Telegram and RAG permission test files from generated projects when those tests are disabled by the selected features.View on GitHub ↗ -
Release notes excerpt
Security - Validate and pin outbound connections made by the URL fetch tool and webhook delivery. HTTPS continues to verify the destination hostname. - Require Telegram webhook authentication before handling a bot event. - Enforce collection and tenant permissions for RAG search, changes to knowledge bases, integration cloning, and status streams. Existing projects must apply the template upgrade to receive the generated code changes. Re-register Telegram webhooks if the bot was registered without a webhook secret.View on GitHub ↗ -
Release notes excerpt
Security - Update certifi, dnspython, filelock and virtualenv to patched versions. - Give CI and the template rename guard read-only repository permissions. Fixed - Generate into an existing empty directory, contributed by @jipeng6036-del (#189). - Write the generated frontend environment file in UTF-8, contributed by @Gouthambalaji03 (#207). - Handle missing Qdrant payloads and restore compatibility with the current dependency versions used in the test matrix. Changed - Update Qdrant, etcd, Milvus, Traefik, and the GitHub Actions for uv and project triage.View on GitHub ↗
FAQ
Is OpenAI mandatory?
Can this be used as a conventional full-stack template without AI features?
Does RAG always require a separate vector-database service?
Can a generated project receive later template updates?
make upgrade-dry-run previews changes, make upgrade performs a three-way merge on a dedicated branch, and make upgrade-finalize updates the manifest. Merge conflicts still require manual resolution.What external costs should an adopter expect?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.