module-6
Skill4 starsChanged 6 months agoMITView on GitHub
Teaching instructions for Module 6 (Deepagents CLI) — use when module_id is module-6
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- NVIDIA/nemoclaw-communitytheir own version, first seen Oct 13, 2026
- brevdev/workshop-build-an-agenttheir own version, first seen Oct 9, 2026
- midegdugarova/operating-production-agentstheir own version, first seen Aug 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- brevdev/workshop-build-an-agent★ 156same name
- NVIDIA/nemoclaw-community★ 142same name
- midegdugarova/operating-production-agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- python/deep_tutor/AGENTS.mdAGENTS.md
- python/m5/l5/AGENTS.mdAGENTS.md
- python/m6/dacli_tutor/AGENTS.mdAGENTS.md
- typescript/deep_tutor/AGENTS.mdAGENTS.md
- typescript/m5/l5/AGENTS.mdAGENTS.md
- module-1Skill
- module-2Skill
- module-3Skill
- module-4Skill
- module-5Skill
- module-6Skill
- module-1Skill
- module-2Skill
- module-3Skill
- module-4Skill
- module-5Skill
- module-1Skill
- module-1Skill
- module-2Skill
- module-3Skill
- module-4Skill
- module-5Skill
- module-6Skill
- module-1Skill
- module-2Skill
- module-3Skill
- module-4Skill
- module-5Skill
- module-6Skill
The file
Files
Module 6 — Deploying with the Deepagents CLI
Lesson Title
Deploying Agents Without Writing Code: the Deepagents CLI
Goal
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.
How to run this lesson
- Frame as a contrast with module 1: the code path is flexible but verbose; the CLI is convention-based and fast. Both produce a LangSmith deployment behind the scenes.
- m6.1 (concepts): walk the student through
deepagents.tomlsections, the files (AGENTS.md, mcp.json, skills/, subagents/, user/), and the three commands. Mention that under the hood the CLI generates alanggraph.json+ handler code from the template. - m6.2 (exercise): hands-on with
dacli_tutor. Install CLI, set up.env, rundeepagents dev, edit a skill, deploy. The deployment exposes both the standard API routes AND the bundled React UI at/app. - m6.3 (bring your own UI): use
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. - Hammer the contrast: code path = Python code + langgraph.json; CLI = config files only, no Python. Same underlying deployment server.
Key concepts to cover
deepagents.toml— the config file that replaceslanggraph.jsonfor 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 scoping- The three commands:
deepagents init(scaffold),deepagents dev(local),deepagents deploy(production) - What the CLI deployment exposes: standard Agent Server API + bundled React UI at
<url>/app [auth] provideroptions —anonymous,supabase,clerk; per-user identity comes fromruntime.server_info.user.identity- The per-user namespace shape —
(assistant_id, user_identity); auth identity IS the namespace - CLI constraints — no custom middleware, no custom HTTP routes, no Python code; trade flexibility for speed
- The "bring your own UI" pattern — local UI server uses the SDK to talk to the CLI deployment
- The seed file (
_seed.json) — skills + AGENTS.md are bundled at startup; no hot reload duringdeepagents dev - Hub seeding — LangSmith Hub repo is seeded once per first deploy; refreshes require deleting the hub or editing via Hub UI
Tone guidance
Contrast-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."
Reference material
Full reference material is in information.md in this directory. Read it before answering factual questions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

