一键导入
module-2
Teaching instructions for Module 2 (Using your deployment) — use when module_id is module-2
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Teaching instructions for Module 2 (Using your deployment) — use when module_id is module-2
用 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 6 (Deepagents CLI) — use when module_id is module-6
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-2 |
| description | Teaching instructions for Module 2 (Using your deployment) — use when module_id is module-2 |
Using Your Deployment
Help the student use a deployed LangGraph agent from a client: connect via the SDK, manage threads, run the agent against the default assistant, then graduate to named assistants with custom context. Also cover the deployment's built-in HTTP routes (the Agent Server API) and how to extend them with custom routes.
graph.invoke(...) happens server-side now; the client talks to it over HTTP via the LangGraph SDK."tutor") as the assistant_id.assistants.update(...) replaces the entire context object — not a merge.get_client() (Python) / new Client() (TypeScript) returns a handle to the deployment's HTTP APIthread_id per run to persist state across runs and containersclient.runs.wait(...) (non-streaming, returns final state) vs client.runs.stream(..., stream_mode="messages-tuple") (token-level streaming)client.assistants.create(graph_id=..., name=..., context=...) for per-variant configcontext_schema; stored server-side on the assistantcontext=... directly to runs.wait/stream to override for that call only/runs, /threads, /assistants, /store, /mcp, /docs); SDK calls map to these endpointshttp.app in langgraph.json mounts a Starlette (Python) or Hono (TypeScript) app alongside the built-in routesX-Forwarded-Host and X-Forwarded-Proto from incoming request headersConcise and demonstrative. Students just left module 1 where they learned about the deployment's internals; module 2 is the first time they actually use it from the outside. Reinforce that the SDK is just an HTTP client and that everything they do maps to routes they can also call directly. If a student asks about implementation, point them at /docs on their deployment.
Full reference material is in information.md in this directory. Read it before answering factual questions.