[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107774":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":42,"updatedAt":43,"readmeContent":44,"aiSummary":45,"trendingCount":15,"starSnapshotCount":15,"syncStatus":46,"lastSyncTime":47,"discoverSource":48},107774,"rna_dev","skingko\u002Frna_dev","skingko","Local-first AI agent workbench for long-running projects: background work, built-in memory (no Docker), six web search services, MCP. macOS, Linux, Windows.","https:\u002F\u002Fwww.rna.dev",null,"JavaScript",54,3,52,0,4,42.21,"Apache License 2.0",false,"main",[22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"agent-workbench","ai-agent","brave-search","claude","cli","deepseek","desktop-app","electron","firecrawl","glm","llm","local-first","long-term-memory","mcp","model-context-protocol","openai","openviking","proactive-agent","self-evolving","web-search","2026-10-23 17:16:22","2026-11-21 17:15:04","\u003Cdiv align=\"center\">\n\n**English** · [简体中文](README.zh-CN.md)\n\n\u003Cimg src=\"docs\u002Fassets\u002Flogo.png\" alt=\"Rna Agent logo\" width=\"96\" height=\"96\" \u002F>\n\n# Rna Agent\n\n### A local-first AI agent workbench for long-running projects.\n\n**Projects, not chats. An agent that keeps working in the background, remembers what happened, and tells you when it matters.**\n\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fskingko\u002Frna_dev?style=flat-square&color=5c4ee5)](https:\u002F\u002Fgithub.com\u002Fskingko\u002Frna_dev\u002Freleases\u002Flatest)\n[![Downloads](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fskingko\u002Frna_dev\u002Ftotal?style=flat-square&color=2ea44f)](https:\u002F\u002Fgithub.com\u002Fskingko\u002Frna_dev\u002Freleases)\n[![License: Apache-2.0](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache--2.0-f4c430?style=flat-square)](LICENSE)\n![Platforms](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FmacOS%20%C2%B7%20Linux%20%C2%B7%20Windows-555?style=flat-square)\n![Node.js](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNode.js-%E2%89%A522.19-339933?style=flat-square&logo=nodedotjs&logoColor=white)\n\n**[Website: www.rna.dev](https:\u002F\u002Fwww.rna.dev)** · [Download](#download) · [Why Rna](#why-rna) · [Features](#features) · [Quick start](#quick-start) · [Memory](#memory-with-or-without-docker) · [Web search](#web-search-six-services-one-pair-of-tools) · [Architecture](#architecture) · [FAQ](#faq) · [Docs](#documentation)\n\n\u003Cbr \u002F>\n\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Fworkbench-dark.png\" \u002F>\n  \u003Cimg src=\"docs\u002Fassets\u002Fworkbench.png\" alt=\"The Rna Agent workbench: a project's conversation with tool results, background work and a while-you-were-away summary\" width=\"1200\" \u002F>\n\u003C\u002Fpicture>\n\n\u003C\u002Fdiv>\n\n---\n\nRna Agent is a desktop app and command line for working with AI agents on projects that last longer than one conversation: a game, a novel, a research topic, a codebase. You create a project, give it a folder and an introduction, and the agent keeps context across sessions, works in the background when it has something worth doing, and brings you back a short summary instead of a wall of logs.\n\nMore at **[www.rna.dev](https:\u002F\u002Fwww.rna.dev)**.\n\nIt runs on your machine. Your projects, conversations, memory and keys stay in local files; the only network traffic is to the model and search services you configure.\n\n## Download\n\nGet the build for your system from the [latest release](https:\u002F\u002Fgithub.com\u002Fskingko\u002Frna_dev\u002Freleases\u002Flatest).\n\n| Platform | File | Status |\n| --- | --- | --- |\n| macOS, Apple silicon | `Rna-Agent-\u003Cversion>-macOS-arm64.dmg` | Supported |\n| macOS, Intel | `Rna-Agent-\u003Cversion>-macOS-x64.dmg` | Supported |\n| Linux, x64 | `Rna-Agent-\u003Cversion>-Linux-x64.tar.gz` | Preview |\n| Windows, x64 | `Rna-Agent-\u003Cversion>-Windows-x64.zip` | Preview |\n\nEvery release is built by [GitHub Actions](.github\u002Fworkflows\u002Frelease.yml) and started once on its own platform before it is published; the tests themselves run locally before a version is tagged. The macOS builds are signed with a Developer ID and notarized by Apple. The Linux and Windows builds are not code-signed yet, so Windows SmartScreen asks for confirmation the first time (see the [release notes](.github\u002Frelease-notes.md)).\n\nmacOS is where Rna is developed and used every day. Linux and Windows builds run the same code; features that rely on macOS facilities (the command sandbox, the background service manager) are reduced there. Reports from those platforms are very welcome.\n\n## Why Rna\n\nMost agent tools are a chat box attached to a model. Rna is built around the parts that matter when work spans days:\n\n- **A project is the unit, not a conversation.** Projects own a folder, a memory, a set of skills and tools, a schedule and a history. Sessions come and go inside them.\n- **The agent can work while you are away, and says so.** Background investigation, scheduled work and follow-ups run under explicit rules; when you return you get a *while you were away* summary, and a message you send interrupts background work first, keeping what it did.\n- **Memory that needs nothing installed.** Choose the built-in local memory and conversations and delivered files are searchable on your machine at once; connect an [OpenViking](https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking) server when you want semantic search.\n- **A cheap judge in front of the expensive model.** Routing, \"is this worth interrupting you for\", \"does this need memory\" and similar yes\u002Fno questions go to a small judgment model (JEV, about a thousandth of the main model's cost) *before* the main model writes anything.\n- **Changes are measured, not assumed.** Candidate changes to a project's own behavior are evaluated against a frozen baseline and adopted only when they clear explicit gates, with a visible history and one-step revert.\n\n## Features\n\n| | |\n| --- | --- |\n| **Projects and sessions** | Project folders, per-project capability assignment, archive \u002F restore, deletion that also clears the evidence it produced, session worktrees for isolated edits |\n| **Models** | DeepSeek, GLM (Zhipu), OpenAI-compatible endpoints, Anthropic via API key, ChatGPT subscription sign-in; per-session model and reasoning level, automatic reasoning level |\n| **Tools** | Project file read \u002F write \u002F edit, command execution with a sandbox on macOS, a terminal, a side-panel browser, file preview with live reload, git status and worktrees |\n| **Skills and MCP** | On-demand skills, a skill marketplace (ClawHub, skills.sh), stdio and Streamable HTTP MCP servers, per-project assignment and permission levels |\n| **Memory** | Built-in local memory or OpenViking, automatic recall within a token budget, a memory browser, memory kept per project and removed with the conversation it came from |\n| **Web** | Search and page reading through FastCRW, Firecrawl, Tavily, Brave, Zhipu or Bocha |\n| **Proactive work** | Background investigation, schedules, \"while you were away\" summaries, adaptive pacing that follows how you respond, an emergency stop for everything |\n| **Evolution** | Per-project gene tree of behavior rules, evaluated candidates, a system evolution page that shows tool failures by cause |\n| **Operations** | Background service with crash recovery, restore points, in-app update with rollback, a CLI that talks to the same service |\n| **Interface** | English and Simplified Chinese, light and dark themes, keyboard-first |\n\n## Quick start\n\n### From a release\n\n1. Download the file for your platform and open it (macOS: drag **Rna Agent** to Applications).\n2. **Settings → Models**: add a provider and its key, then pick a default model.\n3. **Settings → Memory**: choose **Local memory (built in)** for no setup, or connect OpenViking.\n4. Optional: **Settings → Web tools** to let the agent search and read pages.\n5. Create a project, point it at a folder, and start a session.\n\n### From source\n\nRequires Node.js 22.19 or newer. The host and the SDK have no runtime dependencies.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fskingko\u002Frna_dev.git\ncd rna_dev\u002Fprototypes\u002Fcontrol-center\n\n# build the web UI once\nnpm ci --prefix web && npm run build --prefix web\n\n# start the local service, then open http:\u002F\u002F127.0.0.1:4317\n.\u002Frna start\n```\n\nRun the desktop shell from source (Electron):\n\n```bash\ncd prototypes\u002Fcontrol-center\u002Fdesktop\nnpm ci && npm start\n```\n\n### Command line\n\nThe `rna` command talks to the same service and the same projects as the app.\n\n```bash\n.\u002Frna help                       # everything it can do\n.\u002Frna config                     # redacted configuration and the model catalog\n.\u002Frna memory-config --backend embedded\n.\u002Frna web-config --provider firecrawl --enabled true && .\u002Frna web-test\n.\u002Frna chat --workspace \"$PWD\"    # an interactive session in the current folder\n```\n\n## Memory, with or without Docker\n\nRna keeps project memory in one of two ways, chosen in **Settings → Memory**. They keep separate memories and do not migrate into each other; switching back brings the old memory back.\n\n| | OpenViking semantic memory | Local memory (built in) |\n| --- | --- | --- |\n| Needs | Docker, OpenViking, an embedding model, a text model | Nothing |\n| Search | By meaning: a different wording or language still finds it | By keywords (Chinese by character pairs) |\n| Conversations | Distilled into long-term memories by a model | Kept as they were said, no model call |\n| Data | The OpenViking service's volume | `\u003Cstate>.rna\u002Fmemory\u002Fembedded.sqlite` on this machine |\n\nThe built-in engine answers the same requests the host sends an OpenViking server, so recall, the memory tools, the browser and conversation deletion run the same code on either backend. Replayed over 100 real searches, an earlier turn of the same conversation ranked first in 90% of cases and within the top five in 98%; the [write-up](docs\u002Fembedded-memory.md) also says what keyword search cannot do.\n\n## Web search: six services, one pair of tools\n\nThe agent always sees the same two tools, `web_search` and `web_fetch`. Which service answers is a setting.\n\n| Service | Search | Reads pages | Key |\n| --- | --- | --- | --- |\n| [FastCRW](https:\u002F\u002Ffastcrw.com) (default; self-hosted compatible) | yes | via the service | optional |\n| [Firecrawl](https:\u002F\u002Fwww.firecrawl.dev) | yes | via the service | optional, rate-limited without one |\n| [Tavily](https:\u002F\u002Ftavily.com) | yes | via the service | required |\n| [Brave Search](https:\u002F\u002Fbrave.com\u002Fsearch\u002Fapi\u002F) | yes | from this machine | required |\n| [Zhipu Web Search](https:\u002F\u002Fopen.bigmodel.cn) | yes | via the service | required |\n| [Bocha](https:\u002F\u002Fbochaai.com) | yes | from this machine | required |\n\nServices that only search have pages read directly from your machine: anonymous requests to public addresses only, with the connection pinned to the address that was checked, every redirect hop re-checked, and no key sent. Choosing another service switches to that service's address and clears the saved key, so a key is never sent to a service it was not saved for.\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"docs\u002Fassets\u002Fmemory-local.png\" alt=\"Settings, Memory: two cards to choose between OpenViking semantic memory and the built-in local memory\" width=\"49%\" \u002F>\n  \u003Cimg src=\"docs\u002Fassets\u002Fsettings-web.png\" alt=\"Settings, Web tools: six search services to choose from, with address and key fields\" width=\"49%\" \u002F>\n\u003C\u002Fdiv>\n\n## Architecture\n\n```text\n┌──────────────── desktop shell (Electron) ────────────────┐\n│  workbench UI (React, Vite)   ◄── HTTP + SSE ──►  CLI    │\n└───────────────────────────────┬──────────────────────────┘\n                                │ 127.0.0.1 only\n┌───────────────────────────────▼──────────────────────────┐\n│ host service  prototypes\u002Fcontrol-center  (Node ESM)      │\n│   projects · sessions · memory · schedules · evolution   │\n│   background supervisor · maintenance · restore points   │\n├──────────────────────────────────────────────────────────┤\n│ Rna SDK  packages\u002Fsdk  (Node ESM, no dependencies)       │\n│   agent loop · tools · MCP · decision kernel (JEV) ·     │\n│   web providers · evaluation · prompt layers             │\n└───────────────┬──────────────────────┬───────────────────┘\n                │                      │\n     model providers            memory: built-in SQLite\n     (your keys, local file)    or an OpenViking server\n```\n\n- The service listens on `127.0.0.1` only. Keys are stored in a separate local credentials file (mode 600) and are never returned by the API or written to project files.\n- Judgments go through one decision kernel with typed questions, per-question thresholds, a cache and a ledger; the model writes only after the judge has been asked.\n- State is a sharded local store with checkpoints, so an update can be rolled back and a crash does not lose a conversation.\n\n## FAQ\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Does my data leave my machine?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nProjects, conversations, memory and credentials are local files. Rna sends requests only to the model providers, search services and MCP servers you configure, and to the JEV judgment service if you enable it. There is no Rna server, and nothing is reported back to the project.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Do I need Docker?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nNo. Choose the built-in local memory. Docker is only needed for the OpenViking backend, which adds semantic search and model-distilled memories.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Which models can I use?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nAnything reachable through an OpenAI-compatible endpoint, plus DeepSeek, GLM, Anthropic (API key) and a ChatGPT subscription. Models are added in Settings → Models; the model list is read from the provider, and models you remove stay removed.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>How is this different from an IDE agent or a chat client?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nAn IDE agent works inside one editor session. A chat client holds one conversation. Rna holds a *project*: its folder, its memory, its schedule and its history, with an agent that can keep working between your sessions and report back.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Is the self-evolution real?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nIt is a measured process, not a promise. Candidate changes to a project's behavior are scored against a frozen baseline and adopted only when they pass explicit improvement, safety and cost gates; the history and the failures are visible. Rna does not claim a general quality gain.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Why are the Linux and Windows builds \"preview\"?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nThe code is the same, but development and daily use happen on macOS. The command sandbox and the OS service manager are macOS-specific, so on Windows the background service runs only while the app is open. Each build is started once in CI on its own platform before release.\n\n\u003C\u002Fdetails>\n\n## Documentation\n\n| Document | Contents |\n| --- | --- |\n| [Built-in local memory](docs\u002Fembedded-memory.md) | How it works, measurements, limits |\n| [OpenViking deployment](docs\u002Fopenviking-local.md) | Docker setup for semantic memory (Chinese) |\n| [SDK guide](packages\u002Fsdk\u002FREADME.md) | API and usage examples |\n| [SDK architecture](docs\u002Frna-sdk.md) | Design, sources and boundaries (Chinese) |\n| [System design](docs\u002Fmaster-design.md) | Product, architecture, scheduling, caching, memory, evolution, security (Chinese) |\n| [Specifications](docs\u002Fspecs) | Control API and storage, stream protocol, context and capabilities, evolution and evaluation (Chinese) |\n| [Operations](docs\u002Foperations) | Application maintenance, continuous runtime, recovery (Chinese) |\n| [Agent working notes](AGENTS.md) | Conventions for coding agents working in this repository |\n\n## Contributing\n\nIssues and pull requests are welcome; see [CONTRIBUTING.md](CONTRIBUTING.md). Report security problems privately as described in [SECURITY.md](SECURITY.md).\n\n```bash\n# SDK tests\ncd packages\u002Fsdk && node --test test\u002F*.test.mjs\n# host tests\ncd prototypes\u002Fcontrol-center && node --test\n# web: typecheck + tests\ncd prototypes\u002Fcontrol-center\u002Fweb && npm run typecheck && npm test\n```\n\n## Acknowledgements\n\nRna studies and borrows ideas from [Pi](https:\u002F\u002Fgithub.com\u002Fearendil-works\u002Fpi), [Headlong](https:\u002F\u002Fgithub.com\u002Flaude-institute\u002Fheadlong), [OpenViking](https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking), the [DeepSeek harness](https:\u002F\u002Fgithub.com\u002Fdeepseek-ai\u002Fdeepseek-harness), [mu](https:\u002F\u002Fgithub.com\u002Fqybaihe\u002Fmu), [RRSI](https:\u002F\u002Fgithub.com\u002Fgoogle-research\u002Frrsi), [ZCode](https:\u002F\u002Fgithub.com\u002Fzai-org\u002FZCode) and [ModularRSI](https:\u002F\u002Fgithub.com\u002FIQuestLab\u002FModularRSI). The pinned revisions that were read are listed in [references\u002Fmanifest.json](references\u002Fmanifest.json); no source from them is vendored here.\n\n## License\n\n[Apache License 2.0](LICENSE).\n","Rna Agent 是一款面向长期项目的本地优先 AI 智能体工作台，支持在桌面端持续运行、跨会话记忆与后台自主任务执行。核心功能包括内置持久化记忆（无需 Docker）、集成六种网页搜索服务（如 Brave、FireCrawl）、兼容 Model Context Protocol（MCP）及多模型接入（OpenAI、Claude、DeepSeek、GLM 等）。采用 Electron 构建，原生支持 macOS、Linux 和 Windows。适用于需长期迭代的创造性或研究型项目，如小说写作、游戏开发、学术调研或代码库分析等场景。",2,"2026-11-24 04:32:55","CREATED_QUERY"]