connic
Let agents look after your other agents. Failed runs, low judge scores and budget alerts start them, and their tools cover the runs, costs and deployments of their environment.
- Capabilities
- Starts agentsAgent tools
- Set up in
- Dashboard or connectors/*.yaml
- Documentation
- connic docs
- Publisher
- By connic
What the connic connector does
Finished runs of the environment's agents and connic events such as a failed build or a budget alert, checked about every minute
- list_agentsRead
- get_agentRead
- get_aggregate_statsRead
- get_runs_historyRead
- list_runsRead
- get_runRead
- list_logsRead
- cancel_runWrite
- rerun_runWrite
- bulk_cancel_runsWrite
- bulk_rerun_runsWrite
- list_sessionsRead
- delete_sessionWrite
- bulk_delete_sessionsWrite
- list_deploymentsRead
- get_deploymentRead
- list_deployment_testsRead
- list_deployment_runsRead
- create_deploymentWrite
- deploy_anywayWrite
- cancel_deploymentWrite
- activate_deploymentWrite
- redeploy_deploymentWrite
- list_judgesRead
- get_judgeRead
- get_judge_statsRead
- list_judge_runsRead
- create_judgeWrite
- update_judgeWrite
- delete_judgeWrite
- trigger_judgeWrite
- trigger_judge_bulkWrite
- list_ab_testsRead
- get_ab_testRead
- list_ab_test_variantsRead
- preview_ab_test_planRead
- get_ab_test_comparisonRead
- create_ab_testWrite
- update_ab_testWrite
- delete_ab_testWrite
- list_retrieval_namespacesRead
- list_retrieval_entriesRead
- get_retrieval_entryRead
- get_retrieval_statsRead
- upload_retrieval_textWrite
- upload_retrieval_fileWrite
- delete_retrieval_entryWrite
- delete_retrieval_namespaceWrite
- list_retrieval_sourcesRead
- get_retrieval_sourceRead
- create_retrieval_sourceWrite
- update_retrieval_sourceWrite
- list_retrieval_source_runsRead
- sync_retrieval_sourceWrite
- delete_retrieval_sourceWrite
- get_database_statsRead
- list_database_collectionsRead
- get_database_collection_schemaRead
- list_database_search_fieldsRead
- add_database_search_fieldWrite
- remove_database_search_fieldWrite
- find_database_documentsRead
- count_database_documentsRead
- update_database_documentsWrite
- delete_database_documentsWrite
- delete_database_collectionWrite
- import_database_documentsWrite
- get_file_statsRead
- list_filesRead
- get_fileRead
- create_file_download_linkRead
- list_file_share_linksRead
- revoke_file_share_linkWrite
- create_file_uploadWrite
- write_fileWrite
- update_fileWrite
- delete_fileWrite
- list_connectorsRead
- get_connectorRead
- list_connector_linksRead
- list_connector_runsRead
- get_connector_runRead
- get_connector_statsRead
- list_connector_logsRead
- create_connectorWrite
- update_connectorWrite
- delete_connectorWrite
- link_connectorWrite
- update_connector_linkWrite
- unlink_connectorWrite
- list_appsRead
- get_appRead
- update_appWrite
- get_app_statsRead
- list_app_instancesRead
- delete_app_instanceWrite
- list_app_embed_linksRead
- create_app_embed_linkWrite
- revoke_app_embed_linkWrite
Failed runs and alerts start an agent
connic checks the environment about every minute and starts the agent for each finished run and each event the trigger picks.
- Pick the runs
- Choose failed, completed or cancelled runs, of every agent or only the ones you name.
- Project events too
- Failed builds, finished deployments, failing agents, low judge scores, budget alerts and limits, cost anomalies and model retirements, whether or not anyone subscribed to them.
- Own runs don't count
- Runs that connic connectors of the environment started are left out, so a reviewer never reviews itself. Reruns and runs started with trigger_agent do count.
{
"event": "run_finished",
"run": {
"id": "7c0e6a52-3f4b-4d1e-9a0c-2b8f5d6e1a93",
"agent_name": "support-agent",
"status": "failed",
"error": "Tool lookup_order failed: the order service answered 503",
"trigger_source": "connector",
"started_at": "2026-12-04T09:14:02.118204+00:00",
"ended_at": "2026-12-04T09:14:19.506731+00:00",
"duration_ms": 17388
}
}{
"event": "budget_alert_triggered",
"title": "Token Cost Alert: Support monthly",
"message": "Token cost reached €412.80 of €400.00 (monthly)",
"data": {
"alert_name": "Support monthly",
"threshold": "€400.00",
"current_spend": "€412.80",
"currency": "EUR",
"period": "monthly",
"scope": "environment",
"environment_ids": ["3d8f2c41-6b7a-4e59-8c1d-0f9e2a7b5c64"]
}
}Tools for the whole environment
Reference the tools an agent needs, from runs and logs to judges, deployments, files and retrieval. Each call works on the connector's environment.
- Read and change
- Read runs, costs and judge scores, or rerun runs, cancel queued ones and switch back to an earlier deployment.
- Approval for writes
- Put a tool such as rerun_run under approval, and a person confirms each call before it runs. Leave Decide approvals off that Connection, or its agents can approve the calls themselves.
- From code as well
- Custom tools and middleware call the same tools when your code decides, with the same parameters the model gets.
version: "1.0"
name: run-reviewer
model: connic/gpt-5.6-terra
system_prompt: |
Find out why the run failed. Rerun it once
if the cause was temporary.
tools:
- connector:connic.get_run
- connector:connic.list_runs
- connector:connic.list_logs
- connector:connic.rerun_run
approval:
tools:
- connector:connic.rerun_runPermissions you pick
A connic Connection is the identity the tools act as. You create it in the dashboard and tick what its tools may do.
- Only what you have
- The list offers only permissions you hold yourself. A tool that needs another permission fails with a clear error.
- Named in the audit log
- Every change a tool makes appears in the audit log under the Connection's name, and each call shows up in the connector's runs.
- One per purpose
- Anyone who may create connectors or deploy can use the Connection, so keep one that only reads apart from one that may rerun.
New connic connection
Connection name *
Quality checks
Permissions *
[-] All permissions you have
4 of 53 selected
[ ] A/B tests 0/4 ▸
[ ] Agents 0/1 ▸
[ ] Approvals 0/3 ▸
...
[x] Logs 1/1 ▸
...
[-] Runs 2/5 ▾
[x] View runs
[x] Rerun agents
[ ] Cancel runs
[ ] Record external costs on runs
[ ] Manage the run queue
[ ] Sessions 0/2 ▸
[x] Stats 1/1 ▸Keep the connector in code
Declare it in connectors/ and name the connic Connection. Each trigger names an agent and the events that start it.
type: connic
connection: Quality checks
triggers:
- agent: run-reviewer
events: [run_finished]
statuses: [failed]
watched_agents: [support-agent, order-agent]
- agent: cost-watch
events: [budget_alert_triggered, cost_anomaly_detected]Where the connic connector fits
Pick a setup to see what starts the agent, what it receives and what comes out.
A failed run starts the agent, which reads the trace and reruns the run when the cause was temporary.
{
"event": "run_finished",
"run": {
"id": "7c0e6a52-3f4b-4d1e-9a0c-2b8f5d6e1a93",
"agent_name": "support-agent",
"status": "failed",
"error": "Tool lookup_order failed: the order service answered 503",
"trigger_source": "connector",
"started_at": "2026-12-04T09:14:02.118204+00:00",
"ended_at": "2026-12-04T09:14:19.506731+00:00",
"duration_ms": 17388
}
}{
"run_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_name": "run-reviewer",
"status": "completed",
"output": "The order service answered 503 for 20 seconds. Temporary outage, so I reran the run.",
"error": null,
"started_at": "2026-12-04T09:15:31Z",
"ended_at": "2026-12-04T09:15:44Z",
"token_usage": {
"input_tokens": 3812,
"output_tokens": 164,
"thinking_tokens": 0,
"cached_input_tokens": 0,
"total_tokens": 3976
}
}A judge's average falls below its threshold, and the agent reads the low-scored runs and tells the team what they have in common.
{
"event": "judge_score_low",
"title": "Low Judge Score: Answer quality",
"message": "Average dropped to 62% (threshold: 70%)",
"data": {
"judge_name": "Answer quality",
"judge_id": "b51d0c7e-2a94-4f3b-8e61-9c0d7a2f4e18",
"environment_id": "3d8f2c41-6b7a-4e59-8c1d-0f9e2a7b5c64",
"agent_name": "support-agent",
"avg_score": "6.2",
"avg_max_score": "10.0",
"score_percent": "62",
"threshold_percent": "70",
"total_evaluated": "48"
}
}{
"text": "support-agent fell to 62% on Answer quality. 9 of the 14 low answers quote the old return policy.",
"channel_id": "C01234567"
}A budget alert starts the agent, which ranks the agents by cost and emails the team lead where the money went.
{
"event": "budget_alert_triggered",
"title": "Token Cost Alert: Support monthly",
"message": "Token cost reached €412.80 of €400.00 (monthly)",
"data": {
"alert_name": "Support monthly",
"threshold": "€400.00",
"current_spend": "€412.80",
"currency": "EUR",
"period": "monthly",
"scope": "environment",
"environment_ids": ["3d8f2c41-6b7a-4e59-8c1d-0f9e2a7b5c64"]
}
}{
"to": "team-lead@example.com",
"subject": "Support monthly is at €412.80 of €400.00",
"body": "support-agent used 71% of the cost, mostly on long order lookups."
}A schedule starts the agent every Monday, and it reads last week's costs per agent with the connic tools.
{
"trigger": "cron",
"schedule": "0 8 * * 1",
"triggered_at": "2026-11-30T08:00:00+00:00",
"prompt": "Report last week's token costs per agent."
}{
"run_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_name": "cost-report",
"status": "completed",
"output": "Last week: €286.40. support-agent €174.10, order-agent €82.90, triage €29.40.",
"error": null,
"started_at": "2026-11-30T08:00:03Z",
"ended_at": "2026-11-30T08:00:21Z",
"token_usage": {
"input_tokens": 3812,
"output_tokens": 164,
"thinking_tokens": 0,
"cached_input_tokens": 0,
"total_tokens": 3976
}
}connic FAQ
More connectors
Apache Kafka
Consume topics to trigger agents and produce results back to topics under the source message key.
Starts agentsReceives resultsAgent toolsAWS SQS
Drain SQS queues with an agent. Each message is deleted once its runs complete, and failed ones return after the visibility timeout.
Starts agentsReceives resultsAgent toolsGmail
Run an agent on new email in a Google Workspace mailbox and reply in the same thread. connic signs in with your own service account. Attachments included.
Starts agentsReceives resultsAgent toolsGoogle Sheets
Run an agent on every new row in a spreadsheet and append its results as rows. connic signs in with your own service account.
Starts agentsReceives resultsAgent toolsSlack
Connect a Slack bot to connic. Trigger agents from mentions or send agent outputs to Slack channels.
Starts agentsReceives resultsAgent toolsWhatsApp
Answer WhatsApp messages to your business number with an agent, files included. Reply within 24 hours or reach people with approved templates.
Starts agentsReceives resultsAgent tools