AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
A documentation assistant deployed as a Managed Deep Agent.
This is a documentation assistant agent that helps answer questions about LangChain, LangGraph, and LangSmith. It demonstrates how to build a production-ready agent using:
• Managed Deep Agents - For managed deployment, identity, and connectors
• LangChain Agents - For agent creation with middleware support
• Guardrails - To keep conversations on-topic
The repo also includes a Next.js frontend in frontend/ for the public chat UI.查看完整 README ↗A documentation assistant deployed as a Managed Deep Agent.
This is a documentation assistant agent that helps answer questions about LangChain, LangGraph, and LangSmith. It demonstrates how to build a production-ready agent using:
The repo also includes a Next.js frontend in frontend/ for the public chat UI.
# Clone the repository
git clone https://github.com/langchain-ai/chat-langchain.git
cd chat-langchain
# Install dependencies with uv
uv sync
# Or with pip
pip install -e .
# Copy environment template
cp .env.example .env
# Edit .env with your API keys
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Anthropic API key (or use another provider) |
PYLON_API_KEY | Pylon API key for support KB |
PYLON_KB_ID | Pylon knowledge base ID for support articles |
USE_LOCAL_PROMPTS | Optional. Set to true to use local prompt files instead of pulling Prompt Hub prompts |
# Build the Managed Deep Agent bundle
uv run mda dev .
# Or with pip
mda dev .
cd frontend
npm ci
npm run dev:local
Point the frontend at the local MDA deployment via NEXT_PUBLIC_LANGGRAPH_API_URL
(see frontend/.env.local.example). Signed-in and anonymous users authenticate
with Supabase; MDA validates those tokens and scopes their threads.
├── agent.py # Managed Deep Agent entrypoint
├── identity.py # MDA multi-region Supabase identity contract
├── instructions.md # Managed Deep Agent system prompt
├── tools/
│ └── mcp.py # Managed MCP docs declaration
├── src/
│ ├── agent/
│ │ └── config.py # Model configuration
│ ├── tools/
│ │ ├── pylon_tools.py # Support KB tools
│ │ ├── pricing_tools.py # Pricing fetch
│ │ └── link_check_tools.py # URL validation
│ ├── prompts/
│ │ ├── docs_agent_prompt.py # Hub push / eval mirror of instructions.md
│ │ ├── guardrails_prompts.py
│ │ └── context_summary_prompt.py
│ └── middleware/
│ ├── guardrails_middleware.py
│ ├── ingress_guards_middleware.py
│ └── retry_middleware.py
├── frontend/ # Next.js public chat UI
└── pyproject.toml # Python project config
The agent uses a docs-first research strategy:
mda deploy .
What MDA owns in this deployment:
identity.py verifies signed-in and anonymous Supabase access
tokens across the configured regions.LANGSMITH_API_KEY.tools/mcp.py attaches the LangChain docs MCP tools.MIT