Package-level declarations
Types
Link copied to clipboard
class MockAgentBackend(tools: List<AgentTool> = BuiltinTools, approver: ToolApprover = ToolApprover.AlwaysApprove, chunkDelayMs: Long = 18) : ChatBackend
An offline agent that exercises every part type — reasoning, a real tool call (executed through tools), sources, and a Markdown answer with a table, code and a Mermaid diagram — so the full UI can be demoed without a network. Naming a tool in the prompt (e.g. notes__show_notes_board) calls it; a JSON object after the name is its arguments (notes__book_table {"restaurant": "Sora"}).