Compare commits

...

3 Commits

Author SHA1 Message Date
HAL9000 88157db8d4 docs: normalize actor run output example
CI / benchmark-publish (pull_request) Has been skipped
CI / helm (pull_request) Successful in 22s
CI / push-validation (pull_request) Successful in 29s
CI / typecheck (pull_request) Successful in 1m28s
CI / lint (pull_request) Successful in 3m21s
CI / build (pull_request) Successful in 3m16s
CI / e2e_tests (pull_request) Successful in 3m40s
CI / quality (pull_request) Successful in 3m54s
CI / security (pull_request) Successful in 4m23s
CI / integration_tests (pull_request) Successful in 7m6s
CI / unit_tests (pull_request) Successful in 11m29s
CI / docker (pull_request) Successful in 1m34s
CI / coverage (pull_request) Successful in 13m55s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-regression (pull_request) Successful in 56m53s
2026-04-12 16:32:32 +00:00
HAL9000 6e7512ffad docs: note spec gap in repl showcase
CI / lint (pull_request) Successful in 30s
CI / typecheck (pull_request) Successful in 54s
CI / push-validation (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 45s
CI / helm (pull_request) Successful in 25s
CI / build (pull_request) Successful in 41s
CI / security (pull_request) Successful in 1m36s
CI / integration_tests (pull_request) Successful in 4m58s
CI / e2e_tests (pull_request) Successful in 4m45s
CI / unit_tests (pull_request) Successful in 5m47s
CI / docker (pull_request) Successful in 11s
CI / coverage (pull_request) Successful in 11m11s
CI / status-check (pull_request) Successful in 3s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 58m8s
2026-04-10 22:23:55 +00:00
HAL9000 70659a4126 docs: update examples.json index with REPL and actor run entry
---
Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester
2026-04-10 22:23:55 +00:00
2 changed files with 33 additions and 3 deletions
@@ -13,6 +13,11 @@ from the command line:
This guide walks through both commands with real, verified output.
> **Specification note:** The current `docs/specification.md` synopsis has not yet
> been updated to include `agents repl` or the `--config` flag for
> `agents actor run`. This showcase reflects the live CLI behaviour so users can
> rely on the commands today while the formal spec catches up.
## Prerequisites
- CleverAgents installed (`pip install cleveragents` or from source with `uv sync`)
@@ -525,6 +530,9 @@ $ agents actor run local/demo-assistant "What is the capital of France?" \
Output written to /path/to/answer.txt
```
> **Note:** The CLI prints the full absolute path to the file. The placeholder
> `/path/to/answer.txt` represents the directory where you run the command.
**File contents (`answer.txt`):**
```
Paris is the capital of France.
@@ -845,7 +853,7 @@ the capital since the 10th century.
$ agents actor run local/demo-assistant "What is the capital of France?" \
--config my-assistant.yaml \
--output answer.txt
Output written to answer.txt
Output written to /path/to/answer.txt
$ agents actor run local/demo-assistant "Write a haiku about mountains" \
--config my-assistant.yaml \
+24 -2
View File
@@ -68,6 +68,28 @@
"educational_value": "high",
"generated_by": "uat-tester",
"generated_at": "2026-04-07"
},
{
"title": "REPL and Actor Run: Interactive AI Sessions from the Terminal",
"category": "cli-tools",
"path": "cli-tools/repl-and-actor-run.md",
"feature": "REPL and interactive session",
"commands": [
"agents repl",
"agents repl --no-history",
"agents repl --history-path /path/to/history",
"agents actor run --help",
"agents actor run openai/gpt-4o \"Say hello\"",
"agents actor run local/demo-assistant \"What is the capital of France?\" --config my-assistant.yaml",
"agents actor run local/demo-assistant \"Write a haiku\" --config my-assistant.yaml --temperature 0.9",
"agents actor run local/demo-assistant \"Hello\" --config my-assistant.yaml --output answer.txt",
"agents actor run local/demo-assistant \"Hello\" --config my-assistant.yaml --context my-session --context-dir /tmp/ctx",
"agents actor run local/my-actor \"Hello\" --config my-actor.yaml --skill local/file-ops"
],
"complexity": "intermediate",
"educational_value": "high",
"generated_by": "uat-tester",
"generated_at": "2026-04-07"
}
],
"categories": {
@@ -77,7 +99,7 @@
"keywords": ["CLI", "command-line", "terminal", "console", "tool"]
},
"api-clients": {
"name": "API Clients",
"name": "API Clients",
"description": "Command-line clients for web APIs",
"keywords": ["API", "REST", "client", "HTTP", "web", "request"]
},
@@ -92,5 +114,5 @@
"keywords": ["test", "pytest", "behave", "unittest", "automation", "QA"]
}
},
"last_updated": null
"last_updated": "2026-04-07"
}