CLI Reference
The smoltrace-eval command runs agent evaluations. This page lists every flag. For narrative usage, see Running Evaluations.
Tip
Dataset names (results, traces, metrics, leaderboard) are automatically generated from your HuggingFace username and a timestamp. You never need to specify repository names.
Core Arguments
| Flag |
Description |
Default |
Choices |
--model |
Model ID (e.g. mistral/mistral-small-latest, openai/gpt-4) |
Required |
- |
--provider |
Model provider |
litellm |
litellm, inference, transformers, ollama |
--hf-token |
HuggingFace token (or use HF_TOKEN env var) |
From env |
- |
--hf-inference-provider |
HF inference provider (for --provider=inference) |
None |
- |
--agent-type |
Agent type to evaluate |
both |
tool, code, both |
| Flag |
Description |
Default |
--enable-tools |
Enable optional smolagents tools (space-separated). See Agent Tools. |
None |
--search-provider |
Search provider for GoogleSearchTool (serper, brave, duckduckgo) |
duckduckgo |
--working-directory |
Working directory for file tools (restricts file operations) |
Current dir |
Task Configuration
| Flag |
Description |
Default |
Choices |
--difficulty |
Filter tasks by difficulty |
All tasks |
easy, medium, hard |
--dataset-name |
HF dataset for tasks |
kshitijthakkar/smoltrace-tasks |
Any HF dataset |
--split |
Dataset split to use |
train |
- |
Observability & Output
| Flag |
Description |
Default |
Choices |
--enable-otel |
Enable OpenTelemetry tracing/metrics |
False |
- |
--run-id |
Unique run identifier (UUID format) |
Auto-generated |
Any string |
--output-format |
Output destination |
hub |
hub, json, opensearch |
--output-dir |
Directory for JSON output (when --output-format=json) |
./smoltrace_results |
- |
--private |
Make HuggingFace datasets private |
False |
- |
--disable-gpu-metrics |
Opt out of GPU metrics collection for local models |
GPU metrics on for local models |
- |
OpenSearch Configuration
Used with --output-format=opensearch. See Output Formats.
| Flag |
Description |
Default |
--opensearch-url |
Full OpenSearch URL (overrides host/port/ssl) |
None |
--opensearch-host |
OpenSearch host |
localhost |
--opensearch-port |
OpenSearch port |
9200 |
--opensearch-user |
Username for basic auth |
None |
--opensearch-password |
Password for basic auth (also reads OPENSEARCH_PASSWORD) |
None |
--opensearch-ssl |
Enable SSL/TLS |
False |
--opensearch-no-verify-certs |
Skip SSL cert verification (dev/testing only) |
False |
--opensearch-index-prefix |
Prefix for index names |
smoltrace |
Advanced Configuration
| Flag |
Description |
Default |
--prompt-yml |
Path to a custom prompt configuration YAML |
None |
--mcp-server-url |
MCP server URL for MCP tools |
None |
--additional-imports |
Additional Python modules for CodeAgent (space-separated) |
None |
--model-args |
Model generation parameters as key=value pairs (e.g. temperature=0.7 top_p=0.9 max_tokens=2048 seed=42) |
None |
--parallel-workers |
Number of parallel workers (recommended: 8 for API models) |
1 |
--quiet |
Reduce output verbosity |
False |
--debug |
Enable debug output |
False |
Other Commands
| Command |
Purpose |
Reference |
smoltrace-cleanup |
Manage/delete old evaluation datasets |
Dataset Management |
smoltrace-copy-datasets |
Copy standard benchmark/tasks datasets to your account |
Dataset Management |