Nia Vault

An agent-maintained personal wiki layered on top of your indexed sources — a commercial productization of the same Karpathy LLM-wiki pattern kevin-wiki runs by hand. The agent reads sources once, compiles them into interlinked markdown that gets smarter over time.

What it is

Vault is a feature of Nia (trynia.ai, by Nozomio Labs; built by Arlan Rakhmetzhanov, @arlanr). Instead of re-searching raw documents on every query, the agent reads your indexed Nia sources once and compiles them into "a structured, interlinked markdown wiki that gets smarter over time." You curate sources and ask questions; the agent does the summarizing, cross-referencing, and bookkeeping. Source: Nia docs, https://docs.trynia.ai/vault, 2026-06-12

Setup is through the Nia wizard, which creates an account, provisions the API key, installs CLI skills, and walks through the first vault:

npx nia-wizard@latest
nia vault init "My Vault" --from-source <source-id-1>,<source-id-2>

Source: Nia docs, https://docs.trynia.ai/integrations/installation/overview, 2026-06-12

Artifact and source snapshot

The reviewed launch video shows the product path rather than only a pitch: a local Nia vault list, terminal runs that index sources, generated markdown pages for a person/entity, a visible Vault Schema page, workflow logs, and a CLI/docs loop for the user's own sources. That matches the docs' claim that Vault is an agent-maintained wiki with raw sources, generated pages, and a schema file. Source: local video artifact review, 2026-07-02

The current docs expose a direct Markdown route at https://docs.trynia.ai/vault.md and an llms.txt index. The quick start still uses npx nia-wizard@latest; npm reports nia-wizard@0.1.34 as latest, published 2026-04-22. The self-thread short links resolve to https://trynia.ai/ and https://docs.trynia.ai/vault. Source: Nia docs and npm registry, checked 2026-07-02

The three layers — identical to kevin-wiki

Vault's architecture mirrors AGENTS.md almost exactly: Source: Nia docs, https://docs.trynia.ai/vault, 2026-06-12

Layer Nia Vault kevin-wiki equivalent
Raw sources Indexed sources (repos, docs, Slack, Drive, Notion, iMessage); read but never modified raw/ (immutable)
The wiki Markdown pages the agent owns entirely — concepts, entities, cross-refs, timelines wiki/
The schema schema.md inside the vault, co-evolved by you + the agent AGENTS.md

This is the same "LLM is the programmer, wiki is the codebase" thesis Kevin's wiki is built on. Source: compiled, 2026-06-12

Commands

Command What it does
nia vault init "Name" --from-source <ids> Create a vault, trigger first ingest
nia vault ingest <id> / --force Synthesize pages for new sources / re-synthesize all
nia vault sync <id> Regenerate pages whose sources changed
nia vault refresh <id> Combined ingest + sync
nia vault lint <id> Find orphan pages, broken wikilinks, contradictions
nia vault dream <id> Self-improvement loop (see below)
nia vault auto-dream on Weekly automatic dream (Sundays 3am UTC)
nia vault open <id> / --c "tree" Writable bash shell with the vault mounted (agent tool loops)
nia vault search "query" Hybrid semantic + keyword search inside the vault
nia vault agents <id> Append agent setup to CLAUDE.md / AGENTS.md
nia vault skill <id> / setup <id> Generate a skill file / pipe a guided setup prompt

Source: Nia docs, https://docs.trynia.ai/capabilities, 2026-06-12

The "dream" loop

nia vault dream is the self-improvement pass: scan existing pages, discover entities mentioned but lacking their own page, synthesize new pages, find non-obvious connections across sources, detect contradictions, and write a dream-report.md. This is a direct analogue of Kevin's wiki-breakdown.ts (entity mining), lint.ts (orphans/contradictions), and the automation layer — productized as one command with a weekly cron (auto-dream). Source: Nia docs, https://docs.trynia.ai/vault, 2026-06-12

Lineage & how it compares

Per arlanr's launch thread, Vault was "inspired by" both Karpathy's LLM Wiki (the flat-markdown pattern) and Garry Tan's GBrain ("works while you sleep"), adding end-to-end encryption and computer access. The launch thread described 50+ integrations; the current docs name Slack, Drive, Notion, GitHub, Linear, and "40+ more" connectors. Source: X/@arlanr, 2026-04-13; Source: Nia docs, checked 2026-07-02

Nia Vault NIA Docs - Docs as Filesystem for Agents Knowledge Brain System kevin-wiki
Scope Personal life/sources → wiki External docs → filesystem OpenClaw/Hermes brain (Postgres) Hand-run personal wiki
Self-improve dream loop none dream/cron breakdown + lint + automations
Hosting Nia cloud client-side self-host local git repo

Same company as NIA Docs - Docs as Filesystem for Agents (the docs-as-filesystem product); Vault is the personal-knowledge-base sibling. Source: compiled, 2026-06-12


Timeline

  • 2026-04-13 | @arlanr launched "Vault, a self-improving knowledge base that can index your entire life (personal mini AGI)" — updates while you sleep, 50+ integrations (Notion, Snowflake, Datadog), sources become a filesystem; bunx nia-wizard@latest. Credited @karpathy and @garrytan as inspirations. 310 likes, 313 bookmarks; demo video. Source: X/@arlanr, 2026-04-13
  • 2026-06-12 | Page created during domain-2a absorption. Vault documented as "agent-maintained personal wiki layered on top of your indexed sources" with the raw/wiki/schema.md three-layer model matching kevin-wiki. Source: Nia docs, https://docs.trynia.ai/vault, 2026-06-12
  • 2026-07-02 | Reviewed the launch video and refreshed current source state: nia-wizard@0.1.34, docs Markdown/llms.txt routes available, and self-thread links resolving to the Nia site and Vault docs. Source: local media artifact; npm registry; Nia docs, 2026-07-02