Deep agents

Overview

1 min read

ShipIt Agent's deep agent system provides autonomous, self-directing agent capabilities that go beyond LangChain. All deep agents support MCP servers, built-in tools, real-time streaming, and memory.

Deep agents also support the same skills system as plain Agent, including packaged skills, custom skill catalogs, explicit skills=[...], and prompt-based auto-matching. See the Skills guide.

AgentWhat it doesKey feature
GoalAgentDecomposes goals, tracks success criteriaAutonomous multi-step execution
ReflectiveAgentSelf-evaluates and revises outputQuality threshold with scores
SupervisorDelegates to workers, reviews qualityHierarchical multi-agent
AdaptiveAgentCreates new tools at runtimeDynamic tool creation
PersistentAgentCheckpoint and resumeLong-running tasks
ChannelTyped agent-to-agent messagingStructured communication
AgentBenchmarkSystematic agent testingPass/fail reports

All deep agents support:

python
# All tools (web search, code exec, etc.)
agent = GoalAgent.with_builtins(llm=llm, goal=goal)

# Real-time streaming with output content
for event in agent.stream():
    print(event.payload.get("output", ""))

# Memory across runs
agent = GoalAgent(llm=llm, memory=memory, goal=goal)

Runnable examples

  • python examples/11_deep_agents.py — all deep agents
  • Notebooks: 14, 16, 17, 18, 19, 20, 21