{"slug": "show-hn-yana-a-local-first-human-governed-ai-runtime-and-ide-in-rust", "title": "Show HN: Yana – A local-first, human-governed AI runtime and IDE in Rust", "summary": "Vũ Văn Tâm released Yana, a local-first, human-governed AI runtime and IDE written in Rust, with a live desktop workspace (Yana Studio) and a runtime (yana-rt) that routes Claude, GPT, Gemini, DeepSeek and local models through one authority contract across 19 providers. Yana's governance layer ships capability manifests, human approval, a hash-chained audit log, a SHA-256 core-lock manifest pinning 287 core files, and an independent watcher called Giám Thị that can halt every session; the knowledge layer includes 100 agents and 2,026 skills that grant no permissions. The runtime has 40 subcommands and zero Python dependency, while Yana OS (agent identity, autonomy levels, quotas, quarantine) remains in development and the ESP32-S3 Yana Wheelbot robotics platform is experimental; the macOS build is ad-hoc signed and not notarized, so Gatekeeper warns on first launch.", "body_md": "[**English**](https://github.com/yanacuti1121/Yana-AI/blob/main/README.md) ·\n  [Tiếng Việt](https://github.com/yanacuti1121/Yana-AI/blob/main/README.vi.md) ·\n  [한국어](https://github.com/yanacuti1121/Yana-AI/blob/main/README.ko.md) ·\n  [中文](https://github.com/yanacuti1121/Yana-AI/blob/main/README.zh.md)\n\n*Created by Vũ Văn Tâm · Vietnam*\n\nYana is the control plane between an AI and real power. A model can say what it wants to do. Yana decides whether that is allowed, and a person can always stop it.\n\n```\nModel        proposes an action\n   |\nAuthority    is this agent allowed to ask?\n   |\nCapability   what exact power is this?  (a small, fixed set)\n   |\nPolicy       may it happen now?  rules first, then a human\n   |\nExecutor     performs only the permitted operation\n```\n\nAny model goes through the same path: Claude, GPT, Gemini, DeepSeek, or one running on your own machine. Skills teach an agent how to work; only a capability can grant permission to act.\n\n| Component | What it does | Where | Status | \n|---|---|---|---|\n| **Yana Studio** | Desktop workspace for working with AI on a real project. | [`tools/yana-studio`](https://github.com/yanacuti1121/Yana-AI/blob/main/tools/yana-studio) | Live | \n| **Runtime (`yana-rt`)** | Rust engine: one turn loop and one authority contract for local and cloud models, 19 providers. | [`src/`](https://github.com/yanacuti1121/Yana-AI/blob/main/src) | Live | \n| **Governance** | Capability manifests, human approval, hash-chained audit log, core-lock integrity, and Giám Thị, an independent watcher that can halt every session. | [`core/`](https://github.com/yanacuti1121/Yana-AI/blob/main/core) | Live | \n| **Harness adapters** | Claude Code, Codex, Cursor and Antigravity, governed through generated hooks, rules and gates. Enforcement strength differs per host. | [`adapters/`](https://github.com/yanacuti1121/Yana-AI/blob/main/adapters) | Live, varies by host | \n| **Knowledge layer** | 100 agents and 2,026 skills that teach agents how to work. They grant no permissions. | [`core/agents`](https://github.com/yanacuti1121/Yana-AI/blob/main/core/agents) ,[` core/skills`](https://github.com/yanacuti1121/Yana-AI/blob/main/core/skills) | Live | \n| **Yana OS** | Local management plane: agent identity, autonomy levels, quotas, health, quarantine. | [`src/os`](https://github.com/yanacuti1121/Yana-AI/blob/main/src/os) | In development | \n| **Yana Wheelbot** | Robotics platform on ESP32-S3, in its own repository. | [`yana-wheelbot`](https://github.com/yanacuti1121/yana-wheelbot) | Experimental | \n\n`Live` means shipped and in use. `In development` means real code exists but is\nnot feature-complete. `Experimental` means opt-in and not independently verified.\n\n`yana-rt` has 40 subcommands. Zero Python dependency. This is the source-defined count across feature builds, including feature-gated ones.\n\n```\ncore/\n├── hooks/    # 66 PreToolUse / PostToolUse / Stop hooks\n├── rules/    # 71 enforced rules\n├── agents/   # 100 specialist agents\n├── skills/   # 2,026 skills\n└── config/\n    └── core-lock.json    # SHA-256 manifest — 287 core files pinned\n```\n\nOne window for the things you switch between when working with AI on a project:\n\n- **Files and editor:** open a real folder, search across it, edit with CodeMirror. Saves detect outside changes before overwriting.\n- **Terminals:** real PTY sessions in tabs, or a grid of up to 12.\n- **Git:** read-only status, worktrees and diffs.\n- **Chat:** streamed through`yana-rt` , with local or cloud models under the same authority path as everything else.\n- **Governance telemetry:** what was allowed, what was blocked, and why.\n\nDownload from the [latest release](https://github.com/yanacuti1121/Yana-AI/releases/latest)\nor [yana.vutam.link](https://yana.vutam.link).\n\n| Platform | Installer | \n|---|---|\n| macOS, Apple Silicon | `.dmg` or`.zip` | \n| Windows | `.exe` , x64 or ARM64 | \n| Linux | `.deb` or`.AppImage` | \n\nEach release lists its own assets, so check that your platform is there, and verify\nagainst `SHA256SUMS` when provided. The macOS build is ad-hoc signed and **not\nnotarized** (no Apple Developer membership yet), so Gatekeeper warns on first\nlaunch; [docs/MACOS_INSTALL.md](https://github.com/yanacuti1121/Yana-AI/blob/main/docs/MACOS_INSTALL.md) shows the two official ways to open it.\n\n```\npip install yana-ai    # Python CLI\nyana-ai install        # add Yana's hooks and rules to your repo\nyana-ai doctor .       # check that everything is wired\ncargo install yana-rt  # native runtime, no Python needed\n```\n\nNeeds Python 3.11+ (or Rust), Git, and one supported harness. All commands are in\n[COMMANDS.md](https://github.com/yanacuti1121/Yana-AI/blob/main/COMMANDS.md). Yana is not published to npm, see [VERSIONING.md](https://github.com/yanacuti1121/Yana-AI/blob/main/VERSIONING.md).\n\n- **Audit log:** hash-chained, so editing or deleting a line is detectable. It is tamper-detectable, not tamper-proof.\n- **Core-lock:** a SHA-256 manifest detects changed, deleted or injected files in`core/` .\n- **Human gate:** force-push, publish, deploy and delete need confirmation in the current session; earlier approval does not carry over.\n- **Giám Thị:** opt-in, runs outside any AI session, and on a finding locks every later tool call until a person removes the lock.\n- **Limits:**`guard-destructive.sh` matches command strings, not a full shell parse, so a deliberately crafted command can slip past it. Browser-only web deployments without the Rust runtime are not fully governed. Details:[known limitations](https://github.com/yanacuti1121/Yana-AI/blob/main/docs/reference/known-limitations.md) .\n\n[ARCHITECTURE.md](https://github.com/yanacuti1121/Yana-AI/blob/main/ARCHITECTURE.md) · [PHILOSOPHY.md](https://github.com/yanacuti1121/Yana-AI/blob/main/PHILOSOPHY.md) · [ROADMAP.md](https://github.com/yanacuti1121/Yana-AI/blob/main/ROADMAP.md) · [CHANGELOG.md](https://github.com/yanacuti1121/Yana-AI/blob/main/CHANGELOG.md) · [CONTRIBUTING.md](https://github.com/yanacuti1121/Yana-AI/blob/main/CONTRIBUTING.md) · [SECURITY.md](https://github.com/yanacuti1121/Yana-AI/blob/main/SECURITY.md) · [Acknowledgements](https://github.com/yanacuti1121/Yana-AI/blob/main/ACKNOWLEDGEMENTS.md) · [Lineage](https://github.com/yanacuti1121/Yana-AI/blob/main/docs/history/LINEAGE.md)\n\nBuilt by one person, no team, no funding: **Vũ Văn Tâm**, Vietnam ·\n[yana.vutam.link](https://yana.vutam.link/) · [phamlongh230@gmail.com](mailto:phamlongh230@gmail.com) · [Apache 2.0](https://github.com/yanacuti1121/Yana-AI/blob/main/LICENSE)", "url": "https://wpnews.pro/news/show-hn-yana-a-local-first-human-governed-ai-runtime-and-ide-in-rust", "canonical_source": "https://github.com/yanacuti1121/yana-ai", "published_at": "2026-10-20 02:48:40+00:00", "updated_at": "2026-10-20 03:15:54.457296+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-safety", "developer-tools", "ai-products"], "entities": ["Yana", "Vũ Văn Tâm", "Yana Studio", "yana-rt", "Yana OS", "Yana Wheelbot", "Claude", "ESP32-S3"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-yana-a-local-first-human-governed-ai-runtime-and-ide-in-rust", "markdown": "https://wpnews.pro/news/show-hn-yana-a-local-first-human-governed-ai-runtime-and-ide-in-rust.md", "text": "https://wpnews.pro/news/show-hn-yana-a-local-first-human-governed-ai-runtime-and-ide-in-rust.txt", "jsonld": "https://wpnews.pro/news/show-hn-yana-a-local-first-human-governed-ai-runtime-and-ide-in-rust.jsonld"}}