Skip to main content
connic

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

Triggers

Finished runs of the environment's agents and connic events such as a failed build or a budget alert, checked about every minute

Agent tools127

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.
run-finished.json
{
  "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
  }
}
budget-alert.json
{
  "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.
agents/run-reviewer.yaml
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_run

Permissions 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.
Project Settings · Connections
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.

connectors/connic.yaml
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]
create: connectors/connic.yaml (connic)

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.

Failed run
connic trigger
run-reviewer
Rerun of the run
payload.json
{
  "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
  }
}
result-payload.json
{
  "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.

Low judge score
connic trigger
quality-check
Summary in Slack
payload.json
{
  "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"
  }
}
connector-payload.json
{
  "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.

Budget alert
connic trigger
cost-watch
Email to the team lead
payload.json
{
  "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"]
  }
}
connector-payload.json
{
  "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.

Mondays at 08:00
Cron Scheduler
cost-report
Cost report
payload.json
{
  "trigger": "cron",
  "schedule": "0 8 * * 1",
  "triggered_at": "2026-11-30T08:00:00+00:00",
  "prompt": "Report last week's token costs per agent."
}
result-payload.json
{
  "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

No. The tools act as the connector's connic Connection, with the permissions you ticked when you created it. There is no key to store in a Variable or to rotate. The docs explain how to pick the permissions.

No. Triggers and tools cover only the connector's own environment. A call for another environment fails as if that environment didn't exist.

Runs that connic connectors of the same environment started never count as finished runs, so an agent doesn't start on its own runs. Every other run counts, including reruns started with the connic tools and runs that an agent starts with trigger_agent. An agent that reruns runs or hands work to other agents should check trigger_source in the payload or how often it already tried.

connic checks about every minute, so the agent starts 30 to 90 seconds after the run ended. Runs that ended before the connector existed start nothing.