Bring an existing agent into Harnest
Choose the mode that preserves the agent’s current behavior:1
Create a Harnest project beside the existing agent
--framework langgraph for an existing LangGraph agent.2
Move the agent and its dependencies
Export a managed
Agent or Graph, or wrap the existing native target with Agent.advanced(...). Add only agent-owned packages to pyproject.toml.3
Test through the harness
Upgrade an older Harnest project
1
Preview the migration
2
Apply the reviewed migration
3
Test the upgraded project
.harnest/upgrade-backups/. It stops when a change needs your judgment.
Switch between ADK and LangGraph
For a managed agent, changespec.framework.name in config.yaml: