Deployment template for a deep agent built with create_deep_agent(...).
- A deployable deep agent graph at
src/deep_agent/graph.py. - Explicit workflow prompt (plan, delegate, critique, finalize).
- Two predefined sub-agents (
researcher,critic). - Human-in-the-loop interrupts on
executeandwrite_file. - A
uv-managed local workflow with a smallMakefilewrapper and starter tests.
- An API key for your model provider (Anthropic by default)
- A LangSmith account (Plus plan or higher) to deploy
- Sync the project and configure environment:
uv sync
cp .env.example .env- Start the dev server:
uv run langgraph dev- Deploy to LangSmith:
uv run langgraph deploySee the CLI docs for deploy options.
To set up CI instead, push this repo to GitHub and configure your deployment through the LangSmith UI.
make test
make integration-tests
make lint
make formatIntegration tests are skipped unless ANTHROPIC_API_KEY is set.
- Deep Agents overview: https://docs.langchain.com/oss/python/deepagents/overview
- Deep Agents quickstart: https://docs.langchain.com/oss/python/deepagents/quickstart
- LangSmith CLI: https://docs.langchain.com/langsmith/cli