Add AI to your product.
With one API call.
Give your users suggested replies, product advice or researched leads inside your app. Your backend makes one call, connic runs the agent, and it sees only the data of the customer who asked.
Put AI where your users already work.
Four products, each with one agent behind it. The product decides when to call it, and users see the result in its own screens.
A shopper asks in the chat. The agent searches the catalog, checks stock and answers, and the conversation stays open for follow-up questions.
A sign-up starts the agent in the background. It reads the company's website and writes a profile with sources into the CRM for the sales rep.
Each transaction from the bank feed gets a ledger account. Possible duplicates and private spending are flagged, so the bookkeeper checks only those.
A seller clicks Generate. The agent writes a title and description that follow the category rules, and the seller edits them before publishing.
Skip the plumbing behind each AI feature.
Built in-house, every AI feature needs workers, data separation, parsing, logging and a release process. On connic, your team writes the prompt, the tools and the tests.
Workers and retries
Built in-house: Workers and a queue that call the model and retry when it fails
On connic: connic runs every call, retries failed model requests and can switch to a fallback model
Know what each AI feature costs and how well it answers.
Every call is recorded with its duration, cost and the account it served, so these numbers need no extra tracking.
Cost per customer account
Cost is grouped by the account ID your backend sends, on the usage page or in a dashboard chart.
Answer quality
A judge scores answers against your own rubric and tracks the average over time.
Response time
Each agent's page shows how long its runs take, so you know how long your users wait.
Failed calls
Dashboards show success rate and failures per agent, and every failed call opens its trace.
Keep each customer's data out of other customers' answers.
Your backend names the account in each request. The agent's tools search only that account's data, and the model can't point them at another one.
- Risky replies wait for a person
- Drafts the agent marks as risky are held back by your product, and actions that change data, such as a refund, can wait for an approval.
- Every change goes through staging
- Staging has its own URL, secret and settings, and your test cases run before each release.
- connic/* model calls stay in the EU
- connic/* models run in the EU, and managed inference isn't used to train models. Your own provider keys work too.
Account scoping is code you can review.
Your backend POSTs account_id and ticket_id to a sync webhook and gets the draft back as JSON in the response. These two tools are the only way the agent reads data.
import os
import httpx
from connic.tools import retrieval_query
API_URL = os.environ["HELPDESK_API_URL"]
TOKEN = os.environ["HELPDESK_API_TOKEN"]
async def get_ticket(ticket_id: str, context: dict) -> dict:
"""Return the ticket thread with the customer's latest message.
Args:
ticket_id: Ticket ID from the request, such as T-1093
"""
account_id = context["account_id"]
async with httpx.AsyncClient() as client:
resp = await client.get(
f"{API_URL}/accounts/{account_id}/tickets/{ticket_id}",
headers={"Authorization": f"Bearer {TOKEN}"},
)
resp.raise_for_status()
return resp.json()
async def search_articles(question: str, context: dict) -> list:
"""Search this account's help center for articles to cite.
Args:
question: What the customer is asking, in a few words
"""
namespace = f"articles.{context['account_id']}"
result = await retrieval_query(question, namespace=namespace, max_results=5)
return result["results"]TOKEN = os.environ["HELPDESK_API_TOKEN"]Your API
The token comes from an environment variable, so Staging calls your staging API with its own token.
account_id = context["account_id"]context
Middleware copies
account_idfrom your backend's request into the run context. The parameter isn't in the schema the model sees, so the model can't pass another account.namespace = f"articles.{context['account_id']}"Retrieval namespace
Each account's articles are indexed under their own namespace, and this search reads only that one.