Expand description
Pawan Agent — core tool-calling loop and session management.
Houses PawanAgent, all LLM backends, session persistence,
and the event stream. Wire types live in types.
Re-exports§
pub use irc::IrcHub;pub use irc::IrcMessage;pub use irc::IrcRelay;pub use events::AgentEvent;pub use events::FinishReason;pub use events::SessionEndEvent;pub use events::ThinkingDeltaEvent;pub use events::TokenUsageInfo;pub use events::ToolApprovalEvent;pub use events::ToolCompleteEvent;pub use events::ToolStartEvent;pub use events::TurnEndEvent;pub use events::TurnStartEvent;pub use types::*;
Modules§
- backend
- LLM Backend trait and implementations
- definitions
- Agent definition loading and parsing (YAML frontmatter + Markdown body).
- events
- Typed event stream for agent UI rendering.
- git_
session - Git-backed session store — conversation trees with fork/lineage/leaves
- irc
- IRC-style message relay between named agents in one process.
- pool
- session
- Agent session and conversation history management.
- session_
store - Session persistence — save and resume conversations
- types
- Core wire types for the agent protocol.
Structs§
- Pawan
Agent - The main Pawan agent — handles conversation, tool calling, and self-healing.
- Tool
Definition - Tool definition — re-exported from
thulp_coreso pawan and the rest of the dirmacs stack share a single source of truth for tool metadata.