Find the run behind any answer.
See why it happened and what it cost.
Every run records each model request, tool call and guardrail with its inputs, outputs and token cost. Look up a customer's conversation and see the step that went wrong.
Run records your other teams can use.
The same records answer a pricing question, page the on-call engineer and explain a failure.
A SaaS team writes the account ID into every run. Their admin tool pulls AI cost per account from connic and flags accounts whose AI cost eats into their plan price.
On enterprise, every failed run goes straight to the team's alerting tool. The alert carries the run ID and the error, so on-call opens the right trace.
A developer pastes a run ID into an AI client connected to connic. It reads the run's trace and explains which step failed and what to change.
See every step behind an answer.
A trace splits a run into steps: the incoming message, each model request, every tool call and every guardrail. Select a step to see what went in and what came out.
Here the certificate tool failed because the new laptop wasn't enrolled yet, but the agent still told the employee it worked.
Know what each team costs, and cap any agent.
Group token cost by a value from the run, such as the department that asked. Set a monthly limit on an agent, and it starts no new runs once the limit is reached.
- Alerts and hard limits
- An alert notifies your team. A limit also holds waiting runs until you raise it or the period resets.
- Expensive outliers
- Turn on an alert for runs that cost more than three times the agent's 30-day average, or a multiple you set.
Tag runs with your own IDs, then search by them.
Middleware copies the ticket ID and department from the incoming message into the run context. Agent Runs filters by them, and Token Usage groups cost by them.
- Filter expressions
- Search runs by context, input or output, such as output.priority == 'high'. The sparkle button turns a plain-language request into a filter.
- Logs without setup
- Printed output, stderr and log calls from tools, middleware, hooks and guardrails land in the run's logs, tagged with their source.
- Run it again
- Run Again starts the agent with the same input. Compare the new trace with the old one span by span.
import logging
log = logging.getLogger(__name__)
async def before(content: dict, context: dict) -> dict:
ticket = context.get("payload", {})
context["ticket_id"] = ticket.get("ticket_id")
context["department"] = ticket.get("department", "unknown")
log.info("Ticket %s", context["ticket_id"])
return content