👎Deprecated since 0.2.1:
renamed to brainwires-agent-network
Modules§
- agent_
manager - Agent lifecycle management. AgentManager trait and supporting types for agent lifecycle abstraction
- agent_
tools - Pre-built MCP tools for agent operations. Agent Management Tools for MCP
- auth
- Authentication for agent network connections.
- client
- Client for connecting to a remote agent network server.
- connection
- WebSocket/HTTP connection types.
- discovery
- Peer discovery — how agents find each other on the network.
- error
- Error types for the agent network crate.
- handler
- MCP request handler trait.
- identity
- Agent identity, capability advertisement, and credentials.
- ipc
- IPC (inter-process communication) socket protocol.
- mcp_
transport - MCP server transport (stdio).
- middleware
- Middleware pipeline (auth, logging, rate-limiting, tool filtering).
- network
- Core network types: message envelopes, events, and errors.
- registry
- MCP tool registry.
- remote
- Remote bridge and realtime protocol.
- routing
- Message routing — direct, broadcast, and content-based routing.
- server
- MCP server lifecycle.
- traits
- Common agent network traits. Trait abstractions for decoupling bridge crate from CLI-specific types
- transport
- Networking transport layer — pluggable transports for agent communication.
Structs§
- Agent
Card - Capability advertisement for an agent.
- Agent
Config - Configuration for spawning an agent.
- Agent
Identity - An agent’s identity on the network.
- Agent
Info - Information about a running or completed agent
- Agent
Network Client - MCP relay client that communicates with a subprocess over stdio.
- Agent
Result - Result from a completed agent
- Agent
Tool Registry - Registry of agent management tools
- Auth
Middleware - Token-based authentication middleware.
- Client
Info - Information about a connected MCP client.
- IpcTransport
- Unix-socket IPC transport for agent-to-agent messaging.
- Logging
Middleware - Middleware that logs all requests and responses.
- McpServer
- MCP server that processes JSON-RPC requests via a transport.
- McpTool
Def - Definition of an MCP tool.
- McpTool
Registry - Registry of MCP tools with their handlers.
- Message
Envelope - A message envelope that wraps any payload with routing metadata.
- Middleware
Chain - Ordered chain of middleware layers.
- Network
Manager - The user-facing API for the networking stack.
- Network
Manager Builder - Builder for
NetworkManager. - Rate
Limit Middleware - Token-bucket rate limiting middleware.
- Remote
Transport - Remote transport for cloud-mediated agent communication.
- Request
Context - Context for an MCP request.
- Spawn
Config - Configuration for spawning a new agent
- Stdio
Server Transport - Stdio-based server transport (stdin/stdout).
- Tool
Filter Middleware - Middleware that filters tool calls by allow/deny lists.
Enums§
- Agent
Network Client Error - Errors from the relay client.
- Agent
Network Error - Errors that can occur in the agent network layer.
- Connection
State - The connection state of a transport.
- Message
Target - The target of a message.
- Middleware
Result - Result of middleware processing.
- Network
Error - Errors that can occur within the networking stack.
- Network
Event - Events emitted by the networking stack.
- Payload
- The payload of a message.
- Transport
Address - A network address that a transport can connect to.
- Transport
Type - A transport type identifier for events.
Traits§
- Agent
Manager - Trait for agent lifecycle management
- McpHandler
- Trait for handling MCP protocol requests.
- Middleware
- Trait for request/response middleware.
- Server
Transport - Trait for server-side MCP transport.
- Tool
Handler - Trait for tool execution handlers.
- Transport
- The core transport trait.
Type Aliases§
- Protocol
Id - A protocol identifier (e.g.
"mcp","a2a","ipc").