Skip to main content

Crate poe2_agent

Crate poe2_agent 

Source
Expand description

AI agent for Path of Exile 2 build analysis.

Provides an LLM-backed query agent that answers questions about Path of Building exports, plus supporting modules for PoB integration, wiki data, and game knowledge.

Re-exports§

pub use agent::AgentEvent;
pub use agent::ChatMessage;
pub use agent::ToolAgent;
pub use llm::ChatGptClient;
pub use llm::LlmError;
pub use pob_parser::PobParseError;
pub use pob_parser::PobParser;
pub use pob_parser::PobQuery;
pub use query_agent::QueryAgent;

Modules§

agent
ReAct-style tool-calling agent for build analysis.
knowledge
Pre-summarized PoE2 game knowledge for LLM context.
llm
OpenAI chat completion API – blocking and streaming, with tool calling.
pob
Path of Building 2 headless integration.
pob_parser
Thread-safe PoB XML parser.
query_agent
Single-turn query agent: takes parsed build data + user question, streams an LLM response with the build as context.
wiki
PoE2 Wiki scraper and cache.