Expand description
Core agent functionality for Bamboo.
Re-exports§
pub use agent::events::AgentEvent;pub use agent::hooks::AgentHook;pub use agent::types::parse_prompt_external_memory_sections;pub use agent::types::PromptSnapshotExternalMemoryParts;pub use agent::AgentError;pub use tools::classify_tool;pub use tools::execute_tool_call;pub use tools::finalize_tool_calls;pub use tools::handle_tool_result_with_agentic_support;pub use tools::normalize_tool_name;pub use tools::parse_tool_args;pub use tools::parse_tool_args_best_effort;pub use tools::try_parse_agentic_result;pub use tools::AgenticContext;pub use tools::AgenticTool;pub use tools::AgenticToolResult;pub use tools::RegistryError;pub use tools::SmartCodeReviewTool;pub use tools::Tool;pub use tools::ToolCallAccumulator;pub use tools::ToolError;pub use tools::ToolExecutionContext;pub use tools::ToolExecutor;pub use tools::ToolGoal;pub use tools::ToolHandlingOutcome;pub use tools::ToolMutability;pub use tools::ToolRegistry;
Modules§
- agent
- Agent core types and error handling
- composition
- Tool Composition DSL for building complex tool workflows
- storage
- Persistent storage port definitions.
- tools
- Tool execution system for Bamboo agents.
- workspace_
state
Structs§
- Compression
Event - Persistent context-compression event.
- Conversation
Summary - Summary of conversation context for budget management.
- Function
Call - Function
Schema - Function metadata for tool schema definition.
- Image
OcrLine - OCR line with bounding box (pixels relative to the image).
- Image
OcrResult - OCR results for a single image part.
- Image
UrlRef - Message
- A single message in a conversation.
- Pending
Question - A pending question waiting for user response.
- Prompt
Memory Observability - Prompt-memory observability summary captured during external-memory injection.
- Prompt
Snapshot - Structured snapshot of the effective system prompt and its major sections.
- Session
- A complete conversation session with state management.
- Token
Budget Usage - Token budget usage information sent to frontend.
- Token
Usage - Re-exported shared token usage type.
- Tool
Call - Tool
Result - Represents the result of executing a tool.
- Tool
Schema - Schema definition for a tool.
Enums§
- Compression
Trigger Type - Trigger type for a compression event.
- Message
Content - Message content in a conversation.
- Message
Part - Message
Phase - Assistant message phase used by Responses-style models.
- Role
- Message role in a conversation.
- Session
Kind - Session type marker for spawn-session support.
Traits§
- Storage
- Trait for session storage backends.