-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Summary
Add a --dry-run flag that displays the agent's execution plan (goals, sub-tasks, tool calls) without actually running them. Useful for debugging, cost estimation, and understanding agent behavior.
What needs to happen
- Add
--dry-runflag to agent execution commands - Intercept the agent's planning phase and print the planned steps
- Show which tools/APIs would be called and with what inputs
- Suppress actual LLM calls and tool executions in dry-run mode
- Format output clearly (e.g., numbered steps, indented sub-tasks)
Example usage
opensymbolicai run my_agent.py --dry-run
# Output:
# Plan:
# 1. Search web for "quarterly earnings AAPL"
# 2. Extract key financial metrics
# 3. Summarize findings
# Tools: web_search, text_extractionAcceptance criteria
--dry-runflag prints the agent plan to stdout- No LLM calls or tool executions occur in dry-run mode
- Output is human-readable and useful for debugging
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers