@declaragent/plugin-agent-rpc
v4.0.3
Published
Agent-to-agent RPC runtime for Declaragent (v1.1). Provides the RequestAgent tool, agent-inbox source adapter, and an in-memory transport for tests.
Readme
@declaragent/plugin-agent-rpc
Agent-to-agent RPC runtime for Declaragent (v1.1).
This package provides:
RequestAgent— the producer-side tool that calls capabilities on peer agents.agent-inbox— anEventSourceAdapterthat subscribes to request / response topics and dispatches by envelopekind.createRespondHook— builds thectx.respondhelper wired into skills triggered by an RPC request.createMemoryTransport/createMemoryBus— an in-memoryRpcTransportfor tests and single-process multi-agent demos.
The wire format, peer registry, and capabilities config are all declared in
@declaragent/core/rpc; this package never touches the wire format directly
except via those types.
See docs/AGENT_RPC_PLAN.md for the full spec.
