Expand description
robit-agent: Agent runtime for the Robit framework.
Provides the event-driven Agent loop, tool system, context management, and the Frontend trait for pluggable UI frontends.
Re-exports§
pub use agent::Agent;pub use bootstrap::bootstrap;pub use bootstrap::create_tools_from_config;pub use bootstrap::filter_skills_by_config;pub use bootstrap::load_all_skills;pub use bootstrap::log_skill_errors;pub use bootstrap::BootstrapResult;pub use error::AgentError;pub use event::AgentEvent;pub use event::FrontendMessage;pub use event::MediaAttachment;pub use event::SessionId;pub use media::download_and_encode_base64;pub use media::download_media;pub use media::MediaError;pub use frontend::create_channels;pub use frontend::AgentChannels;pub use frontend::Frontend;pub use frontend::FrontendChannels;pub use skill::Skill;pub use skill::SkillFrontmatter;pub use skill::SkillLoadError;pub use skill::SkillRegistry;pub use tool::load_skill::LoadSkillTool;pub use tool::Tool;pub use tool::ToolCallInfo;pub use tool::ToolContext;pub use tool::ToolRegistry;pub use tool::ToolResult;
Modules§
- agent
- Agent — the event-driven loop that orchestrates LLM calls and tool execution.
- bootstrap
- Bootstrap module — common setup for loading skills and creating tools.
- context
- Context management — output truncation and history window management.
- datetime
- Date and time formatting helpers.
- error
- Error types for the robit-agent crate.
- event
- Agent event and message types for Frontend <-> Agent communication.
- frontend
- Frontend trait — abstract interface between Agent and UI.
- media
- Media handling utilities: download, encode, etc.
- prompt
- System prompt builder — assembles the system prompt from multiple modules.
- skill
- Skill system — predefined prompt templates loaded from YAML frontmatter + Markdown body files.
- storage
- Session and message storage helpers.
- tool
- Tool system: trait, registry, result types, and context.