Skip to main content
Deep Agents is a multi-step agent runtime with deep reasoning and planning capabilities. The Docker Compose profile starts Deep Agents alongside the LiteLLM Agent Platform and registers local-deepagents automatically. This page covers the LangChain Deep Agents Compose runtime. For the Pydantic Deep Agents bridge template, see Pydantic Deep Agents.

Prerequisites

  • Docker Desktop installed and running
  • LiteLLM Agent Platform repo cloned

1. Start the stack

This starts:
  • The LiteLLM Agent Platform web/API service
  • A Postgres database
  • The Deep Agents runtime harness
  • Registers local-deepagents in the UI automatically
Open http://localhost:4000 and sign in with your master key (sk-local by default).

2. Add model provider credentials

In Settings β†’ Credentials, add a model provider API key. Deep Agents routes all model calls through your LiteLLM gateway.

3. Create an agent

In the UI, click New Agent, choose local-deepagents as the runtime, select a model, and set a system prompt describing the agent’s role. Or via the API:

4. Run your agent

Select your agent in the UI and start a session. Or via the API:

Stop the stack

Run alongside other runtimes

CRON schedules

Deep Agents works well with scheduled runs. In the UI, open your agent, go to Schedules, and add a CRON expression:
This runs the agent every weekday at 9 AM and creates a new session automatically.