Raven README

The project's README from github.com/EverMind-AI/Raven. As one markdown file: README.md.

Raven banner

Coming next: The Harness of Harnesses is Raven's next-version direction, not a capability of the current public release.

X Hugging Face Discord WeCom

Website · 中文


Raven

The current public release of Raven is the open-source, self-improving Agent Harness you can run today. It brings terminal-first execution, local tracing, long-term memory, skills, evaluation, and reusable workflows into one system for long-running AI work.

Coming Next: The Harness of Harnesses

As AI agents move from narrow tasks toward long-running, cross-domain work, manually designing a single, ever-larger harness stops scaling. A harness optimized for one model or domain also cannot provide every capability needed for general intelligence.

Raven's next version will move toward The Harness of Harnesses: a continuously evolving multi-agent ecosystem built for autonomous collaboration and open co-creation. It is designed to build and improve Agent Harnesses for specific models and domains, then compose their heterogeneous execution capabilities into an All-Domain Collaboration Network.

Trusted Persistent Evolving
Harness capabilities will be scored based on verified performance, not self-declared labels. The network is designed to carry verified results, task state, and long-term memory across executors. Each verified run will feed experience back into capability profiles, skills, routing, and the wider network.

This next-version architecture is designed to move beyond fixed model-harness pairs. Through a continuous evaluation -> execution -> verification -> memory -> feedback loop, it will discover, compose, and improve the right capabilities for each task. Validated work will become reusable experience, allowing both individual agents and the wider capability network to evolve.

The internal research prototype behind this direction has been evaluated across 22 Agent benchmark tasks covering task performance, cost, and key mechanism gains. The reported results show comprehensive performance and efficiency improvements over existing agent systems while advancing the quality-cost Pareto frontier.

The current public Raven release does not yet implement The Harness of Harnesses. Raven today is the runnable self-improving Agent Harness described in this repository; the section above describes the next version we are building toward.

Raven is pre-alpha. Interfaces and configuration may change quickly.

Next-Version Research Benchmarks

Benchmark Research Prototype Result Comparison
Efficiency 56.7% at 27B; 58.1% at 397B Hermes 46.8% / 47.9%; +9.9pp at 27B
Self-evolution Ranked #1 on EvoAgentBench +6.2pp over the next result across four methods
Proactivity 0.60 F1 on ProAgentBench 2.4x Hermes/OpenClaw at 0.253

These results come from the internal research prototype. They do not mean that the current public release already supports the Harness of Harnesses network. Model, task set, and evaluation protocol all affect outcomes.

https://github.com/user-attachments/assets/3c541dae-5852-447f-8ea6-c9877612ad57

Quick Start

Install

Linux, macOS, or WSL2:

curl -fsSL https://raven.evermind.ai/install.sh | bash

Native Windows PowerShell:

irm https://raven.evermind.ai/install.ps1 | iex

Windows PowerShell 5.1 may reject the redirect. Use the direct installer URL instead:

irm https://raw.githubusercontent.com/EverMind-AI/Raven/refs/heads/main/install.ps1 | iex

Onboard and run

raven

That is the whole first run: with nothing configured yet, raven walks you through setup and then opens the TUI in the same session. To reconfigure later, run raven onboard explicitly.

The bilingual onboarding wizard configures six areas without requiring manual edits to ~/.raven/config.json:

  1. LLM provider and model
  2. Sandbox or execution location
  3. Chat channels
  4. EverOS long-term memory
  5. Deep Research
  6. Cold-start import from other AI tools

Provider setup includes an in-step connectivity check. Optional steps can be skipped and configured later. If setup is incomplete, run:

raven doctor

Upgrade

raven upgrade --check
raven upgrade

Upgrades preserve configuration, sessions, and memory. Raven does not update automatically.

Deep Research

Deep Research gives Raven a dedicated path for open-ended questions that require broad web search, source reading, analysis, and multi-source cross-checking. It uses MiroThinker and returns a self-contained answer with inline citations and references.

Configure it during onboarding or later:

raven deep-research enable
raven deep-research get

Once configured, Raven can invoke deep_research when a task needs more than a quick lookup. Before a paid, minute-scale run, interactive surfaces ask whether to use Deep Research or regular search for that query.

