Skip to main content
connic
Back to BlogAnnouncement

Introducing connic connectors 2.0: Tools and Triggers for AI Agents

Connectors 2.0 gives each Slack bot, mailbox or repository one connector that starts AI agents, sends their results and gives them tools to read and act there.

December 5, 20268 min readAuthor: Emil Milow

Today we are shipping connectors 2.0. A connector now stands for one thing in another system, such as a Slack bot, a mailbox, a GitHub repository or a phone number. It can start agents when something happens there, send their results back, and give LLM agents tools to read and change data in it.

One connector per target

Until now, every connector had a mode. An inbound connector started agents, an outbound connector sent their results, and a sync connector answered the request that started a run. A Slack bot that answered mentions and posted a daily digest needed two connectors, each with its own settings. And agents could send through a connector, but not read from it.

Now there is one connector per target, such as a bot, a mailbox, a repository, a topic, a phone number or an endpoint. The connector says which agents it starts and where their results go, and its tools are open to every LLM agent in the environment. The Slack bot from above is one file:

connectors/support-slack.yaml
type: slack
connection: acme-slack       # the Slack app, set up in the dashboard
triggers:
  - incident-helper          # every mention of the bot starts a run
results:
  - incident-helper          # the answer goes to the mention's thread
  - agent: daily-digest
    channel_id: C01234567    # digests go to one channel

The file name is the connector's key, here support-slack. Agents and code reference the connector by it. In the dashboard, connic suggests a key from the name when you create a connector. A Connection, the saved account or app a connector acts with, is still shared across connectors: one GitHub Connection can serve a connector per repository.

Triggers and results live on the connector

A trigger is an agent plus the events that start it. A result is an agent plus where its answer goes. Each has its own settings, so two agents on the same Jira connector can react to different issues:

connectors/support-jira.yaml
type: jira
connection: acme-jira
triggers:
  - agent: support-processor
    events:
      - jira:issue_created
      - comment_created
    jql: project = SUP
  - agent: bug-checker
    events:
      - jira:issue_created
    jql: project = SUP AND issuetype = Bug
results:
  - agent: support-processor
    project_key: SUP         # runs from elsewhere open an issue in SUP

Every new issue and comment in SUP starts the triage agent, and new bugs also start the bug checker. The triage agent's answer becomes a comment on the issue its run started from, and project_key only matters for runs that didn't come from Jira, which open a new issue there. A result can also send only for runs that certain connectors started, such as a digest that only scheduled runs post.

The dashboard shows the same picture. Each agent's Connector Flow lists its triggers on the left, its results on the right, and the connectors whose tools it uses below. Pause a whole connector, or pause one trigger to stop a single agent while the connector keeps serving the others. On a phone number, one voice agent answers incoming calls, and other voice agents can place calls from it.

connic Connector Flow of the support-processor agent with Support Jira and Support Slack as triggers on the left, Support Jira as its result on the right, and the tools of both connectors below the agent
A support agent's Connector Flow: Jira and Slack start it, its answer goes back to Jira, and it uses tools of both connectors.

Connector tools work like any other tool

Connectors such as Slack, Jira, GitHub, Gmail, Shopify, Stripe and more give agents tools that read and change data in the connected system. An agent can search Jira issues, read a Slack thread, look up a Shopify order or create a draft in Gmail. Sending is a tool too, such as posting a Slack message or sending an email.

An agent lists connector tools in tools as connector:<key>.<tool>, and a * picks up several tools at once. Nothing needs to be linked. Any connector in the agent's environment works, whether or not it starts that agent.

agents/support-processor.yaml
tools:
  - connector:support-jira.get_issue
  - connector:support-jira.search_*        # all search_ tools
  - connector:support-jira.find_assignable_users
  - connector:support-jira.assign_issue: input.event == 'jira:issue_created'
  - connector:support-slack.post_message
discoverable_tools:
  - connector:support-jira.get_changelog   # loaded when the agent searches
approval:
  tools:
    - connector:support-jira.assign_issue  # a person approves each call

The controls you use for other tools apply here as well. A condition offers a tool only in some runs, here the assignment only for new issues. approval.tools makes a person approve a call before it reaches Jira. Discoverable tools stay out of the model's context until the agent searches for them, and tool hooks check or change arguments and results.

Every tool is marked as read or write, so you can see which ones change data and should get an approval. A deploy checks every reference: an unknown key, an unknown tool or a wildcard that matches nothing fails it.

Call any connector from code

Middleware and custom tools call connector tools with connector("key"). Every tool of every connector in the environment is available, whether or not the agent lists it. This middleware posts the agent's answer to the incident channel when it mentions an outage:

middleware/support-processor.py
from connic.tools import connector


async def after(response: str, context: dict) -> str:
    if "outage" in response.lower():
        await connector("support-slack").post_message(
            channel_id="C0INCIDENTS", text=response
        )
    return response

Calls from code skip tool hooks and approvals, because your code decides when they run.

A retry never sends twice

