@agentium/mcp or @agentium/a2a workspace packages.
MCP tools
UseMCPToolProvider for SDK v1 compatibility or MCPV2ToolProvider for the split client SDK. Select tools, configure the Agent, and close the provider when its owner finishes. A bound tool list is a snapshot; rebuild it explicitly after server discovery changes.
The MCP v2 guide includes a complete example with credential audience and cleanup. For legacy connections, see MCP examples.
Remote agents
UseA2ARemoteAgent, A2ARemoteTeam, and A2ARemoteWorkflow for the older protocol. Use A2A 1.0 for its explicit authenticated task ownership. Server task retention is process-local unless you select the durable bridge.
HTTP event destination
This example configures a webhook but does not run the Agent. Before using it, replace the destination with an application-owned endpoint and select events whose content you intend to send.slackWebhook and emailWebhook are destination factories, not classes. Configure them through the same webhooks.destinations array. See webhook configuration. Event destinations can transmit payloads; metadata-only observability capture does not redact an independently configured webhook.
HTTP and Socket.IO
Use Express or Socket.IO. Every text router/gateway selects local or authenticated mode explicitly. Hosted authorization checks the resource’s owner as well as the caller’s scopes. New session IDs must be atomically bound before execution.Administration
@agentium/admin exports ConfigStore, EntityFactory, ToolkitManager, createAdminRouter, and createAdminGateway. The ordinary core Registry is a live runtime registry, not a persistent admin configuration store.
Use the Admin Express guide, Admin Socket.IO guide, and configuration storage guide for their distinct lifecycles. Provider credentials, entity ownership, and application authorization remain host responsibilities.