Skip to content

HADES-VAULT v3.0.0 (official release)

Choose a tag to compare

@prasadm1022 prasadm1022 released this 04 Dec 17:17
· 17 commits to main since this release

hades-vault v3.0.0

This is the first public release, built in one autonomous pass. It has had no external security review: treat every control as a design claim, and do not use it to protect anything you cannot afford to lose.

hades-vault is an open-source framework for running a small company of AI employees. Hades is the framework: you direct it as CEO, give it a goal, and departments, teams and a fixed loop (brief, plan, build, verify, review, deliver, retro) work on it until you sign off. Vault is the private datastore and trust kernel: a separate process (vaultd) holds every key, and no agent can approve its own money or irreversible actions.

What is in this release

  • A TypeScript monorepo on Node 22 with 17 packages: schemas and ports, the vault (keystore, encrypted storage, secrets, scrubber, hash-chained audit log), vaultd (capability tokens, approval cards, single-use receipts, step-up checks, kill switch, egress broker, tool gateway, taint tracking), an agent runtime (providers, router, MCP client, built-in tools), skills (SKILL.md, scanner, signing, registry with quarantine), the company model (13 departments, goal intake, charters, HR, SOP engine, budgets, vetoes, sign-off), the learning plane and memory, a double-entry ledger, a paper trading engine, a connector SDK, 14 department packs (21 role templates, 49 SOPs, 64 skills), coding-agent adapters, the hades command, a local approval console and a loopback trace stream for dashboards.
  • The hades command: init, doctor, vault, console, goal, inbox, approve, deny, status, employees, teams, skills, packs, learn, audit, budget, kill, run, schedule, intake, connect, trace and demo. hades demo runs a scripted company end to end, offline, in a throwaway vault.
  • hades connect claude-code|codex|qoder links Claude Code, Codex or Qoder to the goal-intake MCP server and writes the rule that sends work through Hades as a draft. hades trace serves the live company timeline to an animated dashboard on loopback.
  • Documentation: a user guide under docs/, a README with the department, role and skill inventory, and architecture, decisions, policies, the threat model, the internal security review, runbooks and a glossary under knowledge/. Claude Code skills for contributors are under .claude/.
  • The build plan as 127 tickets under tickets/. tickets/INDEX.md is the record of what is done, partial, blocked or deferred.

Try it

npm ci
npm run build
node dist/hades.mjs demo
node dist/hades.mjs packs list     # reads dist/packs, which the build creates

You need Node 22, and git 2.38 or newer for the git tool (older git ignores safe.bareRepository, so the tool refuses to run; hades doctor warns). The demo needs no key and no network. For a real vault, run hades init and read the recovery key runbook first: the recovery key is printed once.

What is simulated

  • Every model call in the tests, the gate suites and the demo is scripted or replayed. The gates test the machinery, not model quality. A real model has never been called: the Anthropic and OpenAI-compatible providers are tested against hand-written fixtures, so hades run has not been used with a live API.
  • Coding-agent teachers are fake CLI fixtures. Email and calendar connectors are mock-backed. Market data is replayed from files. Trading is paper only; nothing in this repository routes a live order.
  • Pack skills ship quarantined: a pack ships unsigned, so a skill gets no tools and no network until a person reviews, signs and promotes it. No run loads a skill body yet (HV-124).
  • Distillation, promotion and graduation of lessons run in the tests and in the offline demo. hades learn shows what runs left behind and turns recording on or off; nothing learns from a live model, because none has been called.

Security status

  • No external security review has happened (HV-108 needs an independent firm). Four internal adversarial passes were run by reviewers who did not write the code; they found and fixed several high-severity issues (token layers chosen by the caller, taint laundering by re-minting a run id, a card redeemed by another run, bare-repository, multi-URL and planted-.git tricks in the git tool) and a number of lower ones. Findings, fixes and the risks that stay are in knowledge/security/review-internal.md. An internal review is not a substitute for an external one.
  • Accepted residual risks, documented rather than fixed: whoever holds the issuer credential chooses run, ticket and employee ids (F9); a second-approver card cannot be approved until per-approver secrets are enrolled (F13); a teacher CLI runs as your OS user and can read what you can read (F19); a skill signature binds no level, so the signing key's role decides how far a signed skill can be promoted (F23). The structural answer to the first and last is to run tool code and teachers in a container or as another OS user; nothing here does that for you.
  • The threat model lists what the design does not defend, and the security invariants are the rules every change is reviewed against.

Known limitations

  • Provider terms have not been reviewed by counsel (HV-006). Runs on closed providers are not recorded for learning until a lawyer approves that provider in the terms table.
  • The CI workflows have never run on hosted runners (HV-010). macOS is unverified; the end-to-end suite has been run on Windows 11 with hades vault start --tcp, and a full Windows test run still hits file-permission and socket-privacy failures (HV-069).
  • No real accounting, bank, CRM, ads or broker connectors (HV-098), no licensed market data (HV-094), no OS keychain or hardware-key backends (HV-113), no SQLCipher backend (HV-112), no live trading (HV-116) and no auto-send rules (HV-117). Document production tools (HV-099), a skill signing command and pack activation (HV-124), optional weight training (HV-114) and a Rust port of vaultd (HV-115) are deferred.
  • Approving a card needs a person at a terminal, or the console on loopback with a presence check. This is on purpose.
  • The git tool pushes one named branch to a named remote on a network host the grant names: no tags, no force, no --all, and pushing to a local path is off by default. It refuses a repository whose own config can run a program or redirect a push, and any path inside a .git directory. It needs git 2.38 or newer, and so does the gh tool, which is tested with a fake runner: no test drives the real gh binary.
  • hades.mjs reads the department packs from a packs folder beside itself. The archive has both; a hades.mjs copied away on its own has no packs, and hades packs and hades schedule say so.

Verify what you download

The release attaches an archive, hades-v3.0.0.tar.gz (the bundled command, the department packs it reads from beside itself, LICENSE and THIRD_PARTY_NOTICES.md), the bundled hades.mjs on its own, a SHA-256 file for each, a CycloneDX SBOM, and a build provenance attestation for both. Check the hash before you run anything. The workflow that builds them has never run on a hosted runner (HV-010).

License

MIT. Third-party code keeps its own license; see THIRD_PARTY_NOTICES.md and the license and reuse policy.