Skip to main content

Module core

Module core 

Source
Expand description

Core runtime components (advanced API).

This module contains the core execution machinery and framework internals. Most users won’t need to interact with these components directly - they’re used internally by the runtime to orchestrate agent execution.

⚠️ Advanced API: These components are considered internal framework machinery. The API surface may change more frequently than user-facing services. Advanced users can customize these components if needed.

§Modules

  • [executor] - Task execution logic (native + runtime feature only)
  • negotiator - Message negotiation and routing
  • status_mapper - A2A protocol status conversion utilities
  • [error_mapper] - Maps internal errors to protocol-friendly payloads

Re-exports§

pub use event_bus::TaskEventBus;
pub use event_bus::TaskEventReceiver;
pub use negotiator::DefaultNegotiator;
pub use negotiator::NegotiationDecision;
pub use negotiator::Negotiator;

Modules§

event_bus
Per-task fan-out for task events.
negotiator
Negotiator for handling agent-user interactions before task creation.
status_mapper
Status mapping utilities for converting skill results to A2A protocol types.