# Pojun vs PentestGPT vs XBOW (2026): Self-Hosted AI Red-Team Architecture, LLM Routing & Evidence Chain

> **Verdict**: Pojun is the only one of the three that ships as a single Go binary with embedded Next.js UI, PostgreSQL-backed evidence chain and multi-channel LLM failover — pick it when you need an auditable, self-hosted red-team platform you can run on a $20 VPS. PentestGPT remains the best 
> **Source**: https://ai.yevrix.com/compare/pojun-vs-pentestgpt-vs-xbow-selfhosted-redteam-2026

## 1. The Architectural Divide and Underlying Mechanics

The real fault line between Pojun, PentestGPT and XBOW is not which one is "smarter" — it is **which one couples the agent runtime, the evidence store and the model calls into a single deployable unit**.

Pojun's choice is explicit: a **Go 1.24+ monolith with an embedded Next.js frontend and PostgreSQL**. The whole platform is one process plus one database. Static frontend assets are compiled into the binary, so there is no Node runtime and no separate frontend container. Multi-agent autonomous progression runs on Go's goroutine scheduler rather than Python's asyncio loop — the former has lower context-switch cost under heavy concurrent tool invocation (nmap, httpx, nuclei subprocesses), the latter has a more mature ecosystem for streaming LLM responses. PostgreSQL carries the entire evidence-chain responsibility: every agent decision, every tool stdout and every LLM response is persisted. That is both the audit capability and the heaviest operational burden.

PentestGPT is a different philosophy: a **Python reasoning scaffold**. It does not try to be a platform; it externalizes the "what should I test next" loop into an interactive cycle. No database, no daemon, no Web UI constraints. Its advantage is zero operational friction; its disadvantage is **no evidence chain** — your testing process scatters across terminal scrollback and chat logs and cannot be reconstructed afterward.

XBOW is closed-source SaaS with an invisible architecture. From the outside it is a managed, per-target black box: you submit a target, it returns findings. This shifts tooling, model updates and vulnerability-library maintenance to the vendor, at the cost of knowing **nothing** about how the agent decides, which model it uses, or how evidence is stored.

LLM integration differs sharply. Pojun configures Anthropic / OpenAI / any compatible gateway in the UI with **multi-channel round-robin**; PentestGPT typically binds a single provider or a local model; XBOW exposes no model choice at all. Multi-channel polling is architecturally a client-side router. Its real value is not speed — it is **keeping the agent alive when a single provider rate-limits or goes down**, which is a hard requirement for 24/7 autonomous red-team runs. It also introduces context-drift risk (see Section 4).

## 2. Hard Engineering and Billing Comparison Matrix

| Dimension | Pojun | PentestGPT | XBOW |
|---|---|---|---|
| Delivery | Go monolith + embedded Next.js + PostgreSQL | Python package / CLI scaffold | Closed-source managed SaaS |
| License | AGPL-3.0 | Permissive OSS (check repo) | Commercial closed |
| Deploy deps | PostgreSQL 16, Linux/macOS/Docker | Python runtime + your API key | None (browser) |
| Frontend | Next.js compiled into binary | None (terminal) | Vendor-hosted |
| LLM access | Anthropic / OpenAI / compatible gateway, multi-channel | Single provider or local model | Internal, not selectable |
| Evidence | Full PostgreSQL persistence, replayable | No structured trail | Vendor DB, limited export |
| Billing dimensions | Your VPS + PostgreSQL + LLM tokens | Your LLM tokens | Per-target/subscription, see vendor pricing page |
| Idle resource floor | Hundreds of MB (incl. PG) | Single process, tens of MB | 0 (SaaS) |
| Data sovereignty | Fully yours | Fully yours | Vendor-held |
| Fit | Team-scale, audit-required | Solo researcher | Enterprise buying outcomes |

The most underrated row is "idle resource floor." Pojun's PostgreSQL is not optional — install scripts and Compose bring it up automatically. Your baseline memory is therefore not the Go binary's tens of MB but **Go process + PostgreSQL shared_buffers + WAL**. On a 2 GB VPS this is workable; on 1 GB it is tight. PentestGPT has no such floor; XBOW shifts it to the vendor.

## 3. Hidden Bills and TCO After You Scale

