Skip to main content

Protocol Stack

ISH supports agent-to-tool, agent-to-agent, editor, and frontend protocols through shared Rust operations and language-native adapters across its six SDKs. Callback integration and transport APIs remain specific to each host language.

from ish.integrations.protocols import (
A2ARouter,
ACPServer,
AGUIEvent,
AGUIStream,
MCPClient,
MCPServer,
RemoteMCPClient,
load_mcp_tools,
)

Protocol Comparison Matrix​

ProtocolPrimary TransportDirectionTypical Use Case
MCPstdio, HTTP / SSEAgent to/from Tool ServerDiscovering tools, reading resources, retrieving prompts
A2AIn-process router / message logAgent to/from Peer AgentCorrelated message passing and delegation
ACPstdio JSON-RPCIDE to/from agent hostDriving agent sessions from editors
AG-UIServer-Sent Events (SSE)Agent to Frontend UIStreaming structured status, token, and tool events

Selecting a Protocol​

  • Use MCP to expose tools, resources, and prompts cleanly to agents—or consume third-party MCP servers.
  • Use A2A for structured, size-bounded message routing with correlation IDs between local or coordinated peer agents.
  • Use ACP when integrating an agent loop with an IDE or editor extension.
  • Use AG-UI when pushing live execution steps, thoughts, tokens, or tool calls to a reactive web interface.

Protocol entry points by language​

All six SDKs expose entry points for MCP, A2A, ACP, and AG-UI. The adapters use shared Rust validation and protocol state where those operations are exposed; their callback integration and native transports are language-specific and do not imply identical APIs or behavior across every path:

Detailed Protocol Guides​