Give Claude Code, Cursor, Antigravity, Codex, or Cherry Studio
real Path of Exile 2 (0.5.5) math — zero PoE1 hallucinations, zero POESESSID.
English · 简体中文 · Windows 保姆安装 · AI 助手接入与提示词 · 六大实战工作流
中文玩家请直接点这里: 简体中文完整说明 (README_ZH.md) | Windows 零编译保姆安装 | AI 客户端接入与提示词
> 不会命令行? 直接把仓库地址 https://github.com/lifan-builds/poe2brain 发给你的 AI 助手(Claude Code / Cursor / Codex / Antigravity),说一句 「帮我把 poe2brain 克隆下来并按 README_ZH.md 装好依赖、初始化 PoB2 并接入 MCP」 即可全自动完成!
> Inspiration & Shoutout: Inspired by 流放降临-某雷 andexilemoulei/pob4agentsfor pioneering agentic Path of Exile 1 workflows.poe2brainis an independent clean-room engine built from the ground up specifically for Path of Exile 2 (0.5.5) — if you play PoE1, go check outpob4agents!
Why poe2brain?
General-purpose LLMs constantly hallucinate Path of Exile 1 mechanics onto Path of Exile 2 — quoting 75% Block caps, Scouring Orbs, Crafting Bench mods, removed 0.4 Homogenising Omens, or fake PoB-warrior DPS inflated by unsustainable flasks and 100% Shock.
poe2brain replaces guesswork with a single typed Python 3.12+ engine exposing 48 MCP tools (poe2brain-mcp) and 1:1 JSON CLI commands (poe2 ... --json) backed by live headless PathOfBuilding-PoE2, an offline Patch 0.5.5 SQLite + FTS5 database, official trade2 pricing, exact crafting probability solvers, and a self-validating loot filter studio.
| Problem Players & AI Agents Hit | Generic LLM / Ad-Hoc Scripts | poe2brain (Patch 0.5.5) |
| :--- | :--- | :--- |
| PoE1 vs PoE2 Mechanics | Hallucinates 75% Block, Scouring/Alt, Bench, PoE1 bases | SQLite + FTS5 truth: 769 GGG popups, 54 0.5.5 anti-hallucination rules, 23 Ascendancies, EN + zh-CN/zh-TW |
| Fake PoB-Warrior Numbers | Trusts inflated 100% Shock / flask-up tooltip DPS | Headless LuaJIT PoB2 (GetMiscCalculator()) with automatic dewatering audits + top-5 upgrade bottlenecks |
| Finding Hidden Builds | Scrapes stale guides or top-1 meta mirror builds | Daily-synced PoB2-audited build index (GitHub Actions rolling release + SQLite cache): --preset sleeper ranks real DPS × move speed × rarity in <1s |
| Guessing Trade Upgrades by Eye | Hard to tell which unfinished weapon actually adds more real DPS | Queries live Trade2 using your PoB2 stat weights, simulates +20% Quality + Runes, and ranks by true DPS/EHP gain |
| Crafting Cost Guessing | Eyeballs odds or recommends removed 0.4 Omens / 0.5 Recombinators | Exact conditional mod-pool MDP + Monte Carlo (p50/p80/p95) with mid-craft collateral brick protection |
| Loot Filter Clutter & Crashes | Hand-written .filter rules crash PoE2 or miss ilvl 82 / Exceptional bases | 7-trap 0.5.5 compiler, NeverSink restyler & Filter Doctor: live economy tiers, PoB2 + Exceptional (21%+/3-socket) crafting bases, EN/ZH voice callouts |
| Account Safety & Windows Setup | Asks for POESESSID cookies or breaks compiling C/Lua on Windows | Zero POESESSID (Local PoB2 sync + official GGG OAuth 2.1 PKCE); zero C compiler needed on Windows |
Benchmark: How Accurate Is poe2brain?
To measure accuracy objectively, we built PoE2Bench-0.5.5 — a reproducible 22-question, 75-check offline benchmark spanning all 6 pillars (Patch 0.5.5 Mechanics, EN/zh-CN Roster & Bases, Exact Conditional Crafting Math, Atlas & Waystone Regex, Headless PoB2 Auditing/Swaps/HC/Runes/What-If, and Loot Filter Validation). Both arms ran the exact same frontier model (gpt-6.2-astra) with zero web search and identical decoded plain-text .xml PoB2, .filter, and clipboard fixture files:
| Metric (gpt-6.2-astra, same model, 0 web search) | Without poe2brain | With poe2brain | Improvement |
| :--- | :---: | :---: | :---: |
| Exact Task Pass Rate | 6 / 22 (27.3%) | 22 / 22 (100.0%) | +72.7 pp (3.7×) |
| Sub-Check Factual Accuracy | 38 / 75 (50.7%) | 75 / 75 (100.0%) | +49.3 pp |
| PoE1 / Stale-Patch Hallucinations | 4 / 22 (18.2%) | 0 / 22 (0.0%) | Zero hallucinations |
Sample Benchmark Questions (Without vs. With poe2brain)
| # | Real Player Question (Patch 0.5.5) | Without poe2brain | With poe2brain |
| :--- | :--- | :--- | :--- |
| Q02 | Base passive Block cap, Glancing Blows keystone effect, and Deflection mitigation % & cap? | ❌ Hallucinated PoE1 75% Block cap & PoE1 rules | ✅ 50% Block cap, Evade Unlucky / Deflect Lucky, 40% / 95% cap |
| Q09 | On an ilvl 82 Rare Warmonger Bow, compare Greater vs. Perfect Exalted Orb odds to hit T1 % Physical Damage (weight 25) | ❌ Cannot compute 0.5.5 affix pool weights (symbolic formula only) | ✅ Exact pool math: 40,482 weight (0.0618%, 1,619.3 tries) vs. 24,782 weight (0.1009%, 991.3 tries — 1.634×) |
| Q10 | 0/2/4/6-mod Waystone revives, Tablet placement, 3 Patch 0.5 Atlas Masters, and 0.5.5 Sacred Blooms | ❌ Wrong 6 revives on 0-mod; couldn't name Atlas Masters or Sacred Blooms | ✅ 5/4/2/0 revives, Map Device Tablets, Jado / Hilda / Doryani (1 active), Viridian Wildwood / Azmeri Wisps |
| Q12 | Compile a <=50-char PoE2 negated stash regex hiding all 6 CI/ES (es_ci) brick Waystone hazards | ❌ Put ! inside quotes ("!m player r\|...", broken PoE2 syntax) | ✅ !"buil\|ever\|of l\|pene\|weak\|player r" (36 chars, 6/6 hazards, 0 FP/FN) |
| Q17 | Legal 6-link dewatered support swap (--best-swap --dewater) on 5/5-filled Amazon Ice Shot + verify Elemental Focus Int req | ❌ Could not find weakest support, legal swap DPS, or recalculated Int requirement | ✅ Auto-replaced weakest #4 Stoicism II with Hit and Run (121,674 → 170,344, +40.0%); #2 Elemental Focus (+23.98%, attributes_met_after = true) |
| Q19 | Balanced Rune & Soul Core optimization (--offline-prices) preserving Socket-bound augments + true net PoB2 swap delta | ❌ Used stale +7% Tacati value (wasting 7 cores instead of 3); could not compute net DPS/EHP delta | ✅ Preserved locked Kolr's Hunt (11/12 sockets), 3 Soul Core of Tacati (21% → 60% Chaos), true net -43,108 DPS / +2,017 EHP, offline cost null |
| Q22 | Exact what-if (multiplierRage=0 only) DPS drop + offline quad-tab triage (--no-live-trade) | ❌ Mental math divided by 1.30 (183,020, -23.1% — off by ~9.5 pp!) | ✅ Exact 237,993 → 160,418 (-32.6%); offline triage: Normal ilvl 82 wand 3P/3S open, ring salvage_or_vendor |
Full 22-question suite, per-pillar breakdown, archived raw transcripts (benchmarks/results/codex_0_5_5.json), and reproduction instructions:benchmarks/README.md. Re-score deterministically in 1 second:
>> uv run python benchmarks/run_benchmark.py score benchmarks/results/codex_0_5_5.json
> Multi-Model Agentic Execution Benchmark (PoE-Bench): Beyond single-turn Q&A, we also publishlifan-builds/poe-bench(live leaderboard) — a standalone, Terminal-Bench-style 22-task offline execution benchmark (497verified trials across Gemini 4, Claude 5.5, and GPT-6) with zero CLI spoilers and deterministic engine grading. Withoutpoe2brain, all three frontier families score0/30 (0.0% Pass@1); withpoe2brain, top models across every family reach100%(+83–100 ppverified tool lift).
Real Output Showcase
1. Find Underrated High-DPS, High-Mobility Builds in 1 Command
uv run poe2 ninja search --preset sleeper --limit 5
poe.ninja Builds — Forbidden Rites (matched 59/345 | preset=sleeper | sort=sleeper)
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━┳━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┓
┃ Character ┃ Ascendancy ┃ Lv ┃ Main Skill ┃ DPS ┃ EHP ┃ Move ┃
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━╇━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━┩
│ popyj │ Pathfinder │ 100 │ Ice Shot │ 15,150,400 │ 29,631 │ 1.99x │
│ 一阿克一 │ Pathfinder │ 99 │ Ice Shot │ 15,093,062 │ 23,467 │ 2.04x │
│ Noxious_Fu... │ Acolyte of Chayula │ 100 │ Poisonburst Arrow │ 5,652,710 │ 36,369 │ 1.71x │
│ EightChall... │ Shaman │ 100 │ Spark │ 7,113,825 │ 24,586 │ 1.98x │
│ 风枪锐眼 │ Pathfinder │ 100 │ Ice Shot │ 3,979,867 │ 21,084 │ 2.17x │
└──────────────────┴────────────────────┴─────┴───────────────────┴────────────┴────────┴───────┘
2. Everyday Power Commands (Fewer Flags, Smarter Defaults)
# Dewatering audit + automatic top-5 bottleneck diagnosis + mobility & CI immunity
uv run poe2 pob audit --slot main
Zero-install '10D Budget -> Top 3 Upgrades' interactive web studio & shareable HTML/PNG card
uv run poe2 web --port 8765 --open
uv run poe2 audit-card example:amazon --budget 10d --priority balanced --out my_10d_card.html
Exact PoB2 formula provenance, Tier I-III + Lineage support sweep, and Controlled Metamorphosis rings
uv run poe2 pob calc-breakdown EnergyShield --slot main
uv run poe2 pob supports --slot main --max-tier 2 --no-lineage
uv run poe2 pob radius-jewels --jewel "Controlled Metamorphosis" --slot main
Live trade2 upgrades ranked by real PoB2 gain (auto-simulating +20% Quality & Runes)
uv run poe2 trade upgrades --equip-slot "Weapon 1" --max-exalted 50 --slot main
Compare a 25 Ex budget with 100 Ex across the same gloves and boots
uv run poe2 trade plan --slot main --equip-slot Gloves --equip-slot Boots --budget 25 --budget 100 --json
Replay saved offers from either realm
uv run poe2 trade plan --slot main --offers offers.json --budget 25 --budget 100 --objective defence --json
Unified capital/Gold arbitrage scan (accepts '500' Exalted or '5d' Divines) & profitable craft scanner
uv run poe2 econ arbitrage --budget 5d --gold 50000
uv run poe2 craft profit --budget mid
PoB2-aware <=50-char Waystone & Precursor Tablet stash regexes (with 0..6 mod revive schedule)
uv run poe2 wiki regex --slot main
Start with NeverSink's semi-strict PoE2 filter. Use a local .filter path to branch from your own.
uv run poe2 filter restyle semi_strict --base-only --out my_build.filter
Add a look to the working copy
uv run poe2 filter restyle my_build.filter --base-only --look "obsidian gold" --out my_gold.filter
Architecture & Six Pillars
flowchart TB
A["AI Agents & Players<br/>Claude Code · Cursor · Antigravity · Codex · Devin · Terminal"]
A -->|JSON-first CLI| CLI["poe2 (Typer)"]
A -->|stdio MCP| MCP["poe2brain-mcp (48 Tools, 1:1 Parity)"]
CLI --> CORE["Typed Python 3.12+ Domain Core"]
MCP --> CORE
CORE --> P1["1. Knowledge & Meta<br/>SQLite + FTS5 · 23 Ascendancies<br/>EN/ZH · <=50c Waystone Regex"]
CORE --> P2["2. Headless PoB2<br/>LuaJIT RPC · Dewater Audit<br/>Supports · Radius Jewels · What-If"]
CORE --> P3["3. Economy & Trade2<br/>Exalted=1.0 · PoB2 Upgrades<br/>Arbitrage · Quad-Tab Triage"]
CORE --> P4["4. Crafting Solver<br/>Conditional Pool · MDP + MC<br/>Collateral Rescue · Profit Scan"]
CORE --> P5["5. poe.ninja Builds<br/>Daily-Synced Build Index · Presets<br/>!Negation · Timeline Stepping Stone"]
CORE --> P6["6. Loot Filter Studio<br/>7-Trap Validator · NeverSink Restyler<br/>PoB2/ilvl82 Bases · Voice Callouts"]
Deep Dive: What's Inside Each of the Six Pillars
- Knowledge, Ascendancies & Live Ladder Meta (
poe2brain.knowledge) — Read-only SQLite + FTS5 index (data/poe2_0.5.5.sqlite) over 769 official GGGKeywordPopups, 54 Patch0.5.5anti-hallucination rules & formulas, 1,711 gems, 443 uniques (439 live in 0.5.5), 3,219 live PoE2 bases (catching PoE1 / stale0.1Expertbase traps), 313 socketable augments, 293 crafting levers, and 882 Verisium/Kalguuran runeforge recipes, plusMetaService(TreeData/0_58 playable classes & 23 Ascendancies,Abyssal Lichinheritance, choice notables, bilingualzh-CN/zh-TWaliases, and live SC/HC/SSF/HCSSF ladder shares). - Headless Path of Building 2 (
poe2brain.pob) — Persistent nativeLuaJIT+PathOfBuilding-PoE2(tree 0_5) JSON-RPC 2.0 daemon supporting multi-slot builds (main,ref,candidate),eN.../poe.ninja/poe2db.tw/maxroll.gg/pobb.in/ XML / GGG.buildJSON I/O, dewatering audits with automatic upgrade bottlenecks,explain_calcformula provenance,rank_support_gems,rank_radius_jewels, transactionalwhat_ifsandboxing,<10msGetMiscCalculator()item sweeps, and marginaltrade2stat weights. - Live Economy, Arbitrage & Official Trade2 (
poe2brain.trade) — 3-tier pricing router normalized toExalted Orb = 1.0combiningapi.poe2scout.com+poe.ninjaexchange overviews with unauthenticatedpathofexile.com/api/trade2(GGGRateLimiter+1.0sbuffer),ArbitrageScanner(--budget/--gold,profit_ex_per_10k_gold, compounding ladders, trap filters),Exiled-Exchange-2-backed EN/ZHCtrl+C/Ctrl+Alt+Citem parsing, PoB2-ranked slot upgrade search (auto-simulating+20%quality + Greater Runes), and multi-item quad-tab triage. - Exact Crafting Odds, Policy & Profit Scanner (
poe2brain.crafting) — ConditionalModPoolEngine(display_tier = 1best, tiered orbmin_mod_levelfloors, family mutual exclusion, dynamic elemental tag-blocking, 3-draw without-replacement Well of Souls unveil,Omen of Whittling, cross-poolCrystallisation, blocking removed0.4Homogenising Omens &0.5Recombinators) + sunk-cost-disciplinedCraftingPlanner(4-mod Fracturing Orb,p50/p80/p95Monte Carlo, buy-vs-craft) +CraftProfitScannerwith automaticcompetition_level&niche_score. - PoE Ninja Builds Discovery & Live Character Import (
poe2brain.ninja) — Livepoe.ninjabuild-index-state&snapshot-versionstelemetry across SC/HC/SSF/HCSSF, pure-stdlibSearchResultprotobuf +NDIC\x02decoder,<2msXML inspector, multi-facet search with 5 intent presets,!Termnegation, and a runtime SQLiteBuildStore(~/.cache/poe2brain/builds.sqlite) synced via ETag from the daily GitHub Actions rollingbuild-indexrelease (plus write-through caching on live imports and time-machine budget stepping-stone discovery). - PoB2-Aware Loot Filter, NeverSink Restyler & Voice Callout Studio (
poe2brain.filters) — Self-validating PoE20.5.5.filtercompiler &FilterValidatorenforcing all 7 client-crash traps, live economy tiering, PoB2 build-priority + Exceptional (21%+quality /3+sockets) +ilvl 81/82jewellery & weapon crafting bases, clean endgame Uncut Gem / Flask / Charm clutter pruning, 8 WCAG-verified visual presets (plus optional CVD-safe & night-mode modifiers), pure-stdlib44.1 kHz16-bitstereo.wav/.mp3synth + bilingual EN/ZHvoice_calloutpacks,NeverSink0.10.4aauto-healing & restyling, Filter Doctor (poe2 filter heal), and interactive HTML drop previews.
60-Second Quickstart
Requirements: Python 3.12+ and uv.
git clone https://github.com/lifan-builds/poe2brain.git
cd poe2brain
uv sync
Bootstrap headless PathOfBuilding-PoE2 runtime into ~/.cache/poe2brain/pob2
• Windows: zero C compiler needed (auto-reuses local PoB2 or pulls MIT x64 lua51.dll)
• macOS / Linux: compiles LuaJIT 2.1 + luautf8 automatically
uv run poe2 init # choose 国服 (cn) or 国际服 (international)
uv run poe2 bootstrap pob2
Verify engine, SQLite 0.5.5 gamedata DB, and PoB2 runtime readiness
uv run poe2 version --json
Windows 中文用户? 请直接查看保姆级图文命令指南:docs/zh/QUICKSTART_WINDOWS.md
> Try the web playground or its China mirror. For local setup in China, the Windows installer tries a mirror of the GitHub repository first. See the Chinese setup guide.
Importing Your Character (Day-1 Friendly, Zero POESESSID)
- Option 1 — Zero-Auth Local PoB2 Sync (Works Immediately): Auto-discovers builds saved in your desktop Path of Building (PoE2) folder:
uv run poe2 pob import-local --list
uv run poe2 pob import-local --slot main
- Option 2 —
poe.ninjaCharacter URL or Any PoB2 Share Code (poe2db/maxroll/pobb.in/ WeGame):
uv run poe2 ninja character "<poe.ninja_url>" --load-pob --slot main
uv run poe2 pob load "<eN..._code_or_pobb.in_url>" --slot main
- Option 3 — Official GGG OAuth 2.1 PKCE (Pending GGG Client Approval Until PoE2 1.0):
poe2brain client ID currently returns invalid_client. Use Option 1 or Option 2 unless you supply your own GGG-approved POE2BRAIN_OAUTH_CLIENT_ID:
POE2BRAIN_OAUTH_CLIENT_ID="<your_approved_client_id>" uv run poe2 auth login
uv run poe2 pob import-character --list
uv run poe2 pob import-character "<CharacterName>" --slot main
Connecting to Your AI Assistant
A terminal prompts for the game realm on first use. Switch later with poe2 init cn or poe2 init international. CLI and MCP share the choice. Noninteractive commands keep the existing international behavior until a realm is selected. Tencent character imports, filters, and prices
Use poe2 setup-mcp --profile core to configure an MCP client with 21 core tools. Run poe2 doctor to check the installation, poe2 update (poe2 update --cn in mainland China) to pull the latest engine, gamedata DB, and pinned PoB2 runtime in one command, or poe2 uninstall to remove it. Connected AI agents and interactive terminals check /api/version every 12h (opt out via POE2BRAIN_NO_UPDATE_CHECK=1 or NO_UPDATE_NOTIFIER=1) and surface a warning immediately when a new PoE2 game patch (such as 1.0) goes live. After running poe2 update, restart or toggle the poe2brain MCP switch in your AI client so the updated stdio server loads.
The repository also ships manifests for these clients:
- Claude Code / Cursor: Open this repo directly (uses .mcp.json), or add globally via the snippet below.
- Antigravity: Ready-to-load plugin manifest in plugin.json, workspace MCP config in .agents/mcp_config.json, and skill in .agents/skills/poe2brain/SKILL.md.
- Devin: Workspace MCP config in .devin/mcp_config.json.
- Codex CLI / Shell Agents: Invoke
uv --directory /path/to/poe2brain run poe2 ... --jsondirectly.
Copy-Paste MCP Config (Claude Desktop / Cursor / Cherry Studio / Generic MCP)
{
"mcpServers": {
"poe2brain": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/poe2brain", "run", "poe2brain-mcp"]
}
}
}
Manual stdio launch:
uv run poe2brain-mcp
1:1 MCP Tool & CLI Command Reference
Every single MCP tool maps 1:1 to a poe2 ... --json CLI command over the exact same typed domain services (48 tools total):
Expand / Collapse Full 48-Tool Reference Table
| Pillar | MCP Tool ( ] [--sims 3000] --jsonpoe2brain) | CLI Command (uv run ...) | Purpose |
| :--- | :--- | :--- | :--- |
| Setup | poe2_init | poe2 init | Save the player’s realm for the CLI and MCP. |
| Health | poe2_status | poe2 version --json | Verify patch (0.5.5), default league (Forbidden Rites), SQLite DB, and headless PoB2 readiness. |
| Knowledge | poe2_search_knowledge | poe2 wiki search " | FTS5 + exact search across 769 GGG KeywordPopups, 54 anti-hallucination rules, 1,711 gems, 443 uniques (439 live in 0.5.5), 3,219 live bases, 313 augments, 293 levers, and 882 runeforge recipes. |
| Knowledge | poe2_explain_mechanic | poe2 wiki mechanic " | Authoritative MechanicFact (poe1_trap, poe2_live_rule, formula_expr) + official GGG keyword popups. |
| Knowledge | poe2_inspect_gem | poe2 wiki gem " | Active, Spirit, Meta, Tiered Support (I/II/III), and lineage_support (max_copies_per_char=1) gem inspection. |
| Knowledge | poe2_inspect_base | poe2 wiki base " | Base properties, implicits, display_tier=1 affixes at ilvl, and PoE1 / stale Expert trap warnings. |
| Knowledge | poe2_inspect_unique | poe2 wiki unique " | Unique base type, implicits, explicits, and is_chanceable status. |
| Knowledge | poe2_inspect_augment | poe2 wiki augment " | Runes, Soul Cores, Azmeri Idols, Shaman Bonded: bonuses, and Verisium / Kalguuran Remnant recipes. |
| Knowledge | poe2_inspect_ascendancy | poe2 wiki ascendancy [" | List all 23 PoE2 0.5.5 Ascendancies (8 classes) or inspect notables, choice nodes, and PoE1/1.0 traps. |
| Knowledge | poe2_meta_ladder | poe2 wiki meta [--league "Forbidden Rites"] --json | Live SC/HC/SSF/HCSSF ladder shares, Ascendancy tier rankings, and liquid chase item demand signals. |
| Knowledge | poe2_waystone_regex | poe2 wiki regex [--slot | Compile verified <=50-char PoE2 Waystone brick/safe/juicing & Precursor Tablet stash regexes + 0..6 mod revive schedule. |
| PoB2 | poe2_pob_load | poe2 pob load | Load eN... share code, poe.ninja / poe2db.tw / maxroll.gg / pobb.in URL, PoB XML, or GGG .build JSON into a persistent named slot. |
| PoB2 | poe2_pob_export | poe2 pob export --slot main --format code --json | Return a share code to reopen the saved build in PoB2. Use xml for inspection or ggg_json for the game planner. |
| PoB2 | poe2_pob_stats | poe2 pob stats [--slot main] --json | Extract FullDPS, TotalEHP, Life, ES, Mana, Spirit, resists, chaos_immune, Max Hits, movement_speed_mod, attack_cast_speed, crit, Block, Deflection, Evasion, Armour. |
| PoB2 | poe2_pob_audit | poe2 pob audit [ | Dewatering audit: strip PoB-warrior config inflation and return sustainable Pinnacle stats, culprits, and actionable bottlenecks. |
| PoB2 | poe2_pob_compare | poe2 pob compare [--slot-a early] [--slot-b main] [--dewater] --json | Compare two persisted PoB2 slots across DPS/EHP, gear/uniques, skills, passives, and exact 0.5.5 Gold respec cost. |
| PoB2 | poe2_pob_hc_audit | poe2 pob hc-audit [ | Audit HC Pinnacle Boss Max Hits, Bleed/Poison ES bypass, Chaos 2x ES vulnerability, Charms, and top defensive EHP respecs. |
| PoB2 | poe2_pob_eval_item | poe2 pob eval-item --equip-slot " | Non-destructive GetMiscCalculator() item swap returning ItemUpgradeDiff (full_dps_delta, total_ehp_delta, spirit_unreserved_delta). |
| PoB2 | poe2_pob_stat_weights | poe2 pob weights --equip-slot " | Compute marginal PoB2 stat weights (SlotStatWeights) and unauthenticated-safe trade2 filter JSON. |
| PoB2 | poe2_pob_suggest_nodes | poe2 pob nodes [--mode perPoint\|total\|anoint\|megalomaniac] [--slot main] [--top 10] --json | Rank reachable passive notables (perPoint/total), Amulet anoints (anoint), or Megalomaniac 2–3 notable combos + clickable trade2 URL (megalomaniac). |
| PoB2 | poe2_pob_optimize_runes | poe2 pob runes [--slot main] [--objective balanced\|dps\|ehp\|spirit\|rarity] [--max-budget | Solve Armour/Weapon Rune & Soul Core Resist Tetris & socket optimization using SQLite 0.5.5 slot effects and transactional PoB2 DPS/EHP/Resist verification. |
| PoB2 | poe2_pob_calc_breakdown | poe2 pob calc-breakdown " | Inspect exact PoB2 calculation formulas & BASE/INC/MORE/FLAG modifier provenance grouped by source (CalcBreakdownReport). |
| PoB2 | poe2_pob_supports | poe2 pob supports [--slot main] [--group | Rank all compatible PoE2 0.5.5 Support Gems (Uncut tiers 1–5 + Lineage) by DPS/EHP delta, Mana sustain, Spirit overflow, and Lineage max_copies=1 conflicts. |
| PoB2 | poe2_pob_radius_jewels | poe2 pob radius-jewels [--jewel " | Rank Passive Tree Jewel Sockets × radius rings (Controlled Metamorphosis / Against the Darkness) by per-point gain & travel points saved. |
| PoB2 | poe2_pob_what_if | poe2 pob what-if [--slot main] [--equip "Slot=TextOrPath"] [--edit-slot " | Transactional multi-change PoB2 hypothesis sandbox (WhatIfReport) with per-piece attribution, 3-scenario matrix, and automatic rollback. |
| PoB2 | poe2_pob_import_local | poe2 pob import-local [ | Discover or load saved local Path of Building (PoE2) .xml builds directly (zero-auth Day-1 sync on Windows/macOS/Linux). |
| PoB2 | poe2_pob_import_character | poe2 pob import-character [ | Import a direct WeGame #/share/… link, PoE2DB character page, PoB code, or GGG OAuth character. |
| Economy | poe2_currency_price | poe2 econ price " | Live CurrencyQuote normalized to {exalted, chaos, divine} (Exalted = 1.0) with 7d trend and volume. |
| Economy | poe2_market_scan | poe2 econ scan [--category | High-liquidity exchange movers, numeraire-normalized cross-source spreads, and chanceable Uniques. |
| Economy | poe2_boss_ev | poe2 econ bosses [--encounter | Live Pinnacle Boss & Trial entry costs vs chase unique drops (Arbiter, Xesht, Simulacrum, King in the Mists, Olroth, Sekhema, Trialmaster) with jackpot ratios & variable-roll notes. |
| Economy | poe2_farming_strategy | poe2 econ farming [--stage day1\|early\|mid\|endgame] [--budget 100\|5d] [--focus balanced\|steady\|jackpot\|speed] [--slot main] --json | Rank Patch 0.5.5 league-start & Atlas farming loops (Fortress Rush, Expedition, Ritual+Wildwood, Breach, Sekhema, Chaos, Delirium, Boss Rush, Negative-IIR) with live prices, Atlas Masters (Jado/Hilda/Doryani), Tablets, IIR guidance, and optional PoB2 build-fit scoring. |
| Economy | poe2_scan_arbitrage | poe2 econ arbitrage [--budget 500\|5d] [--gold | Executable 0.5.5 conversions, Alva spreads, order books, profit_ex_per_10k_gold, trap warnings, or multi-rung capital & Gold compounding ladder. |
| Trade | poe2_parse_item | poe2 trade parse [--file | Parse PoE2 Ctrl+C / Ctrl+Alt+C text into ParsedItem and PoB2 Item.lua text. |
| Trade | poe2_price_check | poe2 trade check [--file | 3-tier price check using buyout listings by default and exchange quotes with price-fixer outlier warnings. |
| Trade | poe2_triage_dump | poe2 trade triage [--file | Batch price-check & classify multi-item Ctrl+C dumps into sell_instant, craft_finish_ev, high_variance_id_or_unveil, and salvage_or_vendor. |
| Trade | poe2_find_upgrades | poe2 trade upgrades --equip-slot " | Query live trade2 for slot upgrades, evaluate raw & craft-topped-off (20% Quality + Greater Runes) stats in PoB2, and rank by true all-in ROI. |
| Trade | poe2_plan_upgrades | poe2 trade plan --budget 25 --budget 100 --equip-slot Gloves --equip-slot Boots --slot main --json | Compare complete gear combinations at each Exalted budget. Supply a JSON offer array in either realm, or sample international buyouts. Offer format and replay |
| Crafting | poe2_craft_odds | poe2 craft odds --base " | Exact conditional mod-pool hit odds (CraftActionEval) with live currency pricing and mid-craft collateral protection. |
| Crafting | poe2_craft_plan | poe2 craft plan --base " | Optimal state-conditional policy + Monte Carlo cost (expected_cost_exalted, p50/p80/p95) + trade_vs_craft. |
| Crafting | poe2_scan_craft_profit | poe2 craft profit [--budget all\|low\|mid\|high] [--live-trade/--no-live-trade] [--league "Forbidden Rites"] --json | Rank profitable 0.5.5 crafts with sanitized live inputs, p50/p80 drawdowns, live securable exits, competition_level, and niche_score. |
| Ninja | poe2_ninja_snapshots | poe2 ninja snapshots [--league "Forbidden Rites"] --json | Live poe.ninja PoE2 build-index-state & snapshot-versions across SC/HC/SSF/HCSSF modes and time-machine labels. |
| Ninja | poe2_ninja_search | poe2 ninja search [--preset sleeper\|zoom_mapper\|league_start\|boss_killer\|hc_tank] [--ascendancy | Multi-facet Forbidden Rites build search with intent presets, !Term negation, pre-audited dewatered_dps, movement_speed_mod, and sleeper_score. |
| Ninja | poe2_ninja_character | poe2 ninja character | Import live poe.ninja character or PoB2 share URL, binary-search time-machine stepping stones (--probe-timeline), or load + audit in PoB2. |
| Filter | poe2_filter_presets | poe2 filter presets --json | List all 8 WCAG visual theme presets, 6 strictness tiers, 6 custom soundpack styles + musical keys/scales, and local PoE2 filter dir. |
| Filter | poe2_filter_restyle | poe2 filter restyle ] [--slot | Default recommendation for a new filter. Start from the player's file or NeverSink with --base-only to keep its priorities. |
| Filter | poe2_filter_generate | poe2 filter generate [--strictness semi_strict] [--theme ] [--slot | Generate a native filter from scratch when requested. Compile a validated 0.5.5 .filter with live economy, solo/co-op --slots PoB2 context, inline --look theme/CVD/2am/sound intent, .wav/.mp3 soundpack, and HTML preview. |
| Filter | poe2_filter_validate | poe2 filter validate | Validate any .filter file or text against PoE2 0.5.5 ItemClasses, BaseItemTypes, grammar bounds, and custom sound files. |
| Filter | poe2_filter_heal | poe2 filter heal | Filter Doctor: auto-heal broken PoE1 / PoE2 0.1 .filter syntax, stale Expert prefixes, singular classes, and dead conditions to 0 errors. |
Additional CLI Utility Subcommands & Developer Commands
poe2 web [--host 127.0.0.1] [--port 8765] [--live-trade/--offline] [--lang en|zh] [--open]— Launch the bilingual dark-fantasy 10D Budget -> Top 3 Upgrades web studio (GET /+POST /api/audit) with 1-click example builds and PNG/HTML card export.poe2 audit-card [— Compute ranked Top 3 DPS/EHP-per-Divine upgrades and emit a self-contained bilingual Shareable HTML Upgrade Card.] [--budget 10d] [--priority balanced|dps|ehp] [--live-trade/--offline] [--out ] [--lang en|zh] --json poe2 wiki runeforge "— Search Verisium Anvil base transforms and Kalguuran Remnant rune recipes directly." [--limit 12] --json poe2 pob export [--format code|xml|ggg_json] [--out— Export a persisted build slot to share code, XML, or official GGG] [--slot main] --json .buildJSON.poe2 pob equip --equip-slot "— Persistently equip an item into a saved PoB2 slot." [--item-text " " | --file ] [--slot main] --json poe2 pob slots [--create— Manage and mutate persisted CLI PoB2 slots (--class --ascendancy ] [--clone-from --clone-to ] [--delete ] [--gems " "] [--config key=val] [--custom-mods " "] --json ~/.cache/poe2brain/pob_slots).poe2 econ rates [--league "Forbidden Rites"] --json— Inspect liveExalted : Chaos : Divinereference rates and active PoE2 leagues.poe2 sync gamedata [--out— Deterministically rebuild] --json data/poe2_0.5.5.sqlitefrom MIT upstream sources and bundled weights.poe2 bootstrap pob2 [--force] --json— Seed or compile the localLuaJIT+PathOfBuilding-PoE2runtime.
# Rebuild the patch 0.5.5 database and refresh the PoB2 build index
uv run python scripts/sync_gamedata.py
uv run python scripts/sync_build_index.py
Lint & run offline unit + headless PoB2 integration suites (tested on Windows + macOS CI)
uv run ruff check . scripts
uv run pytest -v -k "not test_live_"
Include live Forbidden Rites network round-trip tests
POE2_LIVE_TESTS=1 uv run pytest -v
Upstream Attribution & GGG ToS Boundary
- Clean-Room Upstream Data Attribution: Bundled lookup data in
data/derives strictly from permissive MIT-licensed upstream projects (PathOfBuildingCommunity/PathOfBuilding-PoE2,Kvan7/Exiled-Exchange-2in data/ee2/LICENSE.Exiled-Exchange-2,ackness/pobrtest fixture in tests/fixtures/LICENSE.pobr,repoe-fork/poe2&thmsndk/vscode.poe2-filterin data/filter/LICENSE.filter-data, plus optional MITNeverSinkDev/NeverSink-Filter-for-PoE2base filter healing), with original upstream MIT notices preserved. - Strictly Out-of-Game & ToS-Compliant:
poe2brainnever readsPOESESSIDor auth cookies, never calls Cloudflare-gated/api/protected/routes, never inspects game memory or screen frames, never injects inputs into the Path of Exile 2 client, uses official GGG OAuth 2.1 PKCE for private character imports, and paces all publictrade2requests throughGGGRateLimiter.
License
Open source under GPL-3.0-only, with the Section 7 attribution terms in ATTRIBUTION.md. Copies, integrations, and modified versions must stay under GPL-3.0, keep this credit in their README / credits (and --version or About output for standalone forks), mark their changes, and may not use the poe2brain name:
Based on poe2brain by lifan-builds (https://github.com/lifan-builds/poe2brain)
Copyright © 2026 lifan-builds. Pull requests are welcome under CONTRIBUTING.md with a one-time CLA. For licensing outside GPL, open an issue.