Delivery adapts to where Raven is running:

Use regular search for a single fact or URL. Use Deep Research for comparisons, landscape reviews, technical investigations, and questions where source agreement matters.

Tracing

Tracing makes Raven's reasoning path inspectable without sending trace data to a hosted service. Open the local dashboard with:

raven tracing

Each session.turn becomes a trace tree containing the work that happened beneath it:

Tracing is enabled by default and is designed to never interrupt Raven's control flow. Spans are stored locally at ~/.raven/traces/logs/audit-spans.log; set RAVEN_TRACING_DIR to move the state directory or RAVEN_TRACING=0 to disable recording.

The schema follows a small, versioned semantic contract. See the Tracing Standard API for span names, attributes, artifact behavior, and extension rules.

Core Systems

System What it adds
EverOS memory Durable user memory, agent memory, and world knowledge across sessions
Context Engine Explicit token budgets and a unified assembly pipeline that preserves the most useful context
Proactivity Sentinel observations, scheduled work, nudge policy, and deferred decisions
SkillForge Built-in, workspace, EverOS, and mirrored skills with retrieval, feedback, and evolution
Evolver Reproducible evaluation loops for improving agents and reusable procedures
Agent Templates Shareable starting points for specialized digital workers built on the same harness

Providers and Gateways

Raven supports API-key, OAuth, local, and OpenAI-compatible providers. The onboarding catalog includes OpenRouter, OpenAI, Anthropic, Gemini, MiniMax, DeepSeek, Z.ai, DashScope, Moonshot, VolcEngine, SiliconFlow, Groq, AiHubMix, Azure OpenAI, GitHub Copilot OAuth, OpenAI Codex OAuth, Ollama, and hosted vLLM.

Twelve gateway adapters connect Raven to Telegram, Slack, Discord, WhatsApp, Matrix, Feishu, WeCom, Mochat, QQ, DingTalk, Email, and WeChat.

raven channels list
raven channels enable <adapter>
raven gateway

Command Reference

Command Purpose
raven or raven tui Launch the terminal UI
raven agent -m "..." Run a one-shot task
raven onboard Configure providers, sandboxing, channels, memory, research, and import
raven status Show configuration and runtime status
raven doctor Diagnose provider and environment problems
raven tracing Open the local trace dashboard
raven sessions list Browse, resume, fork, export, or delete sessions
raven skill list Inspect the local SkillForge catalog
raven sentinel status Inspect proactive memory and scheduled nudges
raven cron list Inspect scheduled jobs
raven gateway Run messaging gateways
raven upgrade Upgrade a managed installation

Run raven --help or raven <command> --help for the complete CLI surface.

Documentation


Architecture

CLI / TUI / Messaging Gateways
              |
              v
          TUI-RPC / Spine
              |
              v
           Agent Loop
      +-------+-------+
      |       |       |
  Providers  Tools  Subagents
      |       |       |
      +--- Context Engine ---+
              |
      +-------+--------+
      |                |
 EverOS Memory     SkillForge
      |                |
      +--- Proactivity + Evolver

The Python runtime and React/Ink TUI communicate only through typed TUI-RPC. The Spine carries runtime events, while the Agent Loop coordinates providers, tools, context, memory, skills, subagents, and proactive work.

Key directories:

raven/agent/             agent loop, tools, and subagents
raven/channels/          messaging adapters
raven/context_engine/    context assembly and token budgeting
raven/memory_engine/     EverOS integration and local skill memory
raven/proactive_engine/  sentinel, scheduling, and nudges
raven/providers/         model providers and routing
raven/skill_hub/         external skill retrieval
raven/tracing/           instrumentation, storage, and viewer
raven/tui_rpc/           typed runtime-to-TUI boundary
ui-tui/                  React/Ink terminal interface

EverMind Ecosystem

EverMind connects memory research, production-ready products, and practical integrations into one open-source ecosystem.

