One stable interface. Many connectors behind it.
Every agent calls the same 47 canonical capabilities via ctx.capability.*. The tenant picks which connector implements each one — Shopify or BigCommerce, Zendesk or Freshdesk, Postgres or Snowflake. Your agent code doesn't change.
Catalogue version 1
Purpose-first
A capability names a business purpose (refunds.issue, tickets.list_new), not a vendor API. Agents code against the purpose; the kernel routes to the tenant's connector.
Swappable implementers
A tenant on Shopify today and NetSuite tomorrow runs the same agents. Switching connectors is a binding change, not a code change.
Metered + policy-gated
Every capability call flows through the kernel — logged, cost-attributed, and gated by the agent's manifest permissions and the tenant's autonomy policy.
Grouped by category, keyed by purpose.
Click any row for the full arg + response schema, example call, and metadata.
| Capability | Effect | Fanout | Description |
|---|---|---|---|
| chat · 2 | |||
| chat.list_new | read | yes | Poll a chat channel like an inbox: new messages from people (bot and app posts are skipped), oldest first, shaped like canonical tickets. Fans out across bindings like tickets.list_new; chat.reply goes to a single binding. |
| chat.reply | write | no | Answer a chat message in its thread where the connector can, otherwise as a new message quoting the original (threaded=false). |
| cloud · 3 | |||
| cloud.costs.summary | read | yes | Actual spend for a period, grouped by service (one entry per connection). At most one year. |
| cloud.health.events | read | yes | Provider incidents and planned maintenance that affect this account. Fans out across bindings. |
| cloud.resources.list | read | yes | Read-only inventory of cloud resources. Fans out across bindings. |
| code · 4 | |||
| code.get_file | read | no | Text content of one file. Large files are cut at the connection's max_file_bytes (truncated=true). |
| code.search | read | yes | Find files whose content matches a query. Fans out across bindings. |
| pull_requests.list | read | yes | Pull requests in one repository, most recently updated first. Fans out across bindings. |
| repos.list | read | yes | Repositories the connection can reach (limited by the token and the connection's allowed list). Fans out across bindings. |
| customers · 4 | |||
| customers.lookup_by_email | read | no | Look up a customer by email across the ecommerce platform. Returns identity + loyalty tier + LTV + account flags for the inbox customer context panel. |
| customers.recent_orders | read | no | Last N orders for a customer, newest first. Thin wrapper over the ecommerce connector's order list; implementers can delegate to orders.lookup_by_email when customerId maps 1:1 to email. |
| customers.recent_returns | read | no | Last N returns (RMAs) for a customer, newest first, shaped as list items for the reviewer context panel. |
| customers.recent_tickets | read | no | Last N tickets for a customer (closed or open), newest first. Powers the "previous tickets" rail in the customer context panel. |
| email · 1 | |||
| email.send | write | no | Bare-email send via SMTP/SendGrid/SES. Use tickets.reply when the source is a ticketing system; use email.send only when no ticket context exists. |
| evidence · 5 | |||
| db.jobs.history | read | no | Recent SQL Agent job runs and step results from msdb (newest first, at most 200). Needs SQLAgentReaderRole in msdb; not available on Azure SQL Database. Internal evidence: for understanding only, never quoted. |
| db.object.definition | read | no | Returns the T-SQL text of a procedure, view or function (OBJECT_DEFINITION), capped at 200 KB, subject to the connection's object_allowlist. Never table data. Internal evidence: for understanding only, never quoted. |
| db.objects.list | read | no | Finds user objects by name in a SQL Server database (sys.objects), at most 200, filtered by the connection's object_allowlist. Metadata only. Internal evidence: for understanding only, never quoted. |
| db.proc.stats | read | no | Execution statistics of a stored procedure from the plan cache (sys.dm_exec_procedure_stats), summed over its cached plans. Every field is null when the procedure is not in the plan cache (not run since the last restart or cache flush): that means no statistics, not zero executions. Internal evidence: for understanding only, never quoted. |
| logs.query | read | no | Runs a read-only KQL query against an Azure Monitor Log Analytics workspace (including workspace-based Application Insights tables). Bounded: max_rows, 256 KB, timeout. Internal evidence: for understanding only, never quoted. |
| files · 2 | |||
| files.get | read | no | Fetch one file by ID: metadata, link, and its text when the file is text-like (txt, md, html, csv, json, xml). Other formats return metadata and a link only. |
| files.search | read | yes | Find files (and folders) by name or content in a connected file store such as OneDrive or SharePoint. Returns metadata and a link; use files.get to read a file. |
| inbox · 3 | |||
| inbox.update_thread_status | internal | no | Transition a thread's status. Called by agents in their reaction code (e.g. CS agent moves to waiting_reviewer when it posts a draft, to closed when the ticket is resolved in the source system). |
| inbox.upsert_message | internal | no | Insert or update a message in a thread. The (thread_id, external_message_id) UNIQUE constraint makes duplicate inserts impossible at the DB layer — safe to call from any insertion path (sync poll, webhook delivery, agent-authored response from tickets.reply). |
| inbox.upsert_thread | internal | no | Create a new thread or update an existing one keyed by (tenant, channel_type, external_ref). Platform-shipped write primitive used by ThreadMirrorService internally and callable by agents directly for non-mirrored writes. |
| issues · 4 | |||
| issues.comment | write | no | Add a comment to an issue or work item. Needs write permission on the token. Goes to a single binding. |
| issues.create | write | no | Open a new issue (GitHub) or work item (Azure DevOps). Needs write permission on the token. Goes to a single binding. |
| issues.get | read | no | One issue or work item, with its comments. Goes to a single binding. |
| issues.list | read | yes | Issues (GitHub) or work items (Azure DevOps), most recently updated first. Pull requests are not included. Fans out across bindings. |
| knowledge · 2 | |||
| knowledge.get | read | no | Fetch the full body of a single KB article by ID. |
| knowledge.search | read | yes | Retrieve KB articles ranked by relevance to a natural-language query. |
| macros · 1 | |||
| macros.list | read | no | List the tenant's macros / canned responses from the ticket system for one-way mirror into Konstera (ADR-022 §Macros). Zendesk: GET /api/v2/macros.json. Freshdesk: GET /api/v2/admin/canned_responses. Intercom: GET /articles (closest analogue). Called on first connection sync and on manual re-sync. |
| notifications · 1 | |||
| notifications.send | write | no | Post a one-way notification to the connection's notification channel (e.g. tell reviewers a draft is waiting for approval). |
| orders · 4 | |||
| orders.list_recent | read | yes | List recent orders, optionally scoped to a single customer and/or a time window. |
| orders.lookup_by_email | read | yes | Fetch recent orders for a customer identified by email address. Retail primary lookup. |
| orders.lookup_by_id | read | no | Fetch a single order by its ID. Canonical shape returned regardless of source system. |
| orders.lookup_by_phone | read | yes | Fetch a customer's recent orders by mobile number, for stores that identify customers by mobile. Weaker identity proof than the sender's email: agents should flag these matches for human confirmation. |
| refunds · 1 | |||
| refunds.create | write | no | Issue a refund against an existing order. Not all connectors implement writes; check available() before calling. |
| sla · 1 | |||
| sla.compute | internal | no | Compute the current SLA state for a thread using the tenant's SLA policies. Platform-shipped generic computation — any inbox-producing agent benefits. v1 uses a tenant-wide default policy; per-channel + per-tier policies land in a follow-up. |
| thread_mirror · 3 | |||
| thread_mirror.register | internal | no | Register a sync job so the platform's ThreadMirrorService (ADR-024) mirrors an external threaded conversation into the reviewer inbox. Called by agents at install time (or dynamically — e.g. CS agent registers one per ticket started). Returns a mirrorJobId for subsequent management calls. |
| thread_mirror.status | internal | no | Query the current state of a sync job. Used by the portal to render "last synced 23s ago" indicators and by agents to decide whether a draft is based on fresh enough state. |
| thread_mirror.unregister | internal | no | Stop syncing a registered thread mirror job. Idempotent — unregistering an unknown job returns ok=true. Pre-existing messages in the thread are preserved; only the sync loop stops. |
| tickets · 6 | |||
| tickets.get_by_id | read | no | Fetch full ticket including the message thread. Each thread entry carries its externalMessageId (dedup key) and isPrivate (internal note flag). |
| tickets.list_new | read | yes | Poll for tickets received since a given timestamp. Used by scheduled CS agents. |
| tickets.list_unresolved | read | no | Every ticket not yet resolved or closed in the source system, oldest created first, for a one-off re-fetch of tickets the regular poll skipped. Unassigned only unless includeAssigned. Each item carries awaitingReply (no agent response yet, or the customer wrote after it) and total: how many tickets matched before the limit was applied. Does not move any poll position. |
| tickets.reply | write | no | Post a reply on a ticket in-system. visibility=public creates a customer-facing comment; visibility=internal creates a private note mirrored into messages.is_internal. Response includes the externalMessageId for immediate dedup backfill. |
| tickets.update_fields | write | no | Write triage fields on a ticket: priority, type and tags only (allowlisted by the connector). Used by the CS agent in triage apply mode (ADR-030). Freshdesk: PUT /api/v2/tickets/{id}; priority low/medium/high/urgent = 1-4; the type must be one of the account's ticket types. |
| tickets.update_status | write | no | Mark a ticket as resolved/closed/pending after a reply is sent. |
Call any capability from your agent.
One SDK method. Any catalogue entry. The kernel routes the call to the tenant's connector binding — your code stays portable.