createAgent agents move to Guild TypeScript, and Fleet agents move to Guild Native.
Who this is for
Teams with LangGraph agents on LangSmith Deployment or their own servers,createAgent agents in Node services, or Fleet agents, who want them on a shared Hub. On Guild, credentials stay behind a proxy and every run shows in one workspace.
Concept map
Before you start
AgentExecutor moved to langchain-classic in v1, which Guild’s LangGraph runtime doesn’t include. create_react_agent is deprecated in v1, so replace it with create_agent from langchain.agents.
Inventory
- Graph entry points in
langgraph.jsonand every node. - Every tool and MCP server (
MultiServerMCPClient, orMCPAdapterfromlangchain.mcp), and the service it reaches. - Python dependencies beyond
langchain,langchain-core,langchain-openai, andlanggraph. - Interrupt or human-in-the-loop points.
- Cron jobs, webhooks, and, for Fleet, triggers and connection identities (“Claws” use fixed credentials; “Assistants” and per-user connections act as the invoker).
- Environment variables, by name only.
Steps
- Python LangGraph
- JS createAgent
- LangSmith Fleet
1
Scaffold a LangGraph agent
--category and --owner stop the CLI from prompting, which a script or coding agent can’t answer. List categories with guild agent categories.The scaffold contains langgraph.json, graph.py, guild.yaml, README.md, and .gitignore.2
Swap model and tools
guild_tools() is async, so the graph target must be an async factory.3
Declare tools in guild.yaml
langgraph.json targets as relative file paths: { "dependencies": ["."], "graphs": { "agent": "./graph.py:graph" } }.4
Test
guild agent test uploads only the files git tracks, so git add -A stages new files such as logic.ts first. Without it, the cloud build fails with “Cannot find module ’./logic.ts’”.The first
guild agent save --wait --publish after guild agent init fails with “No saved state… use —force” because of the .gitignore the scaffold writes. Add --force to that first save for now.guild agent save --publish. The Action needs an account API key with the agents:write scope:
Credentials and policies
Remove provider API keys and LangSmith keys; Guild routes model calls through its own proxy. Recreate service tokens as credentials. Fleet “Claws” map to workspace- or agent-scoped credentials, and “Assistants” and per-user connections map to member-scoped credentials. Restrict operations with credential policies.What doesn’t map 1:1
Extra Python packages
Extra Python packages
Guild’s LangGraph runtime provides Python 3.13 with
langchain, langchain-core, langchain-openai, langgraph, and guildai_langchain only. A graph that needs other packages (vector store clients, requests, provider SDKs) must replace them with Guild integrations or move to TypeScript.Network access
Network access
The container has no general network access. Every outside call must go through a Guild tool.
Long turns
Long turns
A LangGraph turn fails after 10 minutes without events. The clock pauses during Guild tool calls.
Approval lists
Approval lists
interruptOn and Fleet’s per-tool “Ask” map to two Guild controls. To control which agents can call the operation at all, add a credential policy rule scoped to the agent and workspace that allows or denies that operation. DENY wins. To have a person sign off on each call, have the agent confirm with ui_prompt first. The run pauses until someone answers.Run webhooks
Run webhooks
LangSmith Deployment webhooks send a POST callback to your service when a run finishes. They notify, they don’t start runs, so they have no Guild trigger equivalent. To notify a service when a Guild run ends, have the agent call it through an integration as its last step.
Self-hosting and hybrid
Self-hosting and hybrid
LangSmith Deployment offers hybrid and self-hosted options. Guild is hosted only.
Evaluations
Evaluations
LangSmith datasets, evaluators, and Engine have no 1:1 equivalent. Port your key cases to Guild Evaluations.
Three ways to migrate
guild-migrate skill
Ask your coding agent: “Migrate this LangGraph project to Guild.” It picks the LangGraph or TypeScript path and writes
MIGRATION.md.Publish Agent to Guild Action
Commit the port to your repository, then publish it from GitHub Actions with an account API key.
Migration agent
Point Migrate to Guild at your repository; it opens a draft pull request. The guild-migrate skill ships in the same package.
examples/migrations/langchain/ in the guild-migrate repository.
Related pages
LangGraph agents
The runtime,
guild_model(), guild_tools(), and constraints.guild.yaml
Models, integrations, sub-agents, and builtins.