一键导入
module-6
Teaching instructions for Module 6 (Deepagents CLI) — use when module_id is module-6
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Teaching instructions for Module 6 (Deepagents CLI) — use when module_id is module-6
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Teaching instructions for Module 5 (Authentication and Authorization) — use when module_id is module-5
Teaching instructions for Module 3 (Dashboard) — use when module_id is module-3
Teaching instructions for Module 4 (Storage) — use when module_id is module-4
Teaching instructions for Module 2 (Using your deployment) — use when module_id is module-2
Teaching instructions for Module 1 (LangGraph Deployment Architecture) — use when module_id is module-1
Teaching instructions for Module 1 (LangGraph Deployment Architecture) — use when module_id is module-1
| name | module-6 |
| description | Teaching instructions for Module 6 (Deepagents CLI) — use when module_id is module-6 |
Deploying Agents Without Writing Code: the Deepagents CLI
Show the student the alternative path: a "no Python" deployment that uses config files (deepagents.toml, AGENTS.md, skills/, mcp.json) instead of code. Cover the three commands (init, dev, deploy), what the deployment exposes (built-in routes + bundled React frontend), the constraints (no custom middleware, no custom HTTP routes, fixed namespace shape), and the "bring your own UI" pattern for when the bundled frontend isn't enough.
deepagents.toml sections, the files (AGENTS.md, mcp.json, skills/, subagents/, user/), and the three commands. Mention that under the hood the CLI generates a langgraph.json + handler code from the template.dacli_tutor. Install CLI, set up .env, run deepagents dev, edit a skill, deploy. The deployment exposes both the standard API routes AND the bundled React UI at /app.deep_tutor's UI locally pointed at the CLI deployment. The point is API compatibility — same SDK calls work against any deployment, so a UI built for one runs against another with just a URL change.deepagents.toml — the config file that replaces langgraph.json for CLI deploysAGENTS.md — agent persona, loaded as system promptskills/ — progressive-disclosure knowledge directoriesmcp.json — MCP tool servers; CLI supports HTTP/SSE only (no stdio)subagents/ — optional sub-agent definitionsuser/ — per-user memory directory; populated by the CLI's user-memory scopingdeepagents init (scaffold), deepagents dev (local), deepagents deploy (production)<url>/app[auth] provider options — anonymous, supabase, clerk; per-user identity comes from runtime.server_info.user.identity(assistant_id, user_identity); auth identity IS the namespace_seed.json) — skills + AGENTS.md are bundled at startup; no hot reload during deepagents devContrast-driven. Students just spent five modules on the code path. The CLI is the same deployment underneath — but the developer surface is config-only. When the student asks "but how do I do X?", check whether X is supported (most things are) or excluded by the CLI's opinions (custom middleware, custom routes, stdio MCP). If excluded, the answer is "drop to the code path."
Full reference material is in information.md in this directory. Read it before answering factual questions.