Skip to main content

Module kernel

Module kernel 

Source
Expand description

Kernel tools — AgentTool wrappers for KernelHandle API domains.

These tools expose kernel system calls to the agent’s tool-calling loop. Each tool wraps a specific domain API and uses an action-based parameter schema to dispatch operations.

§Tools

  • SpaceTool — Space management (list, get, create, archive, merge, restore)
  • [AgentTool] — Agent lifecycle (list, kill, budget)
  • PersonaTool — Persona management (list, set_active, get)
  • CronTool — Cron scheduling (list, add, remove, trigger)
  • SecurityTool — Security audit (verify_chain, query_audit, audit_count)
  • BudgetTool — Budget management (check, set, reserve, reset)
  • ResourceTool — Resource monitoring (snapshot, history, overloaded)

Re-exports§

pub use agent_tool::AgentTool as KernelAgentTool;
pub use budget_tool::BudgetTool;
pub use cron_tool::CronTool;
pub use persona_tool::PersonaTool;
pub use resource_tool::ResourceTool;
pub use security_tool::SecurityTool;
pub use space_tool::SpaceTool;

Modules§

agent_tool
Agent tool — wraps AgentApi behind the AgentTool interface.
budget_tool
Budget tool — wraps AgentApi budget methods behind the AgentTool interface.
cron_tool
Cron tool — wraps InfraApi cron methods behind the AgentTool interface.
persona_tool
Persona tool — wraps PersonaApi behind the AgentTool interface.
resource_tool
Resource tool — wraps InfraApi resource methods behind the AgentTool interface.
security_tool
Security tool — wraps SecurityApi audit methods behind the AgentTool interface.
space_tool
Space tool — wraps SpaceApi behind the AgentTool interface.

Functions§

register_all_kernel_tools
Register all kernel domain tools into the registry.