FastAPI AI代理蓝图 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
FastAPI后端蓝图,支持DDD、SQLAlchemy、Taskiq、Admin UI
FastAPI AI代理蓝图 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
FastAPI后端蓝图,支持DDD、SQLAlchemy、Taskiq、Admin UI
FastAPI AI代理蓝图 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install fastapi-agent-blueprint
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install fastapi-agent-blueprint
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Mr-DooSun/fastapi-agent-blueprint
cd fastapi-agent-blueprint
pip install -e .
# 验证安装
python -c "import fastapi_agent_blueprint; print('安装成功')"
# 命令行使用
fastapi-agent-blueprint --help
# 基本用法
fastapi-agent-blueprint input_file -o output_file
# Python 代码中调用
import fastapi_agent_blueprint
# 示例
result = fastapi_agent_blueprint.process("input")
print(result)
# fastapi-agent-blueprint 配置文件示例(config.yml) app: name: "fastapi-agent-blueprint" debug: false log_level: "INFO" # 运行时指定配置文件 fastapi-agent-blueprint --config config.yml # 或通过环境变量配置 export FASTAPI_AGENT_BLUEPRINT_API_KEY="your-key" export FASTAPI_AGENT_BLUEPRINT_OUTPUT_DIR="./output"
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo-dark.png"> <source media="(prefers-color-scheme: light)" srcset="docs/assets/logo-light.png"> <img alt="FastAPI Agent Blueprint" src="docs/assets/logo-light.png" width="200"> </picture> </p>
<p align="center"> <a href="https://github.com/Mr-DooSun/fastapi-agent-blueprint/actions/workflows/ci.yml"><img src="https://github.com/Mr-DooSun/fastapi-agent-blueprint/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/Python-3.12.9+-blue.svg" alt="Python"></a> <a href="https://fastapi.tiangolo.com"><img src="https://img.shields.io/badge/FastAPI-0.115+-green.svg" alt="FastAPI"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License"></a> <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff"></a> <a href="https://github.com/Mr-DooSun/fastapi-agent-blueprint/stargazers"><img src="https://img.shields.io/github/stars/Mr-DooSun/fastapi-agent-blueprint?style=social" alt="GitHub Stars"></a> </p>
<p align="center"> <b>A FastAPI backend blueprint for teams building with AI coding agents.</b><br> A modular backend to run your application. A shared collaboration harness to guide how your team develops it. </p>
<p align="center"> <a href="#quickstart">Run the backend</a> · <a href="#ai-collaboration-harness">Explore the harness</a> · <a href="#why-this-blueprint">Is it a fit?</a> · <a href="docs/README.ko.md">한국어</a> </p>
<p align="center"> <a href="https://github.com/Mr-DooSun/fastapi-agent-blueprint/generate"> <img src="https://img.shields.io/badge/-Use%20this%20template-2ea44f?style=for-the-badge" alt="Use this template"> </a> </p>
| Backend foundation | AI collaboration harness |
|---|---|
| Domain logic shared by HTTP APIs, background tasks, and an admin UI. Optional AI and infrastructure adapters let you start locally and add services as needed. | Repository rules, task-specific skills, hooks, and review procedures guide changes to that backend across Claude Code, Codex, and Antigravity. |
| [Run it locally](#quickstart) · [See the architecture](#architecture-at-a-glance) | [Follow an API change](#ai-collaboration-harness) · [Read the shared workflow](docs/ai/shared/target-operating-model.md) |
Prerequisites: Python >=3.12.9, uv, Git, and make. The demos also use curl and python3 on your PATH. No Docker, PostgreSQL, cloud credentials, or AI coding tool required.
Terminal 1 — start the backend:
git clone https://github.com/Mr-DooSun/fastapi-agent-blueprint.git
cd fastapi-agent-blueprint
make quickstart
This installs the quickstart dependencies, creates a SQLite database, and keeps the server running on port 8001. Use a fresh checkout for evaluation: quickstart syncs the admin extra and can remove other installed extras. For development dependencies and commit hooks, use make setup when moving to the development setup.
Terminal 2 — from the same repository directory:
make demo # JWT auth, admin-realm login, user CRUD, refresh and logout
make demo-rag # document upload, retrieval and an answer with citations
Keep terminal 1 running. Both demos check their API responses and report failure if a request does not succeed. The default RAG demo uses a keyword-based stub embedder and a templated stub answer agent; it demonstrates the pipeline without calling an external model.
admin / admin.These defaults are for local evaluation. Follow the development and deployment guides before using real data or exposing the service.
<a id="platform-in-action"></a>

For a request such as “add a filtered list endpoint to the order domain,” the workflow is:
| Step | Contributor and agent actions |
|---|---|
| Frame and plan | Clarify the contract and affected layers with /plan-feature (Claude) or $plan-feature (Codex). Review the resulting execution packet. |
| Start execution | The contributor explicitly invokes /execute-plan or $execute-plan with that packet. The executor routes API implementation through the add-api skill. |
| Implement and verify | Reuse the existing layer patterns, add relevant tests, and run the packet's verification commands. Surface unplanned capability gaps before expanding the work. |
| Review and sync | Review the diff; reconcile affected documentation with sync-guidelines when needed. Record verification and any unresolved items before PR completion. |
This is an illustrative workflow, not a command that runs every step automatically. Human decisions remain part of the process.
What is enforced? Configured pre-commit/CI checks block detected violations such as prohibited imports, broken documentation links, or shared-file language policy failures. Workflow reminders are advisory in many cases. For example, the plan-to-execution gate blocks matching source edits in Claude, while Codex receives a Stop-time advisory. Tool adapters share policy but do not provide identical enforcement. See the operating model for current coverage and exceptions.
Domain scaffolding is another supported task:

Set up Claude Code or Codex · Antigravity harness · Shared rules · Manual development path
The docs domain composes document upload, chunking, embedding, retrieval, and answers with citations. Its shared RAG pipeline can be reused by other domains (ADR 040).
For real model calls, install the pydantic-ai extra, configure EMBEDDING_PROVIDER + EMBEDDING_MODEL and LLM_PROVIDER + LLM_MODEL, and supply the selected providers' credentials. See the configuration reference for optional extras and settings; the RAG walkthrough shows the flow.
<a id="interfaces"></a>
HTTP, worker, and admin interfaces are implemented. The MCP server interface is planned, not part of the runnable backend today.
高质量的AI工作流蓝图,支持多种技术栈
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,FastAPI AI代理蓝图 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | fastapi-agent-blueprint |
| 原始描述 | 开源AI工作流:FastAPI backend blueprint for AI agent apps: DDD, SQLAlchemy, Taskiq, admin UI, 。⭐24 · Python |
| Topics | FastAPIAIDDDSQLAlchemyTaskiq |
| GitHub | https://github.com/Mr-DooSun/fastapi-agent-blueprint |
| License | MIT |
| 语言 | Python |
收录时间:2026-07-02 · 更新时间:2026-07-03 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端