When a tool call is interrupted on its way, connic tries it again. A read that didn't finish runs again. A write, such as a message, a comment or a refund, is carried out at most once, so a retry never posts the same message twice. If a system doesn't answer in time and a write may have gone through, the agent is told to check the system before it tries again.

Every call shows up in the connector's run history with its tool, arguments and result or error, whether the model or your code made it.

Test connector tools before they go live

Tests never reach the connected system. Every connector tool call in a test returns a mock, whether the model or code makes it. Define mock_connector_<key>__<tool> in a mocks module for an exact answer, or mock_connector for all connector tools at once:

tests/mocks/support_mocks.py
def mock_connector_support_jira__get_issue(tool_name, params, context):
    return {"key": params["issue_key"], "status": "Open"}


def mock_connector_support_jira__find_assignable_users(tool_name, params, context):
    return {"users": [{"account_id": "712020:ada", "name": "Ada"}]}


def mock_connector(tool_name, params, context):
    return {"ok": True}

Test cases name connector tools by their reference. This one checks that the agent reads the issue and assigns it to the user that the mock returns, after an approval that the test grants:

tests/support-processor.yaml
version: "1.0"

defaults:
  mocks: support_mocks

tests:
  - name: assigns_a_new_issue
    payload: '{"event": "jira:issue_created", "issue_key": "SUP-42"}'
    approval_decisions:
      - tool: connector:support-jira.assign_issue
        decision: approve
    expected_result: status == "completed"
    expected_tool_calls:
      - connector:support-jira.get_issue: params.issue_key == "SUP-42"
      - connector:support-jira.assign_issue: params.account_id == "712020:ada"

connic test --coverage counts connector tools like the agent's other tools and lists the ones no test covers yet. When the tests run as the deploy gate, a failing case keeps the deployment from going live.

See every tool before you build

In the marketplace and in the docs, every connector with agent tools lists them on its page. The GitHub connector groups them by what they work on, such as issues, pull requests, reviews and code. Each tool is marked as read or write and links to its description in the docs.

What you need to do

Connectors you created in the dashboard moved to the new model on their own. Agents that a connector started became its triggers, agents whose results it sent became its results, and voice agents that called out from a number became its calls. Where one environment had several dashboard connectors for the same target, such as the inbound and the outbound connector of one Slack bot, connic merged them into one connector where that changed nothing about how they work. The connectors merged into it are retired, and their runs and logs are kept.

Connector files with mode: keep deploying until April 30, 2027, and so do outbound connectors that agents use as a tool and send_connector calls in code. The Connector Flow marks such sends as deprecated and names the tool to list instead. connic lint shows the new shape of each old file, and connic lint --fix rewrites every file whose new shape deploys the same way, keeps its comments and leaves a note for the rest. Where the connector type has one send tool, agents that used the connector as a tool get that send tool in their tools.

  1. Install the connic plugin. Skip this if your coding agent has it already. Paste this into Claude Code, Codex or Cursor:

    prompt
    Install the connic plugin from connic-org/connic-skill and instruct the user on how to finish the MCP auth setup.
  2. Move your project over. Paste this into a new session in your connic project. Your coding agent rewrites the old files, replaces the old calls, proposes tools for your agents and deploys once you agree:

    prompt
    Move my connic project to connectors 2.0. Update the composer SDK to the latest version, run `connic lint --fix` and show me which connector and agent files it changed and which notes it left. Replace every `send_connector` call in middleware and tools with `connector("<key>").<tool>()`. Then look at my agents and propose which connector tools they should get as `connector:<key>.<tool>`, with approvals for tools that change data, and add tests with mocks for them. Once we agree, validate the project, deploy it to my connic project and tell me what to check in each agent's Connector Flow.
  1. Update the composer SDK. The new connector files need the latest version:

    pip install --upgrade connic-composer-sdk
  2. Rewrite old connector files. Run connic lint --fix and read the notes it prints for anything it couldn't change by itself.

  3. Replace the old sends. In middleware and tools, call connector("<key>").<tool>() instead of send_connector. For sends that the Connector Flow marks as deprecated, add the tool it names to the agent's tools.

  4. Deploy. The deployment log lists every connector the deploy creates, updates or retires.

Connect your agents

Add triggers, results and connector tools to your first agent.

Frequently Asked Questions

No. Dashboard connectors moved to the new model on their own. Connector files with mode:, outbound connectors that agents use as a tool and send_connector calls keep working until April 30, 2027. connic lint --fix rewrites the old files.

No. An LLM agent uses the tools of any connector in its environment by listing them as connector:<key>.<tool>, whether or not that connector starts the agent or sends its results.

Yes. Middleware and custom tools can call every tool of every connector in the environment with connector("key"). These calls skip tool hooks and approvals, because the code decides when they run.

No. A write tool is carried out at most once, even when connic retries an interrupted call. If a system doesn't answer in time and a write may have gone through, the agent is told to check the system before it tries again.

No. In tests, every connector tool call returns a mock: mock_connector_<key>__<tool> for one tool, mock_connector for all, or a default answer without either.

Connectors such as Slack, Jira, GitHub, Gmail, Shopify, Stripe and more. In the marketplace and the docs, every connector with agent tools lists them on its page.