Service Matrix

Extending agent capabilities via the Tool Use API (Function Calling).

Service Types

The system supports a polymorphic service architecture stored in `installedServices`.

TYPE: INHOUSE

Native

Hardcoded into the Convex backend. Zero latency. Full context access.

  • M-Pesa Payments
  • Image Gen (Fal.ai)
  • Escalation
TYPE: PLUGIN

Developer API

External HTTP endpoints defined via Manifest. Hosted on your own servers.

  • CRM Sync
  • Custom Booking
  • Legacy Database
TYPE: COMPOSIO

SaaS Proxy

Managed integration via Composio platform. OAuth handling included.

  • Gmail / Calendar
  • Slack / Discord
  • GitHub / Linear

Security Model: Service Grants

Installing a service does not automatically enable it for agents. You must explicitly create a Service Grant binding.

Grant Lifecycle

1. INSTALL
Org Level
2. CONFIG
API Keys
3. GRANT
Instance Level

Building Plugins

Developers can extend the platform using the Plugin Standard.

{ "slug": "custom-crm", "version": "1.0.0", "baseUrl": "https://api.crm.com/v1", "tools": [ { "name": "create_lead", "description": "Add new lead to CRM", "inputSchema": { ... } } ] }