Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/guides/agent-mode-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,13 @@ verdict = resp.json()

**Right approach:**
```python
# Delegate to a sandbox container running claude --print
# Delegate to a sandbox container using the Agent SDK
from egg_agent import build_agent_command

spawner.spawn_agent_container(
pipeline_id=f"{pipeline_id}-inspect",
agent_role=AgentRole.INSPECTOR,
command=["claude", "--print", "--max-turns", "1", ...],
command=build_agent_command(prompt=..., max_turns=1),
)
```

Expand Down
Loading