Skip to content

Commit 882be4b

Browse files
committed
refactor: update CLI options to use 'mode' instead of 'agent', enhance documentation for execution modes and examples
1 parent d121083 commit 882be4b

4 files changed

Lines changed: 29 additions & 29 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ uvx agentic-data-scientist "your query here"
3232
#### CLI
3333

3434
```bash
35-
# Simple query
35+
# Simple query (uses orchestrated mode by default)
3636
agentic-data-scientist "Explain quantum computing"
3737

3838
# With file upload
3939
agentic-data-scientist "Analyze this data" --files data.csv
4040

41-
# Use Claude Code agent
42-
agentic-data-scientist "Write a Python script" --agent claude_code
41+
# Simple mode (direct Claude Code without orchestration)
42+
agentic-data-scientist "Write a Python script" --mode simple
4343

44-
# Stream responses
44+
# Stream responses in real-time
4545
agentic-data-scientist "Complex analysis" --stream
4646
```
4747

docs/api_reference.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -271,29 +271,31 @@ agentic-data-scientist [OPTIONS] QUERY
271271

272272
### Options
273273

274-
- **--agent, -a**: Agent type (`adk` or `claude_code`), default: `adk`
274+
- **--mode**: Execution mode, default: `orchestrated`
275+
- `orchestrated`: Full multi-agent system with planning and verification
276+
- `simple`: Direct Claude Code execution
275277
- **--files, -f**: Files to upload (can be specified multiple times)
276278
- **--stream**: Enable streaming output
277-
- **--model, -m**: Specific model to use
279+
- **--verbose, -v**: Enable verbose logging
278280
- **--help**: Show help message
279281

280282
### Examples
281283

282284
```bash
283-
# Simple query
285+
# Simple query (orchestrated mode by default)
284286
agentic-data-scientist "What is Python?"
285287

286288
# With file upload
287289
agentic-data-scientist "Analyze this data" --files data.csv
288290

289-
# Use Claude Code
290-
agentic-data-scientist "Write a script" --agent claude_code
291+
# Use simple mode (direct Claude Code)
292+
agentic-data-scientist "Write a script" --mode simple
291293

292294
# Stream output
293295
agentic-data-scientist "Complex task" --stream
294296

295-
# Custom model
296-
agentic-data-scientist "Query" --model claude-sonnet-4-5-latest
297+
# Verbose logging
298+
agentic-data-scientist "Debug this" --verbose
297299
```
298300

299301
## Environment Variables

docs/getting_started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ CLAUDE_SCIENTIFIC_SKILLS_URL=https://mcp.k-dense.ai/claude-scientific-skills/mcp
5151
### 2. Simple CLI Usage
5252

5353
```bash
54-
# Ask a simple question
54+
# Ask a simple question (uses orchestrated mode by default)
5555
agentic-data-scientist "What is quantum computing?"
5656

5757
# Analyze a file
5858
agentic-data-scientist "Analyze this data" --files data.csv
5959

60-
# Use Claude Code agent for coding tasks
61-
agentic-data-scientist "Write a Python script to parse CSV" --agent claude_code
60+
# Use simple mode (direct Claude Code without orchestration)
61+
agentic-data-scientist "Write a Python script to parse CSV" --mode simple
6262

6363
# Stream responses for real-time output
6464
agentic-data-scientist "Complex analysis task" --stream

src/agentic_data_scientist/cli/main.py

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,31 @@
2626
@click.command()
2727
@click.argument('query', required=False)
2828
@click.option('--files', '-f', multiple=True, help='Files to include in the query')
29-
@click.option('--agent', default='adk', type=click.Choice(['adk', 'claude_code']), help='Agent type to use')
30-
@click.option('--model', help='Model to use for the agent')
29+
@click.option('--mode', default='orchestrated', type=click.Choice(['orchestrated', 'simple']),
30+
help='Execution mode: "orchestrated" (default, with planning) or "simple" (direct Claude Code)')
3131
@click.option('--stream/--no-stream', default=False, help='Stream responses in real-time')
32-
@click.option('--mcp-servers', multiple=True, help='MCP servers to enable (filesystem, git, fetch, context7)')
3332
@click.option('--verbose', '-v', is_flag=True, help='Enable verbose logging')
3433
def main(
3534
query: Optional[str],
3635
files: tuple,
37-
agent: str,
38-
model: Optional[str],
36+
mode: str,
3937
stream: bool,
40-
mcp_servers: tuple,
4138
verbose: bool,
4239
):
4340
"""
44-
Run Agentic Data Scientist agent with a query.
41+
Run Agentic Data Scientist with a query.
42+
43+
MODE:
44+
orchestrated (default): Full multi-agent system with planning, verification, and Claude Code implementation
45+
simple: Direct Claude Code execution without orchestration
4546
4647
Examples:
4748
4849
agentic-data-scientist "What is machine learning?"
4950
5051
agentic-data-scientist "Analyze this data" --files data.csv
5152
52-
agentic-data-scientist "Complex task" --agent claude_code --stream
53-
54-
agentic-data-scientist "Use git tools" --mcp-servers git --mcp-servers filesystem
53+
agentic-data-scientist "Write a Python script" --mode simple --stream
5554
"""
5655
# Set logging level
5756
if verbose:
@@ -74,13 +73,12 @@ def main(
7473
else:
7574
click.echo(f"Warning: File not found: {f}", err=True)
7675

76+
# Map mode to agent_type
77+
agent_type = "adk" if mode == "orchestrated" else "claude_code"
78+
7779
# Create core instance
7880
try:
79-
core = DataScientist(
80-
agent_type=agent,
81-
model=model,
82-
mcp_servers=list(mcp_servers) if mcp_servers else None,
83-
)
81+
core = DataScientist(agent_type=agent_type)
8482
except Exception as e:
8583
click.echo(f"Error initializing Agentic Data Scientist: {e}", err=True)
8684
sys.exit(1)

0 commit comments

Comments
 (0)