by ljxpython
企业级 AI Agent 平台底座 · 基于 LangGraph 生态二次开发,开箱即用(FastAPI + Vue 3 + 持续评测飞轮 + 原生知识中台 + 全链路可观测 + 智能排障助手 + 沙箱工作区)
# Add to your Claude Code skills
git clone https://github.com/ljxpython/ai-agent-platformGuides for using ai agents skills like ai-agent-platform.
ai-agent-platform is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ljxpython. 企业级 AI Agent 平台底座 · 基于 LangGraph 生态二次开发,开箱即用(FastAPI + Vue 3 + 持续评测飞轮 + 原生知识中台 + 全链路可观测 + 智能排障助手 + 沙箱工作区). It has 170 GitHub stars.
ai-agent-platform's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/ljxpython/ai-agent-platform" and add it to your Claude Code skills directory (see the Installation section above).
ai-agent-platform is primarily written in Python. It is open-source under ljxpython on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-agent-platform against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
很多团队做 Agent 容易停留在 Demo 阶段:平台治理、运行时执行、状态存储和前端交互全揉成一个“大泥球”,一到生产落地就面临权限缺失、状态丢失、模型切换困难、二开举步维艰、长任务上下文瞬爆与工具死循环的问题。
本项目为解决这一痛点而生,提供一个可直接用于二次开发、快速搭建企业私有 AI Agent 平台的工程底座:
LangGraph / LangChain 系列生态设计,深度吸收 open-swe、deepagents 与 deer-flow 的工程思想,原生支持复杂图编排、状态持久化、多轮工具调用循环与人机协同(HITL)审批中断。整个系统由六大核心支柱体系分层构建,各司其职:
| 服务 / 子系统 | 目录 | 职责定位 | 核心技术栈 |
|---|---|---|---|
| Platform API | apps/platform-api |
控制面核心:认证鉴权、双层 RBAC、项目隔离、审计日志、模型 Catalog 治理、PII 脱敏网关、AI 网关 Budgets 预算控制与实时熔断、Token 聚合读模型、60s 委托反向代理 | FastAPI + SQLAlchemy + PostgreSQL |
| Platform Web | apps/platform-web |
工业级管理控制台:工作区总览四联看板、无界流式对话、沉浸式沙箱 Workspace、Canvas 图谱工坊、就地排障诊断中心、AI 网关时序与财务大盘、原生独立评测中心 | Vue 3 + Vite + Tailwind CSS + Pinia + ECharts |
| Runtime Service | apps/runtime-service |
Agent 执行引擎:LangGraph 图注册、工具与 MCP 装配、会话调度、六大防爆中间件、评测双专家(出题/诊断)、KV Cache 前缀缓存加固、SSE 保活推送 | Python 3.11+ + LangGraph + GraphHarbor + Redis |
| Eval Runner | apps/eval-runner |
独立评测执行引擎:DeepEval 平台网关裁判、多轮仿真推演、运行时信号与工具真实白盒取证、时区感知 Cron 定时巡检、相对基线退化检测与告警联动 | Python 3.11+ + DeepEval + Cron + FastAPI |
| Native Knowledge Studio | 跨服务原生集成 | 原生知识中台:多模态文档解析、Graph Studio 2.0 Canvas 力导向图谱工坊、单向免隧道 Scoped HMAC 鉴权、只读知识检索 MCP | LightRAG + Canvas 2.0 + PostgreSQL |
| Unified Observability | deploy/observability + 全栈 |
全链路可观测中心:W3C traceparent 跨微服务穿透、MLflow 原生全景链路追踪(支持热切)、Loki TSDB 毫秒日志穿透、Prometheus + Grafana Kiosk 大盘、网关时序聚合 | MLflow + Langfuse + Loki + Prometheus + Grafana + ECharts |
| Independent Evaluation Studio | 全栈原生集成 | 原生独立评测中台:题库全景/考题表/打擂大厅三段式工作台、多图并发打擂(dearflow/showcase/reference/workflow)、白盒取证时序、Head-to-Head PK 对撞、L2 防偏见(Position Swap)与 L3 标尺闭环、线上会话一键脱敏转 Case | eval-runner + Platform API + Platform Web + ECharts |
🔗 交互式网页体验: 👉 打开全屏交互式架构图 (HTML)(基于 Archify 生成,支持节点语义聚焦、视口缩放、深浅主题切换与全要素搜索)

traceparent 标准,支持 MLflow / EvalFlow 原生全景追踪 与 Langfuse 双轨热切换,结合 Loki 实现根据单一 trace_id 毫秒级对齐微服务上下文日志。🔗 交互式网页体验: 👉 打开全屏交互式时序图 (HTML)(支持三阶段分段探索与完整链路追踪)

🔗 交互式网页体验: 👉 打开全屏交互式扩展点图 (HTML)(清晰划定二开边界)

针对复杂长程任务、代码分析与深度调研场景中极易出现的系统假死、内存泄露与大模型失控等顽疾,平台实装了完整的工业级防御机制:
exit_behavior="end" 优雅软收尾机制,当单次运行预算耗尽时自动温和终止并输出总结,绝不崩溃抛出红条。ZIP_STORED 零内存流式连接池直出传输,9.4MB 产物归档耗时从 21.5s 压降至 0.36s(提速 98.3%)。system_message 改为临近最新用户消息前注入,同轮工具循环前缀绝对冻结,历史工具输出裁剪增加窗口容量门禁,彻底杜绝复杂长会话反复击穿 LLM 供应商 KV Cache 的隐蔽性能陷阱。timeout of 30000ms exceeded);重构为 FastAPI BackgroundTasks 异步非阻塞调度,0.3s 极速响应 202 Accepted 并平滑关闭弹窗,任务完成后通过平台全局通知中心(🔔)推送一键直达卡片。仓库内置了兼顾教学上手、复杂工程任务、工业级质量评测与平台自动化运维排障的完整智能体生态矩阵:
showcase_demoapps/runtime-service/src/runtime_service/services/demo/showcase_demo/DeerFlow Agentbytedance/deer-flow、langchain-ai/deepagents 与 langchain-ai/open-swe 的工程设计范式。Platform Assistant (平台助手)apps/platform-web/src/modules/platform-assistant/ 与 apps/platform-api/src/platform_api/services/assistant/create_agent 原生架构,专职负责平台运行指标诊断、受管只读 SQL 查询、跨微服务 Trace、按 Thread 检索会话 Run 与脱敏活动摘要、单次聚合排障(inspect_run_incident)与 MLflow 原生诊断穿透。BaseDrawer 拖拽无级拉伸(580px ⇄ 960px)、一键宽屏、实时错误胶囊(Context Pill)、免手写理由专职审批卡(仅执行/不执行)、推理过程折叠(ReasoningCollapse)与多渠道模型无感切换。Eval Copilot & Eval Diagnosis