Expand description
Pawan Agent - The core agent that handles tool-calling loops
This module provides the main PawanAgent which:
- Manages conversation history
- Coordinates tool calling with the LLM via pluggable backends
- Provides streaming responses
- Supports multiple LLM backends (NVIDIA API, Ollama, OpenAI)
Modules§
- backend
- LLM Backend trait and implementations
- git_
session - Git-backed session store — conversation trees with fork/lineage/leaves
- session
- Session persistence — save and resume conversations
Structs§
- Agent
Response - Result from a complete agent execution
- LLMResponse
- LLM response from a generation request
- Message
- A message in the conversation
- Pawan
Agent - The main Pawan agent The main Pawan agent
- Token
Usage - Token usage from an LLM response
- Tool
Call Record - Record of a tool call execution
- Tool
Call Request - A request to call a tool
- Tool
Result Message - Result from a tool execution
Enums§
- Role
- Role of a message sender
Type Aliases§
- Token
Callback - Callback for receiving streaming tokens
- Tool
Callback - Callback for receiving tool call updates
- Tool
Start Callback - Callback for tool call start notifications