The bill for a self-hosted AI red-team platform is never "how much is the server" — it is **three bills stacked**: compute, model tokens, and human operations.

**Compute.** Pojun's minimum viable deployment is 2 vCPU / 2 GB (Go + PostgreSQL coexisting), roughly in the low-to-mid tens of dollars per month on mainstream VPS providers — check each vendor's official pricing page. But red-team workloads are **bursty**: a full scan may spawn dozens of nmap/nuclei subprocesses, pinning CPU for minutes then falling off. Hourly-billed cloud hosts handle this poorly; flat monthly VPS is cheaper — which is why Pojun's docs lean single-host rather than elastic clusters.

**Model tokens.** This is the real cost center and the easiest to lose control of. Multi-agent autonomous progression means **every agent independently consumes tokens**; a full engagement can burn tens of times the tokens of manual testing. Multi-channel polling is double-edged here: it guarantees availability but prevents you from using a single provider's batch discount. In production you must set a token budget per agent, or a looping agent can burn a month's budget in hours.

**Human operations.** Pojun's PostgreSQL needs backups, upgrades and connection monitoring; AGPL compliance needs legal sign-off; LLM key rotation needs process. PentestGPT is near zero. XBOW outsources all of it but replaces it with unpredictable per-target billing — as your asset inventory grows from 10 domains to 200, SaaS billing grows linearly or worse, while self-hosted marginal cost approaches zero.

For pre-deployment verification, Yevrix AI (https://ai.yevrix.com/hub) offers free 0-byte-upload browser-local calculators/validators — they receive none of your data, which makes them suitable for dry-running target lists and token budgets before feeding them to a real platform.

## 4. Production Pitfalls, Lock-In Risk and Clear Anti-Patterns

**Pitfall 1: context drift under multi-channel polling.** Providers tokenize differently and have different context windows. An agent 40 steps in that switches from Anthropic to OpenAI mid-task gets its history re-tokenized, potentially triggering truncation or self-summarization, causing it to "forget" already-verified findings. **Mitigation:** pin one channel per agent run, use others only for cold-start failover, and record the channel ID in the evidence table.

**Pitfall 2: PostgreSQL as a single point.** Full evidence persistence puts the database on the hot path. High-concurrency tool output (nuclei JSON streams) inflates WAL quickly; without tuning `shared_buffers` and `wal_compression`, disk IO becomes the bottleneck. **Mitigation:** write tool stdout to local files first, batch-insert asynchronously.

**Pitfall 3: AGPL's network clause.** If you turn Pojun into a red-team SaaS offered to third parties, AGPL requires you to open-source your modifications. Internal use is unaffected, but commercialization requires evaluation.

**Clear anti-patterns:**
- **Don't use Pojun for one-off solo validation** — PostgreSQL and daemon overhead are pure burden for a single test; PentestGPT fits better.
- **Don't run Pojun on a 1 GB VPS** — Go and PostgreSQL squeeze each other; OOM is routine.
- **Don't use XBOW in regulated environments without confirming data residency** — your target inventory and findings sit on the vendor side with limited export.
- **Don't let agents run autonomously without a budget cap** — token bills will spiral.

## 5. Migration Cost and the Selection Decision Tree

**PentestGPT → Pojun:** low cost. Prompts and tooling carry over; the work is configuring PostgreSQL, filling in LLM channels in the UI, and rewriting manual flows as agent tasks.

**XBOW → Pojun:** medium cost. You lose vendor-managed model updates and the vulnerability library and must maintain them yourself; you gain data sovereignty and predictable marginal cost. Historical findings cannot be fully exported from XBOW — a hard loss.

**Decision tree:**
1. Do you need an auditable evidence chain? → Yes → Pojun.
2. Are you solo, interactive, one-off? → Yes → PentestGPT.
3. Do you want the vendor to own all operations and liability? → Yes → XBOW.
4. Will your asset inventory keep growing and is budget sensitive? → Yes → self-host (Pojun); SaaS linear billing punishes you.
5. Do you have a 2 GB+ always-on host and PostgreSQL ops capability? → No → don't pick Pojun.

In one line: **Pojun sells an auditable runtime, PentestGPT sells lightweight reasoning, XBOW sells outcomes.** They are not direct substitutes, and picking the wrong direction costs far more than picking the wrong product.