Products
EverOS A local-first, Markdown-native long-term memory runtime for agents and users.
Raven A memory-first, self-improving agent harness with proactivity, context control, and skill evolution.
EverMe (CLI) A CLI and agent plugin suite for cross-device, cross-agent personal memory.
Research & Evaluation
SkillCorpus Curated, retrieval-ready agent skill corpora with retrieval and evaluation tooling.
EverAlgo Stateless extraction, ranking, parsing, and memory operators that power EverOS.
HyperMem Hypergraph-based hierarchical memory for coarse-to-fine long-term conversation retrieval.
MSA Memory Sparse Attention for scalable latent memory and 100M-token contexts.
EverMemBench Evaluation of factual recall, applied reasoning, and personalized generalization in memory systems.
EvoAgentBench Longitudinal evaluation of agent self-evolution, transfer efficiency, error avoidance, and skill use.
Integrations
OpenClaw OpenClaw plugin for automatic recall, capture, and session-memory lifecycle management.
Hermes Agent Hermes plugin for persistent memory across Hermes sessions.
DeepSeek Harness DSH plugin for memory-aware DeepSeek Harness agents.
Dify Self-hosted and cloud tools for explicit memory search and storage in workflows and agents.

Together, these projects form EverMind's research-to-runtime stack: methods and benchmarks become reusable memory infrastructure, products, and agent integrations.

Contributing

Issues and pull requests are welcome. Start with the developer workflow, follow AGENTS.md for repository rules, and use GitHub Discussions for design conversations.

License

Apache License 2.0

Raven (EverMind-AI/Raven)

Searching Database…

5.5K ·GitHub
这是什么?Raven 是一个开源、可自我改进的 AI 智能体框架(harness),可在终端中运行长时间的智能体任务,内置长期记忆、技能、追踪和评估功能。其公开的长期方向“Harness of Harnesses”是一个多智能体生态,用于组合不同的 harness,但这部分在当前版本中尚未实现。
这是我可以导入的库,还是我运行的程序?这是一个可运行的程序:一个 Python CLI 和 TUI,你可以在终端中安装并启动(raven 或 raven tui),而不是导入到自己代码里的库。
我该怎么安装和启动它?在 Linux、macOS 或 WSL2 上运行所提供的基于 curl 的安装脚本;在原生 Windows 的 PowerShell 中,则改用直接安装程序的 URL。首次运行 'raven' 会引导你完成初始配置,然后在同一会话中打开 TUI。
我可以把它连接到哪些 AI 服务商?引导配置支持 API 密钥、OAuth、本地以及兼容 OpenAI 的服务商,包括 OpenRouter、OpenAI、Anthropic、Gemini、MiniMax、DeepSeek、Z.ai、DashScope、Moonshot、VolcEngine、SiliconFlow、Groq、AiHubMix、Azure OpenAI、GitHub Copilot OAuth、OpenAI Codex OAuth、Ollama 和托管的 vLLM。
这个能直接用于生产环境吗?不能。README 明确标注其为 pre-alpha 阶段,接口和配置仍在变动。另外请注意,页面上宣传的“Harness of Harnesses”多智能体网络目前只是研究方向,当前版本尚未实现。
追踪和调试数据会存到哪里?追踪数据保存在你的本地机器上,写入 ~/.raven/traces/logs/audit-spans.log,并通过本地仪表盘查看,不涉及任何托管服务。
什么是 Deep Research?Deep Research 是内置模式,由 MiroThinker 提供支持,适用于需要广泛网页搜索、阅读资料并交叉核对的开放式问题。它会返回一份自包含的报告,内含行内引用,可在 CLI/TUI 中实时显示,或回传到聊天网关,并归档在本地的 /deepresearch/ 下。
我能在 Slack 或 Telegram 之类的应用里和 Raven 对话吗?可以。有十二个网关适配器可将 Raven 连接到 Telegram、Slack、Discord、WhatsApp、Matrix、飞书、企业微信、Mochat、QQ、钉钉、邮件和微信,通过 'raven gateway' 运行。
EverOS 记忆系统究竟存储什么?EverOS 是 Raven 的长期记忆层,存储可跨会话保留的持久用户记忆、智能体记忆和世界知识,并与一个单独的 Context Engine 协同工作,后者负责管理每轮对话的 token 预算。
什么是 SkillForge?SkillForge 是 Raven 的技能系统,整合了内置、工作区、EverOS 和镜像技能,并结合检索、反馈与演化机制,这也是 Raven 随时间自我改进的一部分。
Size
246.6 MB
Stars
5.5K
Age
4mo
Commits · 90 Days