mirror of
https://github.com/claraverse-space/ClaraVerse.git
synced 2026-12-04 00:20:52 +00:00
A local ClaraVerse instance is fully drivable from the terminal already (REST + the /ws/chat, /ws/workflow websockets) — these scripts are thin clients over that surface plus a couple of benchmark harnesses, useful for testing changes against a slow/local model without a browser: - agent_chat.py: chat client (multi-turn, model selection, tool control, raw JSONL event dump). Auto-registers a throwaway local test account on first use. - agent_workflow.py / agent_crew.py: same idea for the Workflow and Crew surfaces (clone-a-template, execute; project -> hire -> card -> review). - agent_smoke_test.py: fast pass/fail gate (health -> auth -> models -> real chat round-trip) for "did this change break chat." - agent_bench_chat.py: 12 varied complex prompts (reasoning, code, structured output, tool-use, a trick question, a safety-boundary check, multi-turn recall) graded on both correctness and latency against a configurable per-prompt target. - agent_bench_memory.py: extraction-judgment and recall-precision checks — does it store the important stuff and skip the chit-chat, does a targeted question surface the right memory out of several competing ones.