Phoenix (不死鸟)
A safety layer for Hermes Agent: tiered model routing, circuit breakers, self-healing and layered memory, installed through official plugin hooks.
- Source repo
- xyaz1313/phoenix
- Stars
- ★ 57
- Last updated
- 3mo ago
- FARS reviewed
- Oct 03, 2026
- License
- NOASSERTION
- Primary language
- Python
- FA score
- 44/100 · Major gaps
At a glance
- Works with
- Platform-specific
- You'll need
- Typical use
- Cost-conscious developers who want small talk routed to a cheap tier and only deep questions sent to an expensive model.
- Main limitation
- Licensed CC BY-NC 4.0: commercial use needs separate authorisation from the author, which rules out most closed-source commercial deployment.
- Maintenance
- Commits in the last 6 monthslast commit 2026-08-11
- Source review
- 44/100 · Major gaps 1 safety controls not found
What does this agent do, and when should you use it?
Phoenix is a plugin for the Hermes Agent framework (NousResearch/hermes-agent), at version 7.8.0, loaded entirely through Hermes' official plugin hooks so uninstalling it restores the original behaviour without a single change to core code. Its code is split under phoenix_v7/: router/ scores each request into four difficulty tiers and picks a model, guardrails/ holds the circuit breaker, approval gate, cost accounting, webhook audit, upgrade watch and context watch, selfheal/ is an antibody library, with loop/, verify/, privacy/ and memory/ alongside. State lives in phoenix_v7_state/ under the Hermes Home directory, and the memory layer persists into SQLite. Operators drive it with CLI commands such as hermes phoenix-status and hermes phoenix-router on|off, plus slash commands like /phoenix-focus, /phoenix-memory and /phoenix-upgrade-log inside a conversation. Installation is a downloaded release package run through install.sh (macOS/Linux) or install.ps1 (Windows), followed by hermes plugins enable phoenix_v7. The repository ships 381 automated tests, checks its own compatibility against the installed Hermes release at runtime, and is licensed CC BY-NC 4.0 with commercial use requiring separate authorisation.
The Router scores every incoming request with a weighted four-tier model (闪答/日常/深度/真神) and emits a tier; with hermes phoenix-router on it swaps models per tier, and stays in tier-only mode by default. Guardrails keeps a three-state circuit breaker that trips after consecutive failures and probes for recovery after a cooldown, alongside a high-risk approval gate, candidate-chain health tracking and cost accounting. Selfheal keeps an antibody library of error patterns, escalates after three unresolved attempts and disables bad advice automatically. While /goal is active, Loop Guard enforces a checklist and routes high-risk actions to a second model for review; Verify fires a free pre-check plus a paid cross-check only on deep/god tiers and downgrades to pass-through when the channel fails. Privacy flags sensitive keywords and tells the user afterwards to switch to a local model (macOS only), Adaptive Approval stops re-confirming after three consecutive approvals of the same operation and resets on any rejection, and Subagent Context hands the parent session's risk tier to delegated subtasks. Webhook signs and POSTs circuit-trip, high-risk command, verification and privacy events to a self-configured endpoint (off by default); Upgrade Watch backs up config.yaml on version change and archives anomalies inside a 30-minute window; Context Watch warns when prompt_tokens crosses a coarse threshold; Memory maintains observation/belief/fact confidence tiers with time decay and threat scanning before injection. hermes phoenix-status aggregates routing mode, breaker state, long-task state, version compatibility, today's spend and antibody-library statistics.
- Cost-conscious developers who want small talk routed to a cheap tier and only deep questions sent to an expensive model.
- Engineers running a long refactor under
/goalwho want checklist enforcement, high-risk re-review and a breaker as a safety net instead of babysitting the session. - Users who configured different models per tier or route through a proxy and want a one-command switch back to tier-only mode.
- Teams whose primary model hits a quota or billing failure and need the Hermes
fallback_modelchain to take over instead of the agent stalling. - Debuggers who keep hitting the same error: the antibody library records the pattern so the same pit is not dug twice.
- Operators who need circuit-trip and high-risk-command signals pushed to an external audit system via the signed Webhook.
How do you install or deploy this agent?
Download the package from the Releases page (a few hundred KB of pure code). Do not use the green Code → Download ZIP button on the repo home page — that is the full source tree with images and will not install. Then on macOS / Linux:
cd 解压后的文件夹
bash install.shOn Windows in PowerShell:
cd 解压后的文件夹
.\install.ps1The default run only copies and verifies files; it does not enable the plugin, so enable it and confirm:
hermes plugins enable phoenix_v7
hermes phoenix-statusFiles land in the Hermes Home directory (macOS/Linux ~/.hermes/plugins/phoenix_v7/, Windows %LOCALAPPDATA%\hermes\plugins\phoenix_v7\, or HERMES_HOME if set; check with hermes config path). Migrating from an older install such as phoenix_full is transactional on Windows:
.\install.ps1 -MigrateUninstall with \install.ps1 -Uninstall (removes code and history) or -Uninstall -KeepState (code only); on macOS/Linux delete the plugin directory but keep the sibling phoenix_v7_state/ if you want the data.
How do you use this agent?
Once enabled, use Hermes normally — routing and guardrails are automatic and need no new commands. Inspect everything at once:
hermes phoenix-statusAutomatic per-tier model switching is off by default; turn it on when your tiers point at different models:
hermes phoenix-router on
hermes phoenix-router offOn the desktop client without a terminal, use the slash commands:
/phoenix-router on|off|status
/phoenix-focus on
/phoenix-focus off
/phoenix-memory forget <keyword>
/phoenix-memory clear confirm
/phoenix-upgrade-logLong tasks use the native Hermes command; Phoenix picks up checklist enforcement and high-risk review:
/goal 帮我重构一下这个模块的架构,确保测试全过You need a working Hermes Agent installation with its model API configuration; which model belongs in which tier is documented in phoenix_v7/docs/三场景配置指南.md.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
What are this agent's strengths and limitations?
- 381 automated tests track every feature and also run in a clean environment with no pre-existing
.hermesdirectory, by pointingHERMES_AGENT_SRCat the hermes-agent source. - Everything loads through official plugin hooks, so uninstalling restores the original state and leaves no edits behind in Hermes core files.
- The Windows
-Migratepath is transactional: it backs up old plugin, history and config, generates a SHA-256 manifest of the copy, disables the old version and rolls back automatically if any step fails. - A version-compatibility self-check ships with the plugin and compares itself against the installed Hermes release at runtime, reporting one of four explicit outcomes.
- Approval adapts to history: three consecutive approvals of the same operation stop the prompt, one rejection resets it, and permanently high-risk categories are never trusted.
- One command,
hermes phoenix-status, reports routing mode, breaker state, long-task state, version compatibility and today's spend.
- Licensed CC BY-NC 4.0: commercial use needs separate authorisation from the author, which rules out most closed-source commercial deployment.
- Runs only as a Hermes Agent plugin; moving to another agent framework means rewriting it, and there is no portable path.
- The macOS/Linux
install.shstill uses the old auto-enable-on-install logic; transactional migration with rollback exists only in the Windows installer. - The local-model privacy and fallback path is macOS-only and optional, so other platforms cannot use it.
- Documentation, prompts and slash-command descriptions are Chinese-first; English readers have to work from the original text.
- Getting value from tiered routing requires configuring models per tier (single model, multi-key, and proxy setups each differ); single-model users only get tier detection, not switching.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Phoenix (不死鸟) This agent | 44 · Major gaps | — | ★ 57 | 3mo ago | Python | — |
| Archestra | 57 · Major gaps | Self-hosted serviceFreemium | ★ 4.5k | today | TypeScript | Codex · Claude Code · OpenAI API · Claude API |
| taOS Self-Hosted Agent OS | 68 · Some gaps | Self-hosted serviceFree | ★ 614 | 12d ago | Python | Claude Code · OpenAI API · Claude API |
| MUXI AI Application Server | 52 · Major gaps | CLIFree + model costs | ★ 175 | 9d ago | — | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows the plugin loads via official hooks without modifying Hermes core, uninstalls cleanly, gates high-risk operations behind an approval gate and focus-mode switch, and documents transactional migration rollback on Windows plus config.yaml backup before upgrades, so user_confirmation and rollback score 2. least_privilege is only 1: the README states it records conversation content into a separate memory store, reminds on sensitive terms, and can POST risk signals to a webhook, yet no permission minimization or retention limits are documented. data_flow_transparency is 1: webhook is off by default but endpoint, signing algorithm, and payload fields are not described in visible files. sensitive_data_handling is 1: privacy routing only reminds after the fact and suggests manual local-model switching, macOS only, with no automatic redaction or blocking. dependency_security is 0: no dependency manifest, version pinning, or vulnerability handling is visible. external_effects is 1: webhook and model switching change external state but scope and failure impact are unquantified. source_attribution is 1: author and license are present, but publisher identity is unverified by the FollowAgents registry, limiting traceability.
self_consistency scores 2: the README capability table, install notes, and test files describe consistent behavior, and tests explicitly document the record_outcome exact-pattern-key pitfall, indicating internally coherent logic. dependency_availability is only 1: conftest.py depends on hermes_constants or HERMES_AGENT_SRC, requiring external source in clean environments, and no dependency versions are declared. failure_messages is 1: visible tests cover only the antibody library and approval hook; no user-facing error design is shown for circuit breaker, fallback, or verification-channel failures.
audience_and_scenarios scores 2: the README targets Hermes users and lays out single-model, multi-key, and relay-station configuration scenarios plus long-task and privacy situations. capability_boundaries scores 2: it states Hermes-only support, macOS-only local models, auto-routing off by default, and focus mode not affecting hardline permanent high-risk commands. trigger_precision is only 1: routing tier scoring, sensitive-term matching, and context warning thresholds are not given, so precision cannot be confirmed from visible files. environment_fit is 1: the macOS/Linux installer still uses the old auto-enable logic and transactional migration/rollback exists only on Windows, so cross-platform fit is incomplete.
information_architecture scores 2: the README has a table of contents, capability table, and project tree, clearly organized. install_notes scores 2: download source, install commands, enable step, uninstall and migration paths, and plugin directory locations are documented. naming_stability is only 1: a migration path from phoenix_full to phoenix_v7 shows naming has changed, so stability evidence is thin. examples_and_faq is 1: only a few command examples exist, with no FAQ or troubleshooting. known_limitations scores 2: it explicitly notes the macOS/Linux migration gap, macOS-only local models, and auto-routing default off. license scores 2: the LICENSE file contains the CC BY-NC 4.0 summary with clear non-commercial terms, though it is not an OSI open-source license and commercial use needs separate authorization. versioning_changelog is only 1: the badge shows 7.8.0 but there is no standalone CHANGELOG or version history file. maintenance_responsibility is 1: author name and WeChat contact exist, but the publisher is unverified and there is no issue template, maintenance SLA, or security disclosure channel.
output_usability scores 2: phoenix-status summarizes routing mode, breaker state, version compatibility, spend, and antibody stats in one user-readable command. marginal_value is only 1: most capabilities (routing tiers, breaker, approval, memory) have analogues in Hermes or general agent frameworks, and the README itself says two refactors replaced self-built wheels with native mechanisms, so incremental value needs runtime confirmation. cost_benefit is 1: paid cross-verification, model switching, memory store, and webhook add token and operational cost, with no cost quantification or benefit comparison.
claim_traceability is only 1: the README claims 381 tests, three production incidents driving design, and two refactors, but visible test files cover only the antibody library and approval hook, so claims cannot be traced individually. cross_source_corroboration is 1: README and test files corroborate antibody-library behavior, but routing, breaker, verification, and privacy modules have no visible source or tests, limiting cross-checking. fact_inference_separation is 1: the README mixes marketing statements (trustworthy, real production incidents) with factual descriptions without separating verified facts from author claims.
- Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- Publisher identity is unverified by the FollowAgents registry; author name and contact cannot serve as reliability or safety evidence.
- Visible evidence covers only README, LICENSE, conftest.py, and two test files; source for routing, breaker, verification, privacy, and webhook modules is not visible, so implementation and security boundaries cannot be verified.
- The README claims 381 tests and three production incidents driving design, but visible tests cover only the antibody library and approval hook, so claims cannot be traced individually.
- The memory store records conversation content and the webhook can emit risk signals, yet retention limits, endpoint, signing, and payload fields are undocumented; audit before deployment.
- No dependency manifest or version pinning is visible, and conftest.py depends on external hermes-agent source, so clean-environment availability has preconditions.
- The macOS/Linux installer still uses old auto-enable logic while transactional migration and failure rollback exist only on Windows, so cross-platform behavior is inconsistent.
- The license is CC BY-NC 4.0; commercial use requires separate authorization, so enterprises must confirm compliance before adoption.
- This is a static source review with no code executed; confidence is low.
FAQ
Is Phoenix (不死鸟) open source?
Is Phoenix (不死鸟) safe to use?
Is Phoenix (不死鸟) still maintained?
Who makes Phoenix (不死鸟)?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.