All docs

Agent capabilities

Directory: sdk/agent-capability

Source docs/en/site/sdk-agent-capability.md

Directory: sdk/agent-capability Who this is for: letting a workspace agent call your business capability from Messages (face recognition, drawing, query a business API, and similar) — do not register platform_plugins, no apps-desktop iframe entry.

Voice: the user triggers the capability in a workspace conversation; you deliver an HTTP/MCP capability service + a workspace skill; Cadau runs it with an internet capability pack and built-in http_request.

Vs plugin apps: [../platform-plugin/README.md](/docs/sdk-platform-plugin) (full web on the apps desktop + launch_token).

Vs host embed: [../host-embed/README.md](/docs/sdk-host-embed) (embed assistant on a host business page).

Vs appsdk: [../appsdk/README.md](/docs/sdk-appsdk) (lightweight app pack inside a workspace, not a third-party HTTP capability service).

Doc version: 0.1 (mechanism source of truth; dedicated code package and scaffolding come later)


1. When to use this

| | Agent capabilities (this directory) | Plugin apps | |--|------------------------|--------------| | Where the user enters | Talks to a work assistant in Messages | Apps desktop tile → iframe | | Cadau side | Internet capability pack + skills + http_request | platform_plugins[], launch_token, knowledge sync | | What you deliver | Capability HTTP service (isolated by workspace_id) + SKILL.md | Web UI + API + platform-plugin/go | | Register platform_plugins | No | Yes |

Do not fill platform_plugins for a conversation-only API capability (that would add a useless iframe / launch_token / app entry).


2. Connection steps (current implementation)

  1. Deploy a capability API (PostgreSQL/MySQL and similar; business tables isolated by workspace_id).
  2. A workspace admin turns on the internet request capability pack (http_integration).
  3. Write a workspace skill (SKILL.md): when to use it, how http_request calls your API, auth and params.
  4. Install the skill into the workspace skill center (agents in the workspace can recall by default; do not rewrite each agent’s “available skills” narrow list by default).

Cadau does not auto-register a built-in tool name for every business API. The model calls your service through skill notes + http_request.


3. Combined with plugin apps

A plugin app can have all of these at once:

CapabilityPath
UI and human operationsplatform-plugin
Agents understand plugin backgroundPlugin knowledge sync → workspace plugin-{module_id}/
Step-by-step plugin-domain work from MessagesPlugin repo skills/{slug}/skill center (platform-plugin §7.5)
Call an HTTP API outside the plugin from MessagesThis directory §2 (skills + internet capability pack)

4. Decision tree

Need a full web UI on the apps desktop?
  ├─ No → agent capabilities: capability service + skills + internet capability pack (this directory)
  └─ Yes → plugin apps: platform-plugin
        ├─ Also need background notes in conversation? → knowledge/ sync
        ├─ Also need a procedural how-to? → skills/ shipped → skill center
        └─ Also need to call an external HTTP API from Messages? → add this directory §2

5. Further reading (mechanism source of truth)

DocumentNotes
Workspace capability packsInternet capability pack, http_request
Skill composition specSKILL.md contract, trigger notes
platform-plugin §7.5Skills shipped with the plugin → skill center
sdk/README.mdFour-way SDK overview

6. Planned (not delivered)

The following are not yet a standalone code package or scaffolding. When you implement, still follow §2 and the mechanism docs:

  • [ ] Minimal capability-service template (HTTP + workspace_id auth example)
  • [ ] Skill-pack starter (SKILL.md + references/)
  • [ ] MCP adapter (if the product enables an MCP path)

Sibling SDKs: host-embed · platform-plugin · appsdk · this directory.