Skip to main content

Crate marona

Crate marona 

Source
Expand description

Marona Universal Model Gateway and MCP/Skill SDK.

Re-exports§

pub use mcp::failure;
pub use mcp::success;
pub use mcp::AgentApp;
pub use mcp::AgentAppBuilder;
pub use mcp::MCPServer;
pub use mcp::MCPServerBuilder;
pub use mcp::ToolBuilder;

Modules§

mcp

Structs§

A2AEvent
A2APeer
A2APolicy
A2ARequestContext
A2ARunOptions
A2AServer
A2ATask
A2ATaskStore
Durable references to remote tasks; peer credentials are never persisted.
Agent
AgentContext
AgentRun
Apps
AppsListOptions
AppsPage
B2A
B2AAcknowledgment
B2AClient
Native B2A client. All requests retain the Marona project’s authentication, timeout, custom HTTP client, headers and response-size limit.
B2ACodec
A bounded, non-retrying connection with a separate neural-service credential.
B2ACodecOptions
B2AConnection
B2ADecodeResult
B2AEncodedFeedback
B2AEvent
B2AEventPage
B2AExchange
B2AIntent
An arbitrary semantic intent produced by a decoder, with optional evidence.
B2AMessage
A stable envelope for idempotent retries. Incoming sequence starts at one.
B2AOpenSession
Session creation requires explicit consent and declared interface capabilities.
B2ARunner
B2ASession
B2ASessionEvent
ConnectOptions
CoordinatedSession
A single bounded event stream for every attached protocol. Routing never broadcasts input.
CreateRequest
D2A
D2ACapability
D2ADevice
HTTP/SSE device gateway. MCP command tools may share a separately configured SSE event URL.
D2ADeviceDescriptor
D2ADiscovery
D2AEvent
D2AMessage
One canonical envelope is used in both directions. Content is never an implicit command.
D2APolicy
D2ASession
DelegationOptions
FunctionTool
GatewayError
Handoff
Hub
Marona
MaronaBuilder
McpConnection
OutputValidationError
A schema mismatch with recoverable output, equivalent to Python’s MaronaOutputValidationError. Do not log raw_output.
ProtocolConnection
Handle to an attached protocol; its event stream remains owned by the coordinator.
RealtimeAudio
RealtimeAudioFormat
RealtimeEvent
RealtimeMedia
RealtimeRunner
RealtimeSession
Responses
RoutingOptions
RunEvent
RunOptions
Execution overrides are copied onto a private Agent snapshot for this call.
RunResult
Runner
RuntimeResponse
SkillDefinition
Skills
Step
ToolContext
VoiceOptions

Enums§

AgentTool
B2ACodecTransport
B2ADecodeStatus
D2ATransport
Error
Input
RuntimeMode
StepType
ToolChoice

Constants§

B2A_PROTOCOL_VERSION
D2A_PROTOCOL_VERSION

Traits§

AgentProtocol
B2AProvider
D2AProvider
Implement this interface for native vendor SDKs, MQTT, ROS 2 or any other device bus.
Guardrail
LifecycleHooks
ProtocolSession
ResponsesHooks
ToolExecutor

Functions§

b2a_agent_config
Convert an Agent into the subset that native B2A can execute remotely.
function_tool
handoff
step

Type Aliases§

B2AEventStream
D2AGateway
Compatibility spelling for applications using a device gateway.
D2AMessageStream
EventStream
Result