diff --git a/README.md b/README.md index de9dde6..346b4b6 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@
-![Raven banner](https://github.com/user-attachments/assets/5a99d736-49ee-49c9-8b51-890f14078e78) +![Raven banner](https://github.com/user-attachments/assets/6c6f585a-21b6-4e7b-9187-acffe59d0c10)

X - HuggingFace + Hugging Face Discord - WeChat + WeCom

[Website](https://raven.evermind.ai) · [中文](README.zh-CN.md) @@ -25,253 +25,125 @@ Raven helps agents improve across runs by continuously refining the systems arou to give the agent access to MiroThinker-backed, multi-source research when a task needs deeper investigation. -

- Starting Raven from the command line -

+> Raven is pre-alpha. Interfaces and configuration may change quickly. -
- Table of Contents +## Benchmarks -
+| Benchmark | Raven 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` | -- [Quick Install](#quick-install) -- [What You Can Do in 2 Minutes](#what-you-can-do-in-2-minutes) -- [Messaging Gateways](#messaging-gateways) -- [Why Raven](#why-raven) -- [What Raven Is Built For](#what-raven-is-built-for) -- [Agent Templates](#agent-templates) -- [Useful Commands](#useful-commands) -- [Docs by Goal](#docs-by-goal) -- [Architecture](#architecture) -- [Developer Workflow](#developer-workflow) -- [Status](#status) -- [EverMind Ecosystem](#evermind-ecosystem) -- [Contributing](#contributing) +Results describe the published test configurations; model, task set, and evaluation protocol all affect outcomes. -
+https://github.com/user-attachments/assets/3c541dae-5852-447f-8ea6-c9877612ad57 -
+## Quick Start -## Quick Install +### Install -### Linux, macOS, WSL2 +Linux, macOS, or WSL2: ```bash curl -fsSL https://raven.evermind.ai/install.sh | bash ``` -### Windows (native, PowerShell) - -> **Heads up:** Native Windows runs Raven without WSL. CLI, TUI, gateway, and -> tools install natively. If you would rather use WSL2, the Linux/macOS -> one-liner above works there too. - -Run this in PowerShell: +Native Windows PowerShell: ```powershell irm https://raven.evermind.ai/install.ps1 | iex ``` -On **Windows PowerShell 5.1** (the version built into Windows) that command -fails with `Permanent Redirect`. Use the direct URL instead: +Windows PowerShell 5.1 may reject the redirect. Use the direct installer URL instead: ```powershell irm https://raw.githubusercontent.com/EverMind-AI/Raven/refs/heads/main/install.ps1 | iex ``` -### After installation - -The installer handles everything: uv, Python 3.12, Node.js 22, and Raven. - -Open a new terminal. On Linux, macOS, or WSL2, you can also reload your current -shell: - -```bash -source ~/.bashrc # or: source ~/.zshrc -``` - -Then run: +### Onboard and run ```bash raven onboard raven ``` -Raven supports OpenRouter, OpenAI, Anthropic, Gemini, DeepSeek, GitHub Copilot, -OpenAI Codex OAuth, MiniMax Global/CN OAuth, and custom OpenAI-compatible endpoints. +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 -If setup fails or a provider is not ready, run: +Provider setup includes an in-step connectivity check. Optional steps can be skipped and configured later. If setup is incomplete, run: ```bash raven doctor ``` -### Upgrade an existing installation - -Check for the latest published stable release: +### Upgrade - raven upgrade --check - -Upgrade Raven without resetting configuration, sessions, or memory: - - raven upgrade - -Raven upgrades are user-triggered, not automatic. Editable source installs are -not overwritten; update the checkout and rerun its development setup instead. -On POSIX systems, the command stays synchronous until the helper reports its -final result. On native Windows, it schedules an external helper so the running -executable can exit; wait for the helper's completion message before running -Raven again. - -## What You Can Do in 2 Minutes - -- Start the Raven harness in a terminal-native TUI with `raven` or `raven tui`. -- Run a one-shot shell task with `raven agent -m "..."`. -- Configure providers, sandboxing, channels, and memory with `raven onboard`. -- Enable the MiroThinker deep_research tool with `raven deep-research enable`. -- Open captured LLM/tool/memory spans with `raven tracing`. -- Browse built-in and local SkillForge skills with `raven skill list`. -- Resume, fork, export, or delete previous work with `raven sessions list`. -- Check proactive memory and scheduled nudges with `raven sentinel status`. - -## Messaging Gateways - -Raven currently ships 12 gateway adapters. Use `raven channels list` to see the -adapters available in your local install and `raven gateway` to run the gateway -daemon. +```bash +raven upgrade --check +raven upgrade +``` -| Gateway | Adapter id | Notes | -| --- | --- | --- | -| Telegram | `telegram` | Bot-based messaging | -| Slack | `slack` | Workspace messaging | -| Discord | `discord` | Server and bot messaging | -| WhatsApp | `whatsapp` | Uses the bundled TypeScript bridge | -| Matrix | `matrix` | Matrix rooms and direct messages | -| Feishu | `feishu` | Lark/Feishu app integration | -| WeCom | `wecom` | WeCom group and app messaging | -| Mochat | `mochat` | API/socket-based messaging | -| QQ | `qq` | QQ bot integration | -| DingTalk | `dingtalk` | DingTalk stream integration | -| Email | `email` | IMAP/SMTP mailbox integration | -| WeChat | `weixin` | Personal WeChat adapter; `weixin` is the current CLI id | - -## Why Raven - -Most agent tools stop at "LLM + tools + loop." That works for demos, but it -breaks down when the agent becomes part of your daily environment: - -- Long sessions overflow context and lose important details. -- Every turn re-sends the same system prompt, skills, and tool definitions. -- The agent waits passively even when it can see something that needs action. -- Useful workflows stay trapped in chat history instead of becoming reusable - skills. - -Raven treats the harness around the agent as the product, not a thin wrapper or -an edge case. - -Raven's self-improving harness is built around four product bets: - -- **Memory-first harness:** user memory, agent memory, and world knowledge stay - separate, durable, and reusable across sessions. -- **Deep Research as a tool:** long-form, multi-source research can be enabled - with `raven deep-research enable` and then used by the agent when the task - calls for deeper investigation. -- **Self-improving skills:** repeated workflows can become skills, collect - feedback, and evolve instead of staying buried in chat history. -- **Agent Templates:** builders can start from Raven, define an agent for a - scenario, and share it without rebuilding the harness layer. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CapabilityRavenTypical tool-based agent
Native terminal productInteractive TUI, CLI, gateway mode, and typed RPC between Python and React/InkUsually a thin command wrapper around a chat loop
Long memoryEverOS-backed memory, local skills, session history, and workspace templatesUsually transient context or provider-side chat history
Context controlCurator and legacy context engines with explicit token budgets and fail-safesUsually truncation, summarization, or hidden prompt heuristics
ProactivitySentinel, scheduler, nudge policy, and deferred decision flowUsually waits until the user types again
Deep ResearchOpt-in MiroThinker-backed deep_research tool enabled with raven deep-research enableUsually external search tabs, ad hoc browser prompts, or one-off research scripts
Skill evolutionDetects reusable procedures, materializes skills, tracks feedback, and evolves themUsually static markdown prompts or manually installed plugins
+Upgrades preserve configuration, sessions, and memory. Raven does not update automatically. -
+## Deep Research -## What Raven Is Built For +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](https://miromind.ai/) and returns a self-contained answer with inline citations and references. -Raven is designed for the workflows where ordinary chat agents and static tool -loops feel too small. +Configure it during onboarding or later: -### 1. Terminal-Native Daily Work +```bash +raven deep-research enable +raven deep-research get +``` -Raven can run the harness as a native TUI, a direct CLI entry point, or a -gateway-backed runtime. The TUI is not a web shell: it is a React/Ink -application talking to Raven's Python runtime through a typed RPC protocol. +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. -### 2. Memory That Becomes Useful +Delivery adapts to where Raven is running: -Raven connects the harness to EverOS for long-term user and agent memory. -Sessions, procedures, and reusable patterns can be turned into local skill -material instead of disappearing into old transcripts. +- **CLI and TUI:** progress streams inline while Raven searches, reads pages, and runs analysis. The completed report is shown directly without being rewritten by the main model. +- **Gateway channels:** the run continues in the background and the completed report is delivered back to the originating conversation. +- **Local archive:** every completed result is saved under `/deep_research/` for later use. -### 3. Context That Does Not Collapse Under Pressure +Use regular search for a single fact or URL. Use Deep Research for comparisons, landscape reviews, technical investigations, and questions where source agreement matters. -The context stack has a legacy path and a Curator path. Under pressure, the -harness can archive, retrieve, and assemble context with explicit budgets -instead of blindly clipping the oldest messages. +## Tracing -### 4. Agents That Can Reach Out First +Tracing makes Raven's reasoning path inspectable without sending trace data to a hosted service. Open the local dashboard with: -Sentinel watches events, schedules checks, evaluates whether a nudge is useful, -and routes proactive actions through guardrails. The point is not noisy -notifications; the point is an agent harness that can notice. +```bash +raven tracing +``` -### 5. Skills That Improve +Each `session.turn` becomes a trace tree containing the work that happened beneath it: -SkillForge treats skills as procedural memory. It can detect reusable workflows, -write skill files, track execution feedback, and evolve instructions when they -stop working. +- LLM calls, models, token usage, cost, latency, and errors +- Tool inputs and outputs +- Subagent runs and parent-child relationships +- Skill reads and injections +- Memory recall, storage, extraction, and consolidation +- Large prompts and results stored as out-of-line artifacts -### 6. A Harness That Evolves Itself +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. -`raven.evolver` runs measured self-evolution against a benchmark: it diagnoses -failing trajectories, designs candidate harness patches as real git commits, -and promotes only what passes statistical gates — with a sealed test set for -an honest generalisation number. One command -(`python -m raven.evolver run --config `), fully resumable. Start at -[raven/evolver/README.md](raven/evolver/README.md). +The schema follows a small, versioned semantic contract. See the [Tracing Standard API](docs/TRACING_STANDARD_API.md) for span names, attributes, artifact behavior, and extension rules. -### 7. Research and Observability in the Harness +## Core Systems -Raven now includes two opt-in surfaces for deeper work. `raven deep-research` -configures the MiroThinker-backed `deep_research` tool so an agent can run a -multi-source research pass when the task calls for it. `raven tracing` opens a -local dashboard for captured LLM, tool, and memory spans, making it easier to -inspect what happened inside a run without changing the agent workflow. +| 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 |
@@ -280,63 +152,46 @@ inspect what happened inside a run without changing the agent workflow.
-## Agent Templates - -Raven is an Apache-2.0 licensed, self-improving agent harness built by EverMind. -It provides the runtime, memory layer, tools, and Agent Templates for building -custom agents and digital workers. +## Providers and Gateways -Use an Agent Template when you want Raven's harness layer but your own -scenario, personality, workflow policy, skills, integrations, or distribution -model. A template can start as one person's agent and later become a repeatable -digital worker for a team or community. +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. -Agents, templates, skills, workflows, and modules created with Raven belong to -their creators. Builders may use, modify, commercialize, and share agents built -with Raven or based on Raven Agent Templates under the Apache-2.0 license. +Twelve gateway adapters connect Raven to Telegram, Slack, Discord, WhatsApp, Matrix, Feishu, WeCom, Mochat, QQ, DingTalk, Email, and WeChat. -We encourage builders to say "Built with Raven" and link back to this -repository. The Raven and EverMind names and logos may not be used to imply -official endorsement unless explicitly approved by EverMind. +```bash +raven channels list +raven channels enable +raven gateway +``` -## Useful Commands +## Command Reference -| Goal | Command | +| Command | Purpose | | --- | --- | -| Start the native TUI | `raven` or `raven tui` | -| Check the TUI runtime | `raven tui --check` | -| Configure Raven | `raven onboard` | -| Run a one-shot shell task | `raven agent -m "..."` | -| Review providers | `raven provider list` | -| Configure Deep Research | `raven deep-research enable` | -| Inspect Deep Research config | `raven deep-research get` | -| Open tracing dashboard | `raven tracing` | -| List messaging channels | `raven channels list` | -| Start the messaging gateway | `raven gateway` | -| Manage sessions | `raven sessions list` | -| Inspect scheduled jobs | `raven cron list` | -| Browse skills | `raven skill list` | -| Inspect proactive state | `raven sentinel status` | -| Show plugins and memory backend | `raven plugins` | -| Debug sandbox VMs | `raven sandbox list` | -| Show local status | `raven status` | -| Check for Raven updates | `raven upgrade --check` | -| Upgrade Raven | `raven upgrade` | -| Diagnose setup | `raven doctor` | - -## Docs by Goal - -| Goal | Start here | -| --- | --- | -| First-time install and setup | [Quick Install](#quick-install) | -| Source-based development | [Developer Workflow](#developer-workflow) and [docs/dev.md](docs/dev.md) | -| Memory and plugin architecture | [docs/memory-plugin-architecture.md](docs/memory-plugin-architecture.md) | -| Configure Deep Research | `raven deep-research --help` | -| Inspect tracing and observability | `raven tracing` and [docs/TRACING_STANDARD_API.md](docs/TRACING_STANDARD_API.md) | -| Sandbox usage and debugging | [docs/sandbox/usage.md](docs/sandbox/usage.md) | -| Proactivity design | [docs/Proactivity-Plan.md](docs/Proactivity-Plan.md) | -| Benchmark self-evolution | [raven/evolver/README.md](raven/evolver/README.md) | -| Detailed design notes | [docs/README.md](docs/README.md) | +| `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 --help` for the complete CLI surface. + +## Documentation + +- [Documentation index](docs/README.md) +- [Developer workflow](docs/dev.md) +- [Tracing Standard API](docs/TRACING_STANDARD_API.md) +- [Sandbox usage](docs/sandbox/usage.md) +- [Memory plugin architecture](docs/memory-plugin-architecture.md) +- [Self-evolution loop mapping](docs/specs/self-evolution-loop-raven-mapping.md) +- [Proactivity implementation](docs/Proactivity-Implementation.md)
@@ -347,53 +202,42 @@ official endorsement unless explicitly approved by EverMind. ## Architecture -Every turn flows through the Spine: one entry (`submit`), one exit (`emit`), -and per-conversation lanes for ordering and cancellation. Feature engines plug -into the agent loop through explicit handoffs instead of importing each other. - ```text -Channels / TUI / Gateway - | - v - Raven Spine - submit -> lanes -> emit - | - v - Agent Loop - tools · skills · providers - | - +--> Context Engine legacy / curator - +--> Memory Engine EverOS / local skills / SkillForge - +--> Proactive Engine Sentinel / scheduler / nudge policy - +--> TokenWise usage tracking / cache placement / routing - +--> Tracing captured LLM / tool / memory spans - +--> Eval Engine task judgement and coordination - +--> Evolver benchmark-driven harness self-evolution +CLI / TUI / Messaging Gateways + | + v + TUI-RPC / Spine + | + v + Agent Loop + +-------+-------+ + | | | + Providers Tools Subagents + | | | + +--- Context Engine ---+ + | + +-------+--------+ + | | + EverOS Memory SkillForge + | | + +--- Proactivity + Evolver ``` -### Repo Layout +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: ```text -raven/ -├── spine/ # Per-turn backbone: submit -> lanes -> emit -├── agent/ # Agent loop, tools, hooks, subagents, context builder -├── channels/ # Telegram, Discord, Slack, Matrix, WhatsApp, WeCom, ... -├── tui_rpc/ # Python side of the native TUI protocol -├── providers/ # LLM provider adapters -├── context_engine/ # Context assembly and Curator path -├── proactive_engine/ # Sentinel, scheduler, nudges, feedback -├── memory_engine/ # EverOS memory, local skills, SkillForge -├── token_wise/ # Usage tracking, cache placement, routing -├── tracing/ # Span capture and local tracing dashboard -├── evolver/ # Benchmark-driven harness self-evolution -├── sandbox/ # Isolated command execution -├── security/ # Trust boundaries and network checks -├── cli/ # `raven` command line entry point -└── config/ # Config schema and update helpers - -ui-tui/ # React/Ink native terminal UI -bridge/ # WhatsApp TypeScript bridge -benchmarks/ # Benchmark adapters, including AppWorld evolver wiring +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 ```
@@ -403,92 +247,9 @@ benchmarks/ # Benchmark adapters, including AppWorld evolver wiring
-## Developer Workflow - -Source setup, focused checks, and PR rules live in -[CONTRIBUTING.md](CONTRIBUTING.md) and [docs/dev.md](docs/dev.md). -AI-collaboration rules live in [AGENTS.md](AGENTS.md); `CLAUDE.md` is kept as a -compatibility entry point. - -
-
- -[![](https://img.shields.io/badge/-Back_to_top-gray?style=flat-square)](#readme-top) - -
- -## Status - -Raven is pre-alpha and moving quickly. APIs can change without notice, but the -core product surfaces are already in the repository. - -| Layer | Status | -| --- | --- | -| Native TUI + CLI | Functional | -| Spine runtime | Functional | -| Base agent loop, tools, providers | Functional | -| Context engine | Implemented, still evolving | -| Sentinel proactivity | Implemented, still evolving | -| TokenWise strategies | Implemented | -| SkillForge | Implemented | -| Deep Research tool | Implemented, opt-in configuration | -| Tracing dashboard | Implemented | -| Evolver pipeline | Implemented, benchmark adapters still evolving | -| Eval engine | Partial | - -
-
- -[![](https://img.shields.io/badge/-Back_to_top-gray?style=flat-square)](#readme-top) - -
- ## EverMind Ecosystem -EverMind is an open-source ecosystem for long-term memory, self-evolving -agents, AI-native interfaces, and memory evaluation. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EverMind Open-Source Ecosystem
Self-Improving Agent HarnessRaven - the terminal-native agent harness for tools, skills, memory, proactivity, context control, and reusable Agent Templates.
Memory RuntimeEverOS - the memory substrate Raven uses for durable user memory, agent memory, case extraction, skill extraction, and multimodal parsing.
Algorithm EngineEverAlgo - stateless extraction, ranking, parsing, and memory operators that power EverOS.
Hypergraph MemoryHyperMem - hypergraph memory for long-term conversations, with benchmark-backed topic -> episode -> fact retrieval.
BenchmarksEverMemBench · EvoAgentBench - evaluation suites for conversational memory and agent self-evolution.
Long-Context ResearchMSA - Memory Sparse Attention for scalable latent memory and 100M-token contexts.
Personal Memory LayerEverMe - CLI and agent plugin suite for cross-device, cross-agent personal memory.
Developer Integrationsevermem-claude-code · everos-plugins - plugins, skills, and migration tooling for AI coding agents.
- -Together, these repositories form EverMind's research-to-runtime stack: memory -methods, reusable algorithms, benchmark evidence, native agent products, and -practical developer integrations. +Raven is part of the [EverMind](https://evermind.ai/) open-source ecosystem. Explore [EverOS](https://github.com/EverMind-AI/EverOS), [EverAlgo](https://github.com/EverMind-AI/EverAlgo), [HyperMem](https://github.com/EverMind-AI/HyperMem), [EvoAgentBench](https://github.com/EverMind-AI/EvoAgentBench), [EverMemBench](https://github.com/EverMind-AI/EverMemBench), and [EverMe](https://github.com/EverMind-AI/EverMe).
@@ -499,24 +260,8 @@ practical developer integrations. ## Contributing -Raven is early, and useful contributions are welcome across runtime -architecture, TUI polish, provider support, memory workflows, proactivity, -benchmarks, documentation, and issue reports. - -Model vendors interested in a first-party integration or an open-source -partnership (as MiniMax already has) are welcome to open an issue and say so. - -Before opening a PR: - -1. Read [AGENTS.md](AGENTS.md). -2. Keep the change scoped. -3. Add or update tests for behavior changes. -4. Run the relevant `make` targets. -5. Use a Conventional Commit title. +Issues and pull requests are welcome. Start with the [developer workflow](docs/dev.md), follow [AGENTS.md](AGENTS.md) for repository rules, and use [GitHub Discussions](https://github.com/EverMind-AI/Raven/discussions) for design conversations. -### License +## License -Raven is licensed under the Apache License 2.0. Portions of the runtime and -TUI layer originated from MIT-licensed upstream projects; their copyright -notices and license texts are retained in [NOTICES.md](NOTICES.md) and -[LICENSES](LICENSES/). +[Apache License 2.0](LICENSE) diff --git a/README.zh-CN.md b/README.zh-CN.md index 03f8b36..93cfc72 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -1,12 +1,12 @@
-Raven banner +![Raven banner](https://github.com/user-attachments/assets/6c6f585a-21b6-4e7b-9187-acffe59d0c10)

X - HuggingFace + Hugging Face Discord - WeChat + WeCom

[官网](https://raven.evermind.ai) · [English](README.md) @@ -28,239 +28,125 @@ runtime、policies 和工作环境。EverOS 为这个 harness 提供跨会话持 **Update:** Raven 新增 Deep Research。运行 `raven deep-research enable` 后, Agent 可以在需要深度调查的任务中使用 MiroThinker-backed、多来源 research tool。 -

- 从命令行启动 Raven -

+> Raven 目前处于 pre-alpha 阶段,接口和配置可能快速变化。 -
- 目录 +## 基准测试 -
+| 基准测试 | Raven 结果 | 对比 | +| --- | --- | --- | +| 效率 | 27B 下为 `56.7%`;397B 下为 `58.1%` | Hermes 为 `46.8%` / `47.9%`;27B 下领先 `+9.9pp` | +| 自我进化 | EvoAgentBench 排名 `#1` | 在四种方法中领先下一名 `+6.2pp` | +| 主动性 | ProAgentBench F1 为 `0.60` | 是 Hermes/OpenClaw `0.253` 的 `2.4x` | -- [快速安装](#快速安装) -- [2 分钟能做什么](#2-分钟能做什么) -- [消息网关](#消息网关) -- [为什么是 Raven](#为什么是-raven) -- [Raven 适合什么](#raven-适合什么) -- [Agent Templates](#agent-templates) -- [常用命令](#常用命令) -- [按目标阅读文档](#按目标阅读文档) -- [架构](#架构) -- [开发工作流](#开发工作流) -- [当前状态](#当前状态) -- [EverMind 生态](#evermind-生态) -- [参与贡献](#参与贡献) +以上结果对应已发布的测试配置;模型、任务集和评测协议都会影响最终结果。 -
+https://github.com/user-attachments/assets/3c541dae-5852-447f-8ea6-c9877612ad57 -
+## 快速开始 -## 快速安装 +### 安装 -### Linux、macOS、WSL2 +Linux、macOS 或 WSL2: ```bash curl -fsSL https://raven.evermind.ai/install.sh | bash ``` -### Windows(原生 PowerShell) - -> **提示:** 原生 Windows 可以不经过 WSL 运行 Raven。CLI、TUI、gateway 和 -> tools 都会在 Windows 下原生安装。如果你更想用 WSL2,也可以直接使用上面的 -> Linux/macOS 一键安装命令。 - -在 PowerShell 里运行: +原生 Windows PowerShell: ```powershell irm https://raven.evermind.ai/install.ps1 | iex ``` -在 **Windows PowerShell 5.1**(Windows 自带的默认版本)下,上面的命令会报 -`Permanent Redirect`,请改用直连地址: +Windows PowerShell 5.1 可能拒绝重定向,请改用直连安装地址: ```powershell irm https://raw.githubusercontent.com/EverMind-AI/Raven/refs/heads/main/install.ps1 | iex ``` -### 安装完成后 - -安装器会处理全部依赖:uv、Python 3.12、Node.js 22 和 Raven。 - -打开一个新终端。Linux、macOS 或 WSL2 也可以刷新当前 shell: - -```bash -source ~/.bashrc # 或:source ~/.zshrc -``` - -然后运行: +### 完成引导并运行 ```bash raven onboard raven ``` -Raven 支持 OpenRouter、OpenAI、Anthropic、Gemini、DeepSeek、GitHub Copilot、 -OpenAI Codex OAuth、MiniMax Global/CN OAuth,以及自定义 OpenAI-compatible endpoints。 +双语 onboarding 向导会配置六个方面,无需手动编辑 `~/.raven/config.json`: + +1. LLM provider 和模型 +2. Sandbox 或执行位置 +3. 聊天渠道 +4. EverOS 长期记忆 +5. Deep Research +6. 从其他 AI 工具进行冷启动导入 -如果配置失败,或者 provider 还没有准备好,运行: +Provider 配置包含向导内连通性检查。可选步骤可以跳过,之后再配置。如果设置尚未完成,请运行: ```bash raven doctor ``` -### 升级现有安装 - -检查最新发布的稳定版本: +### 升级 - raven upgrade --check - -升级 Raven,同时保留现有配置、sessions 和 memory: - - raven upgrade - -Raven 升级需要由用户主动触发,不会自动进行。Raven 会拒绝覆盖 editable source -installs;请更新源码 checkout,并重新运行对应的开发环境配置。 -在 POSIX 系统上,命令会同步等待 helper 输出最终结果。原生 Windows 会先调度外部 -helper,让当前运行的可执行文件退出;请等 helper 输出完成消息后再运行 Raven。 - -## 2 分钟能做什么 - -- 用 `raven` 或 `raven tui` 启动 Raven 的终端原生 harness。 -- 用 `raven agent -m "..."` 执行一次性 shell 任务。 -- 用 `raven onboard` 配置 providers、sandbox、channels 和 memory。 -- 用 `raven deep-research enable` 启用 MiroThinker-backed deep_research tool。 -- 用 `raven tracing` 打开 LLM/tool/memory spans 的本地 tracing dashboard。 -- 用 `raven skill list` 浏览内置和本地 SkillForge skills。 -- 用 `raven sessions list` 恢复、fork、导出或删除之前的工作。 -- 用 `raven sentinel status` 查看主动记忆和 scheduled nudges 状态。 - -## 消息网关 - -Raven 目前内置 12 个 gateway adapters。用 `raven channels list` 查看本地安装中 -可用的 adapters,用 `raven gateway` 启动 gateway daemon。 +```bash +raven upgrade --check +raven upgrade +``` -| Gateway | Adapter id | 说明 | -| --- | --- | --- | -| Telegram | `telegram` | Bot-based messaging | -| Slack | `slack` | Workspace messaging | -| Discord | `discord` | Server 和 bot messaging | -| WhatsApp | `whatsapp` | 使用内置 TypeScript bridge | -| Matrix | `matrix` | Matrix rooms 和 direct messages | -| Feishu | `feishu` | Lark/Feishu app integration | -| WeCom | `wecom` | 企业微信群和 app messaging | -| Mochat | `mochat` | API/socket-based messaging | -| QQ | `qq` | QQ bot integration | -| DingTalk | `dingtalk` | DingTalk stream integration | -| Email | `email` | IMAP/SMTP mailbox integration | -| WeChat | `weixin` | 个人微信 adapter;`weixin` 是当前 CLI id | - -## 为什么是 Raven - -大多数 Agent 工具只做到 "LLM + tools + loop"。Demo 阶段够用,但一旦进入 -真实日常工作就会遇到这些问题: - -- 长会话撑爆上下文,重要信息开始丢失。 -- 每轮都重复发送 system prompt、skills 和工具定义,Token 成本失控。 -- Agent 永远被动等待输入,即使它已经看到有事需要处理。 -- 有用的工作流留在聊天记录里,没有变成可复用技能。 - -Raven 把 Agent 周围的 harness 当成产品本身,而不是一层薄包装或边缘 case。 - -Raven 的 self-improving harness 围绕四个产品判断构建: - -- **Memory-first harness:** 用户记忆、Agent 记忆和世界知识彼此独立、持久存在,并且 - 可以跨会话复用。 -- **Deep Research as a tool:** 长篇、多来源研究可以通过 `raven deep-research enable` - 启用,并在任务需要更深调查时交给 Agent 使用。 -- **Self-improving skills:** 重复工作流可以沉淀成 skills,记录反馈,并在失效时 - 继续进化,而不是埋在聊天记录里。 -- **Agent Templates:** 构建者可以从 Raven 出发,为具体场景定义一个 Agent,并在 - 不重做底层 harness layer 的情况下分享出去。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
能力Raven常见工具型 Agent
原生终端产品交互式 TUI、CLI、Gateway 模式,以及 Python 与 React/Ink 之间的 typed RPC通常只是聊天循环外面的一层命令包装
长期记忆EverOS-backed memory、本地 skills、session history 和 workspace templates通常是临时上下文或 provider 侧聊天历史
上下文控制Curator 与 legacy context engines,显式 token budgets 和 fail-safes通常是截断、摘要或隐藏 prompt heuristic
主动性Sentinel、scheduler、nudge policy 和 deferred decision flow通常等用户再次输入
Deep Research可选的 MiroThinker-backed deep_research tool,通过 raven deep-research enable 启用通常依赖外部搜索标签页、临时 browser prompt 或一次性 research scripts
Skill 进化识别可复用流程,生成 skill,追踪反馈,并在失效时进化通常是静态 markdown prompt 或手动安装插件
+升级会保留配置、sessions 和 memory。Raven 不会自动更新。 -
+## Deep Research -## Raven 适合什么 +Deep Research 为需要广泛网页搜索、来源阅读、分析和多来源交叉验证的开放式问题提供专用路径。它使用 [MiroThinker](https://miromind.ai/),返回带有行内引用和参考来源的完整答案。 -Raven 面向那些普通聊天 Agent 和静态工具循环显得太轻、太浅、太短的工作流。 +可以在 onboarding 时配置,也可以稍后启用: -### 1. 终端原生日常工作 +```bash +raven deep-research enable +raven deep-research get +``` -Raven 可以把 harness 作为 native TUI、直接 CLI 入口或 gateway-backed runtime -运行。TUI 不是网页 shell,而是一个 React/Ink 应用,通过 typed RPC 与 Python -runtime 通信。 +配置完成后,当任务需要的不只是快速查询时,Raven 可以调用 `deep_research`。在开始一次付费、分钟级的研究任务前,交互式界面会询问本次查询使用 Deep Research 还是常规搜索。 -### 2. 会变得有用的记忆 +结果会根据 Raven 的运行位置选择不同交付方式: -Raven 将 harness 连接到 EverOS,作为长期用户记忆与 Agent 记忆层。Sessions、 -procedures 和可复用模式可以转成本地 skill 材料,而不是消失在旧 transcript 里。 +- **CLI 和 TUI:** Raven 会在搜索、阅读页面和分析时持续显示进度;完成后的报告会直接展示,不再由主模型改写。 +- **Gateway 渠道:** 任务在后台继续运行,完成后的报告会发送回原始会话。 +- **本地归档:** 每次完成的结果都会保存在 `/deep_research/`,便于之后使用。 -### 3. 不会在压力下崩掉的上下文 +查询单个事实或 URL 时使用常规搜索;做方案对比、行业综述、技术调研,以及需要核对多个来源一致性的问题时使用 Deep Research。 -Context stack 有 legacy path 和 Curator path。在 token 压力下,这个 harness -可以归档、检索并组装上下文,而不是盲目裁掉最旧消息。 +## Tracing -### 4. 会主动开口的 Agent +Tracing 让 Raven 的推理路径可以被检查,同时不会把 trace 数据发送到托管服务。运行以下命令打开本地 dashboard: -Sentinel 监听事件、调度检查、判断 nudge 是否有用,并通过 guardrails 路由 -主动动作。目标不是制造通知噪音,而是让这个 Agent Harness 真的能主动发现需要处理的事。 +```bash +raven tracing +``` -### 5. 会进化的 Skills +每个 `session.turn` 都会成为一棵 trace tree,展示该轮之下发生的工作: -SkillForge 把 skills 当成 procedural memory。它可以识别可复用工作流、写入 -skill 文件、追踪执行反馈,并在 instruction 失效时进化它。 +- LLM 调用、模型、token 使用量、成本、延迟和错误 +- Tool 输入和输出 +- Subagent 运行及其父子关系 +- Skill 读取和注入 +- Memory recall、存储、提取和 consolidation +- 以独立 artifact 保存的大型 prompts 和结果 -### 6. 会自我进化的 Harness +Tracing 默认启用,并且不会中断 Raven 的控制流。Spans 保存在本地 `~/.raven/traces/logs/audit-spans.log`;可以通过 `RAVEN_TRACING_DIR` 移动状态目录,或设置 `RAVEN_TRACING=0` 关闭记录。 -`raven.evolver` 可以基于 benchmark 做可度量的 harness self-evolution:诊断失败 -trajectories,把候选 harness patch 设计成真实 git commits,并且只提升通过统计 -gate 的改动。它带有 sealed test set,用来保留诚实的泛化结果。一个命令 -(`python -m raven.evolver run --config `)即可运行,并支持完整 resume。 -从 [raven/evolver/README.md](raven/evolver/README.md) 开始。 +Schema 遵循一个精简、带版本的语义契约。Span 名称、属性、artifact 行为和扩展规则请参阅 [Tracing Standard API](docs/TRACING_STANDARD_API.md)。 -### 7. Harness 内的研究与可观测性 +## 核心系统 -Raven 现在提供两个可选入口来支持更深的工作:`raven deep-research` 用于配置 -MiroThinker-backed `deep_research` tool,让 Agent 在任务需要时执行多来源 research; -`raven tracing` 会打开本地 dashboard,查看已捕获的 LLM、tool 和 memory spans, -方便在不改变 agent workflow 的情况下复盘一次运行内部发生了什么。 +| 系统 | 能力 | +| --- | --- | +| **EverOS 记忆** | 跨 sessions 持久保存用户记忆、Agent 记忆和世界知识 | +| **Context Engine** | 通过明确的 token 预算和统一组装流程保留最有价值的上下文 | +| **Proactivity** | Sentinel observations、计划任务、nudge policy 和延迟决策 | +| **SkillForge** | 内置、workspace、EverOS 和镜像 skills,支持检索、反馈和进化 | +| **Evolver** | 用于改进 Agent 和可复用流程的可复现评测循环 | +| **Agent Templates** | 基于同一套 harness 构建专用 digital workers 的可分享起点 |
@@ -269,62 +155,46 @@ MiroThinker-backed `deep_research` tool,让 Agent 在任务需要时执行多
-## Agent Templates - -Raven 是 EverMind 构建的 Apache-2.0 licensed、self-improving agent harness。 -它提供 runtime、memory layer、tools 和 Agent Templates,用来构建定制 Agent -和 digital workers。 +## Providers 和 Gateways -当你想复用 Raven 的 harness layer,但又需要自己的场景、人格、workflow -policy、skills、integrations 或分发方式时,就可以从 Agent Template 开始。 -一个 template 可以先是某个人的个人 Agent,之后再变成团队或社区可复用的 -digital worker。 +Raven 支持 API key、OAuth、本地和 OpenAI-compatible providers。Onboarding catalog 包括 OpenRouter、OpenAI、Anthropic、Gemini、MiniMax、DeepSeek、Z.ai、DashScope、Moonshot、VolcEngine、SiliconFlow、Groq、AiHubMix、Azure OpenAI、GitHub Copilot OAuth、OpenAI Codex OAuth、Ollama 和托管 vLLM。 -用 Raven 创建的 agents、templates、skills、workflows 和 modules 属于它们的 -创建者。构建者可以在 Apache-2.0 license 下使用、修改、商业化和分享基于 Raven -或 Raven Agent Templates 创建的 Agent。 +十二个 gateway adapters 可以把 Raven 接入 Telegram、Slack、Discord、WhatsApp、Matrix、Feishu、WeCom、Mochat、QQ、DingTalk、Email 和 WeChat。 -我们鼓励构建者标注 "Built with Raven" 并链接回这个仓库。未经 EverMind 明确 -授权,不得使用 Raven 或 EverMind 的名称和 logo 暗示官方背书。 +```bash +raven channels list +raven channels enable +raven gateway +``` ## 常用命令 -| 目标 | 命令 | +| 命令 | 用途 | | --- | --- | -| 启动原生 TUI | `raven` 或 `raven tui` | -| 检查 TUI runtime | `raven tui --check` | -| 配置 Raven | `raven onboard` | -| 执行一次性 shell 任务 | `raven agent -m "..."` | -| 查看 providers | `raven provider list` | -| 配置 Deep Research | `raven deep-research enable` | -| 查看 Deep Research 配置 | `raven deep-research get` | -| 打开 tracing dashboard | `raven tracing` | -| 列出消息渠道 | `raven channels list` | -| 启动 messaging gateway | `raven gateway` | -| 管理 sessions | `raven sessions list` | -| 查看 scheduled jobs | `raven cron list` | -| 浏览 skills | `raven skill list` | -| 查看 proactive state | `raven sentinel status` | -| 查看 plugins 和 memory backend | `raven plugins` | -| 调试 sandbox VMs | `raven sandbox list` | -| 查看本地状态 | `raven status` | -| 检查 Raven 更新 | `raven upgrade --check` | -| 升级 Raven | `raven upgrade` | -| 诊断配置 | `raven doctor` | - -## 按目标阅读文档 - -| 目标 | 从这里开始 | -| --- | --- | -| 第一次安装和配置 | [快速安装](#快速安装) | -| 源码开发 | [开发工作流](#开发工作流) 和 [docs/dev.md](docs/dev.md) | -| Memory 和 plugin 架构 | [docs/memory-plugin-architecture.md](docs/memory-plugin-architecture.md) | -| 配置 Deep Research | `raven deep-research --help` | -| 查看 tracing 和 observability | `raven tracing` 和 [docs/TRACING_STANDARD_API.md](docs/TRACING_STANDARD_API.md) | -| Sandbox 使用和调试 | [docs/sandbox/usage.md](docs/sandbox/usage.md) | -| Proactivity 设计 | [docs/Proactivity-Plan.md](docs/Proactivity-Plan.md) | -| Benchmark self-evolution | [raven/evolver/README.md](raven/evolver/README.md) | -| 详细设计文档 | [docs/README.md](docs/README.md) | +| `raven` 或 `raven tui` | 启动终端 UI | +| `raven agent -m "..."` | 运行一次性任务 | +| `raven onboard` | 配置 providers、sandboxing、channels、memory、research 和 import | +| `raven status` | 查看配置和运行时状态 | +| `raven doctor` | 诊断 provider 和环境问题 | +| `raven tracing` | 打开本地 trace dashboard | +| `raven sessions list` | 浏览、恢复、fork、导出或删除 sessions | +| `raven skill list` | 查看本地 SkillForge catalog | +| `raven sentinel status` | 查看主动记忆和计划 nudges | +| `raven cron list` | 查看计划任务 | +| `raven gateway` | 运行消息 gateways | +| `raven upgrade` | 升级受管理的安装 | + +运行 `raven --help` 或 `raven --help` 查看完整 CLI。 + +## 文档 + +- [文档索引](docs/README.md) +- [开发工作流](docs/dev.md) +- [Tracing Standard API](docs/TRACING_STANDARD_API.md) +- [Sandbox 使用说明](docs/sandbox/usage.md) +- [Memory plugin 架构](docs/memory-plugin-architecture.md) +- [Self-evolution loop mapping](docs/specs/self-evolution-loop-raven-mapping.md) +- [Proactivity 实现](docs/Proactivity-Implementation.md)
@@ -335,53 +205,42 @@ digital worker。 ## 架构 -每个 turn 都流经 Spine:一个入口 `submit`,一个出口 `emit`,并用 -per-conversation lanes 处理顺序与取消。各个 feature engine 通过显式 handoff -接入 Agent loop,而不是互相 import。 - ```text -Channels / TUI / Gateway - | - v - Raven Spine - submit -> lanes -> emit - | - v - Agent Loop - tools · skills · providers - | - +--> Context Engine legacy / curator - +--> Memory Engine EverOS / local skills / SkillForge - +--> Proactive Engine Sentinel / scheduler / nudge policy - +--> TokenWise usage tracking / cache placement / routing - +--> Tracing captured LLM / tool / memory spans - +--> Eval Engine task judgement and coordination - +--> Evolver benchmark-driven harness self-evolution +CLI / TUI / Messaging Gateways + | + v + TUI-RPC / Spine + | + v + Agent Loop + +-------+-------+ + | | | + Providers Tools Subagents + | | | + +--- Context Engine ---+ + | + +-------+--------+ + | | + EverOS Memory SkillForge + | | + +--- Proactivity + Evolver ``` -### 仓库结构 +Python runtime 和 React/Ink TUI 只通过 typed TUI-RPC 通信。Spine 传递 runtime events,Agent Loop 负责协调 providers、tools、context、memory、skills、subagents 和主动任务。 + +关键目录: ```text -raven/ -├── spine/ # Per-turn backbone: submit -> lanes -> emit -├── agent/ # Agent loop, tools, hooks, subagents, context builder -├── channels/ # Telegram, Discord, Slack, Matrix, WhatsApp, WeCom, ... -├── tui_rpc/ # Native TUI protocol 的 Python 侧 -├── providers/ # LLM provider adapters -├── context_engine/ # Context assembly 与 Curator path -├── proactive_engine/ # Sentinel, scheduler, nudges, feedback -├── memory_engine/ # EverOS memory, local skills, SkillForge -├── token_wise/ # Usage tracking, cache placement, routing -├── tracing/ # Span capture 和本地 tracing dashboard -├── evolver/ # Benchmark-driven harness self-evolution -├── sandbox/ # Isolated command execution -├── security/ # Trust boundaries and network checks -├── cli/ # `raven` command line entry point -└── config/ # Config schema and update helpers - -ui-tui/ # React/Ink 原生终端 UI -bridge/ # WhatsApp TypeScript bridge -benchmarks/ # Benchmark adapters,包括 AppWorld evolver wiring +raven/agent/ agent loop、tools 和 subagents +raven/channels/ messaging adapters +raven/context_engine/ context assembly 和 token budgeting +raven/memory_engine/ EverOS integration 和 local skill memory +raven/proactive_engine/ sentinel、scheduling 和 nudges +raven/providers/ model providers 和 routing +raven/skill_hub/ external skill retrieval +raven/tracing/ instrumentation、storage 和 viewer +raven/tui_rpc/ typed runtime-to-TUI boundary +ui-tui/ React/Ink terminal interface ```
@@ -391,88 +250,9 @@ benchmarks/ # Benchmark adapters,包括 AppWorld evolver wiring
-## 开发工作流 - -源码开发、focused checks 和 PR 规则放在 -[CONTRIBUTING.md](CONTRIBUTING.md) 与 [docs/dev.md](docs/dev.md) 里维护。 -AI 协作规则放在 [AGENTS.md](AGENTS.md);`CLAUDE.md` 作为兼容入口保留。 - -
-
- -[![](https://img.shields.io/badge/-Back_to_top-gray?style=flat-square)](#readme-top) - -
- -## 当前状态 - -Raven 仍处于 pre-alpha,变化会很快。API 可能调整,但核心产品面已经在仓库里。 - -| 层级 | 状态 | -| --- | --- | -| Native TUI + CLI | 可用 | -| Spine runtime | 可用 | -| Base agent loop, tools, providers | 可用 | -| Context engine | 已实现,持续演进 | -| Sentinel proactivity | 已实现,持续演进 | -| TokenWise strategies | 已实现 | -| SkillForge | 已实现 | -| Deep Research tool | 已实现,可选配置 | -| Tracing dashboard | 已实现 | -| Evolver pipeline | 已实现,benchmark adapters 持续演进 | -| Eval engine | 部分完成 | - -
-
- -[![](https://img.shields.io/badge/-Back_to_top-gray?style=flat-square)](#readme-top) - -
- ## EverMind 生态 -EverMind 是一个面向长期记忆、自进化 Agent、AI-native interfaces 和记忆评测的开源生态。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EverMind Open-Source Ecosystem
Self-Improving Agent HarnessRaven - 终端原生 Agent Harness,负责 tools、skills、memory、proactivity、context control 和可复用 Agent Templates。
Memory RuntimeEverOS - Raven 默认接入的 memory substrate,提供长期用户记忆、Agent 记忆、case/skill 提取和 multimodal parsing。
Algorithm EngineEverAlgo - stateless extraction、ranking、parsing 和 memory operators,为 EverOS 提供算法能力。
Hypergraph MemoryHyperMem - 面向长期对话的 hypergraph memory,拥有 benchmark-backed topic -> episode -> fact retrieval。
BenchmarksEverMemBench · EvoAgentBench - conversational memory 和 Agent self-evolution 的评测套件。
Long-Context ResearchMSA - Memory Sparse Attention,用于可扩展 latent memory 和 100M-token contexts。
Personal Memory LayerEverMe - CLI 和 Agent plugin suite,用于跨设备、跨 Agent 的个人记忆。
Developer Integrationsevermem-claude-code · everos-plugins - AI coding agents 的 plugins、skills 和 migration tooling。
- -这些仓库共同构成 EverMind 的 research-to-runtime stack:记忆方法、可复用算法、 -benchmark evidence、native agent products 和开发者集成。 +Raven 是 [EverMind](https://evermind.ai/) 开源生态的一部分。你可以继续了解 [EverOS](https://github.com/EverMind-AI/EverOS)、[EverAlgo](https://github.com/EverMind-AI/EverAlgo)、[HyperMem](https://github.com/EverMind-AI/HyperMem)、[EvoAgentBench](https://github.com/EverMind-AI/EvoAgentBench)、[EverMemBench](https://github.com/EverMind-AI/EverMemBench) 和 [EverMe](https://github.com/EverMind-AI/EverMe)。
@@ -483,19 +263,8 @@ benchmark evidence、native agent products 和开发者集成。 ## 参与贡献 -Raven 还很早。欢迎在 runtime architecture、TUI polish、provider support、 -memory workflows、proactivity、benchmarks、documentation 和 issue reports 上贡献。 - -提交 PR 前: - -1. 阅读 [AGENTS.md](AGENTS.md)。 -2. 保持改动范围清晰。 -3. 行为变化需要添加或更新测试。 -4. 运行相关 `make` targets。 -5. 使用 Conventional Commit 标题。 +欢迎提交 issues 和 pull requests。请先阅读[开发工作流](docs/dev.md),按照 [AGENTS.md](AGENTS.md) 中的仓库规则进行协作,并在 [GitHub Discussions](https://github.com/EverMind-AI/Raven/discussions) 讨论设计方案。 -### 许可证 +## 许可证 -Raven 使用 Apache License 2.0。部分 runtime 和 TUI layer 来自 MIT 协议的 -上游项目;相关 copyright notices 与 license texts 保留在 -[NOTICES.md](NOTICES.md) 和 [LICENSES](LICENSES/) 中。 +[Apache License 2.0](LICENSE)