Testing Actors
CleverThis provides two ways to test an Actor before pointing production traffic at it: the built-in Chat interface for interactive testing, and the API for automated testing in CI pipelines.
Interactive testing with Chat
The Chat page in the sidebar is the fastest way to interactively test an Actor. It behaves like any chat client, but you can switch the model to any Actor endpoint deployed in your workspace.
- Navigate to Chat.
- Click the model selector (usually labeled with the current model name near the top of the chat panel).
- Find your Actor in the list — it will be shown under its namespace deployment slug.
- Type a message and press Enter.
The chat panel shows the full response including streaming output. For multi-step Actors, you can enable Debug mode (the bug icon in the toolbar) to see intermediate steps: which agents ran, what each returned, and how long each step took.
Trace view
Debug mode exposes the Actor execution trace for each message. The trace shows:
- Agent execution order
- The model ID each
llmagent called - Token usage per step
- Tool call inputs and outputs
- Routing decisions made by
routeragents - Total wall-clock time
Testing via the API
For automated testing, call your Actor endpoint exactly as you would any other model:
curl https://api.cleverthis.com/v1/chat/completions \
-H "Authorization: Bearer ct_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "your-namespace/your-actor", "messages": [{"role": "user", "content": "test input"}]}'
A structured test harness for Actor assertion testing (expected output patterns, latency budgets) is on the roadmap.