## Summary Native Windows installs fail from the shell Windows ships with. Both commands the README gives for Windows break under Windows PowerShell 5.1: - `irm https://raven.evermind.ai/install.ps1 | iex` stops with `(308) Permanent Redirect`. PowerShell 5.1 follows 301, 302 and 307 redirects but not 308, which is what that URL answers with. This is the error #148 reported; the README already offered the direct URL for it. - The direct URL downloads the script, which then stops at "Could not resolve the latest Raven release wheel from GitHub". `Resolve-RavenLatestVersion` requests the release page without following the redirect and reads the Location header off the exception that raises. Only PowerShell 7 attaches the response to that exception. PowerShell 5.1 returns the unfollowed redirect as the response and reports `MaximumRedirectExceeded` as an error with no response, so the lookup always came back empty. This came in with #299 and has been on main since. Changes: - `install.ps1`: the release-page request uses `-ErrorAction Ignore` instead of `-ErrorAction Stop`, so PowerShell 5.1 reads Location from the returned response. PowerShell 7 still raises regardless of `-ErrorAction` and goes through the existing catch. The Location is still matched against the same stable-tag pattern. - CI: the installer job ran `install.ps1` under `pwsh` only, which is how this shipped. It now also runs the piped install under Windows PowerShell 5.1 (`shell: powershell`), into its own tool, bin and home directories, sharing the uv cache. - Docs: README, README.zh-CN, the docs-site quick start (en, zh) and the release notes template now say that Windows PowerShell 5.1 stops on the short URL with `(308) Permanent Redirect` and to switch to the direct URL when that appears. The short URL's redirect itself is unchanged. - Tests: tripwires for the lookup (`-ErrorAction Ignore`, catch kept) and for the CI gate (both shells, and separate tool, bin and home directories, since the version check runs the `raven.exe` in the bin directory). Second topic, Windows test hygiene: three tests failed when the suite ran on a Chinese-locale Windows checkout. CI runs the unit tests on Linux only, so it never saw them. - `test_no_workflow_step_enters_the_removed_page_directory` read workflows in the locale encoding (GBK there) and stopped on the UTF-8 in `release.yml`. It now reads UTF-8. - The font and LibreOffice harness tests run `install.sh` code under `sh`, which on Windows is Git Bash: its curl sits outside `/usr/bin` and paths mix separators, so two failed and others passed for the wrong reason (the digest-mismatch test passed because curl was missing). The ten harness tests now carry the POSIX-only skip the other three sh-driven tests already had, shared as one `POSIX_SH_ONLY` marker. Linux runs are unchanged. #861 merged first, and this branch is rebased onto it. The one conflict was in `tests/test_install_script.py`. The sh-driven tests #861 added, its two Node harness tests and `test_a_download_that_cannot_be_hashed_is_not_installed`, now carry `@POSIX_SH_ONLY` like their neighbours, so the marker stays the one spelling of that skip. Third topic, test infrastructure: Python's locale-dependent text I/O uses the system code page when no `encoding=` is passed. On a GBK-locale Windows checkout, any test that reads or writes a file containing non-ASCII bytes will fail or silently corrupt data. The class of bug was found above; there are ~790 `read_text()` call sites without `encoding` in `tests/`. Measured on Linux under a zh_CN.GBK locale, main without UTF-8 mode is not one test short: 87 tests fail only there, across 25 files, and `tests/test_rpc_schema_match.py` (418 tests) does not collect, mostly on `UnicodeDecodeError` from reading UTF-8 files. - Makefile: `export PYTHONUTF8 := 1`, so every recipe runs in UTF-8 mode, `check-core-wheel` (part of `make ci`) included. - `tests/conftest.py` raises at import time on any interpreter whose default text encoding is not the UTF-8 codec, telling the caller to set `PYTHONUTF8=1` or use `-X utf8`. It compares codecs rather than names, so Windows with the system-wide UTF-8 option, which reports `cp65001`, passes. `uv run pytest`, which AGENTS.md documents and which does not read the Makefile, now stops here on a GBK checkout, as does an IDE runner that does not set the variable. CI's `--noconftest` self-upgrade job (its tests all name `encoding` explicitly) is unaffected. `tests/test_conftest_utf8_guard.py` pins the codec comparison and drives the refusal in an ASCII-locale child. - CI sets `PYTHONUTF8` in no job. The jobs that load `tests/conftest.py` run on ubuntu-latest, where the locale is UTF-8 already, and the `unit` job gets the variable from the Makefile through `make coverage-shard`. The Windows self-upgrade job runs its one file with `--noconftest`, and that file names its encodings. The installer job runs no tests at all: its steps are raven installing itself and answering `--version`, so the variable there would only change how raven runs, and that gate exists to run it the way users do. ## Type - [x] Fix - [ ] Feature - [ ] Docs - [ ] CI / tooling - [ ] Refactor - [ ] Other ## Verification Run on Windows 11 (zh-CN) with Windows PowerShell 5.1.26100 and PowerShell 7.6.6, before the rebase onto #861 and the second review round. Every install below was isolated: `UV_TOOL_DIR`, `UV_TOOL_BIN_DIR` and `RAVEN_HOME` in a temp directory, `RAVEN_MINIMAL=1`, `RAVEN_NO_LAUNCH=1`. - Before the fix, under 5.1: `irm https://raven.evermind.ai/install.ps1` fails with `(308) Permanent Redirect`; `irm https://raw.githubusercontent.com/EverMind-AI/Raven/refs/heads/main/install.ps1 | iex` stops at `Could not resolve the latest Raven release wheel from GitHub`. - `Invoke-WebRequest https://github.com/EverMind-AI/Raven/releases/latest -MaximumRedirection 0 -UseBasicParsing -ErrorAction Stop`: 5.1 throws `InvalidOperationException` (`MaximumRedirectExceeded`) with no `Response`; 7.6.6 throws `HttpResponseException` whose `Response.Headers.Location` is the tag URL. With `-ErrorAction Ignore`, 5.1 returns the 302 with Location set, and 7.6.6 still throws into the catch. - Redirects under 5.1, via httpbin `redirect-to`: 301, 302 and 307 are followed; 308 is not. - After the fix, `Get-Content install.ps1 -Raw | Invoke-Expression` under 5.1 and under 7.6.6, with `uv tool update-shell` disabled in a temp copy of the script to leave the user PATH alone: both resolved v0.2.4, installed raven with everos-memory, design-engine and ppt-engine, and `raven.exe --version` printed `Raven v0.2.4`. - `uv run pytest tests/test_install_script.py tests/test_release_plugin_list.py tests/test_constraints_export_contract.py` plus the six installer tests in `tests/test_cli_onboard_commands.py`, on Windows: 48 passed, 13 skipped (before: 55 passed, 3 skipped, 3 failed). The two new tripwires fail against the previous `install.ps1` and `ci.yml`. With the UTF-8 gate added, a bare `uv run pytest --co -q tests/test_install_script.py` on the GBK checkout raises RuntimeError naming `PYTHONUTF8=1`, while the same invocations with the variable set pass (45 passed, 13 skipped). - `uv run ruff check` and `uv run ruff format --check` on both test files pass; `ty` does not cover `tests/`, the only Python this changes. `PYTHONPATH=. uv run python scripts/check_source_language.py origin/main` exits 0. Run on Linux (Ubuntu 22.04, Python 3.12.13) at this head. A zh_CN.GBK locale compiled into a private `LOCPATH` gives a non-UTF-8 interpreter (`locale.getpreferredencoding(False)` is `GBK`, UTF-8 mode off). - Full suite, `uv run --frozen --python 3.12 --all-extras pytest -q`: 7 failed, 27567 passed, 119 skipped. On main the same command gives 7 failed, 27556 passed, 119 skipped with the identical 7 failing IDs, this machine's local baseline (five proxy tests, a root-only permission test and an npm found on PATH), so 0 introduced; the 11 extra passes are this PR's new tests. - Main under GBK without UTF-8 mode: 86 failed, 27059 passed, 119 skipped, 11 errors. 87 IDs fail only there, and `tests/test_rpc_schema_match.py` does not collect. One of the 87, a non-ASCII file name, is specific to Linux, where GBK also becomes the filesystem encoding. - This head under GBK: a bare `uv run pytest --co -q tests/test_install_script.py` stops at the conftest RuntimeError naming `PYTHONUTF8=1`. `make test-python`, which exports it: 7 failed, 27567 passed, 119 skipped, the same 7 IDs as under UTF-8. `make check-core-wheel`: 1 passed, where with the per-target exports it exited 2 at the guard. - The harness tests marked `@POSIX_SH_ONLY` run on Linux in the full suite above. - Mutations: with the old name tuple back in the guard's predicate, only the `cp65001` case of `tests/test_conftest_utf8_guard.py` fails; with the guard deleted, its end-to-end refusal test fails. Giving the 5.1 step pwsh's `UV_TOOL_BIN_DIR`, or its `RAVEN_HOME`, now fails the CI gate test naming the shared variable, where before it passed. - `make lint-python` passes, and the commit-message, source-language and large-file gates exit 0 over `origin/main..HEAD`. - [x] Relevant tests pass locally - [x] Relevant lint / type checks pass locally - [x] User-facing docs or screenshots are updated when needed ## Risk User-visible: the one-line Windows install works again from Windows PowerShell 5.1 through the direct URL. The short URL still answers with a 308 there, and the docs now name that error. `install.ps1` is served from main, so the fix reaches users on merge, and reverting the squash commit rolls it back the same way. The resolved Location is still matched against the same stable-tag pattern before anything is downloaded. The installer CI job gains one Windows install, which reuses the uv cache. Developer-visible: on a Windows checkout whose code page is not UTF-8, a pytest run that loads `tests/conftest.py` without UTF-8 mode stops at import with a message naming `PYTHONUTF8=1`; the `make` targets set it, and Linux and macOS runs are unaffected. On Windows the sh-driven harness tests report as skipped: the ten this PR marks and `test_a_download_that_cannot_be_hashed_is_not_installed`, beside the five that already skipped there. - [x] Security impact considered - [x] Backward compatibility considered - [x] Rollback path is clear for risky changes ## Related Issues #148 --------- Co-authored-by: Claude (claude-opus-5-5) <noreply@anthropic.com>
27 KiB
What is Raven
One Surface, All Agents: Raven generates DAGs and orchestrates multiple specialized agents for complex tasks.
Raven is the harness of harnesses, built for recursive self-improvement (RSI). As a Host Agent, it brings built-in and third-party agents together to carry out complex tasks. Its modular architecture supports iterative improvement of Raven's own harness: proposing changes to how agents plan and act, evaluating those changes, and adopting improvements that pass validation. Powered by EverOS, Raven carries memory and context across sessions to support this process.
Built-in Agents: Raven-Research, Raven-Code, Raven-Design, and Raven-Oncall support research, coding, visual design, and unattended workflow automation.
Raven is pre-alpha. Interfaces and configuration may change quickly.
Raven's Performance on the Multi-Agent Orchestration Benchmark
❯❯ Showcase
These are three complete projects delivered by Raven. In each case, Raven drove a team of specialized agents from the initial brief or objective through execution to a complete set of final deliverables.
❯ THRESHOLD: a complete game development project
The brief came from a person; Raven completed the entire project. Working autonomously for about 4 days, Raven completed 42 rounds of planning, development, and verification to build a playable first-person shooter in Godot 4, centered on an arena boss fight. The full deliverable includes the game, its poster, presentation, and website, all produced by Raven.
Gameplay video |
||
|
https://github.com/user-attachments/assets/44724e3e-6564-467a-b422-473aa8f474bd |
||
Poster |
Presentation · PPTX ↓ |
|
❯ Raven RSI: recursive self-improvement in practice
AI that improves AI, with the entire project completed by Raven. Given a task and evaluation criteria it cannot modify, Raven RSI independently plans each round, writes code, runs experiments, and evaluates the results. In nanochat pre-training experiments, it completed 172 training runs across 7 rounds without a single crash, reducing val_bpb by 5.8% within the same 20-minute, single-GPU budget. The same process reduced overshoot in a dam-break simulation by three orders of magnitude and completed an FEA limit-load search in 8 rounds of bisection. The complete deliverable includes the experimental results, visualizations, poster, presentation, and project website, all produced by Raven.
CFD dam-break simulation |
FEA limit-load search |
||
Poster |
Presentation · PPTX ↓ |
||
❯ Raven: a complete product launch project
One raven, a whole flock of specialists. Raven completed the entire project. Its launch kit brings together a browser-based physics mini-game, a 16-slide product overview, posters in English and Chinese, and the README you are reading now, all produced by Raven.
Physics mini-game · Play online ↗ |
README |
|
|
https://github.com/user-attachments/assets/dd186b6d-3752-4c59-89c7-eeea5c6fa962 |
||
Poster |
Presentation · PPTX ↓ |
|
❯❯ Built-in Agents
Raven's modular architecture is designed for harness self-evolution and subagent creation. Its four built-in agents deliver state-of-the-art (SOTA) performance in their respective domains, combining reusable harness components with domain-specific tools, skills, and agent loops. Raven can delegate a focused task to a single agent or orchestrate multiple agents within a shared workflow. The harness they share is refined by the Raven Evolver, a separate tool that consumes Raven as a library and evaluates candidate harness changes against benchmarks; it develops the agents rather than running inside them.
All four agents are built in and ready for orchestration out of the box.
❯ Raven-Research
Raven-Research enables autonomous deep research for complex questions, literature reviews, and technical analysis. It delivers clear, structured reports with traceable sources, helping users understand unfamiliar domains, compare alternatives, and make informed decisions.
Raven-Research's performance on the DeepResearch Mixed benchmark
❯ Raven-Code
Raven-Code enables agentic software development, turning requirements into working, tested code. It supports feature implementation, debugging, refactoring, data processing, and data analysis, helping users build new capabilities, resolve issues, and improve code quality while following their project's conventions.
Raven-Code's performance on coding benchmarks
Raven-Code tops on DataAgentBench for data analysis (2026-08-24 Live)
❯ Raven-Design
Raven-Design performs visual design, turning ideas and content into polished visual deliverables. It creates PowerPoint slide decks, brand assets, charts, diagrams, and web interfaces, refining layout, typography, and visual consistency to help users communicate clearly and bring their ideas to life.
Raven-Design tops on PresentBench for slide generation
Raven-Design's performance on visual design benchmarks
❯ Raven-Oncall
Raven-Oncall enables unattended workflow automation for experimentation, optimization, and continuous monitoring. It autonomously manages workflows from start to completion, sustaining progress over hours or overnight, delivering results, and involving users only when human judgment is needed.
Raven-Oncall significantly outperforms Claude Code on both quality and cost for AI4AI tasks
Raven-Oncall significantly outperforms Claude Code on both success rate and cost for AI4S tasks
❯❯ Runtime Self-Evolution
Raven is built for this from the ground up. Its agent loop is split into four decoupled strategy modules — Memory for what a turn gets to see, Planning for how it approaches the work, Capability for which tools an iteration exposes, Action for what to do next and for judging it before it runs. A Curator keeps rewriting those four seats: a setting, or a small piece of judgement code written for that agent. What it changes belongs to that agent alone, and once installed the agent runs on it.
A Curator changes more than the prompt — the tools and outside services it reaches for, the skills and procedures it follows, and its own judgement at each point can all be replaced. It keeps going round after round — you put it to work, you say what was wrong, it reworks — until you are satisfied, until it has nothing left worth changing, or until the round budget runs out. Two things hold the quality: nothing is installed before it is verified, and a failed check sends it back; and a round's signals normally reach it with the reference answer stripped out, which limits how directly the answer is exposed. The Curator is experimental: it ships with the repository rather than the installed package.
A Persona is the first thing it builds. Describe the assistant you want and the Curator assembles one: a lead role that talks to you, and specialists drawn from the agents you already have. What you asked for lands in that assistant's harness — its division of work, the tools it may reach for, and the checks it must pass before it acts.
Describe what you need once. Raven assembles the assistant, keeps improving it while you work, and afterwards a sentence is enough to put it to work again.
❯❯ Connect Third-Party Agents
Raven can connect to and orchestrate agents via ACP, CLI, or OpenAI-compatible APIs, with presets for 13 third-party agents to simplify setup, task delegation, and coordination across shared workflows. Try these agents in Raven through a unified interface!
❯❯ Quick Start
🤖 Install with Your Agent
Let your own agent install Raven for you. Copy this prompt into any agent that can read a web page and run shell commands, such as Claude Code or Codex:
Read https://evermind-ai.github.io/Raven/quick-start/ and follow it to install Raven, or to update it if it is already installed.
📦 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, the version built into Windows, cannot follow that URL's
redirect and stops with (308) Permanent Redirect. If you see that error, use the
direct installer URL instead:
irm https://raw.githubusercontent.com/EverMind-AI/Raven/refs/heads/main/install.ps1 | iex
Or run it in a container, with nothing on the host but Git and Docker:
git clone https://github.com/EverMind-AI/Raven.git
cd Raven
docker compose -f docker/docker-compose.yml up
Then open http://localhost:18793 in your browser. Prerequisites are
Git and Docker with
Docker Compose. See
docker/README.md for what comes up, how the page signs
itself in, and how to run it behind a remotely exposed port.
Or install from a source checkout, to develop against the code or to run what has not been released yet:
git clone https://github.com/EverMind-AI/Raven.git
cd Raven
./install.sh
Run as a file, install.sh installs that checkout in editable mode: raven and
its bundled plugins link back to your tree, and the TUI bundle and the served
page are built from it. A piped run installs the published wheel even from
inside a clone, so that a one-line install never picks up whatever a working
tree happens to contain. Set RAVEN_LOCAL_SRC=<dir> to force the editable
install through a pipe.
The agent products ship with raven itself: a wheel carries the agents/
product tree and copies it out to your raven home on first use, and a source
checkout reads the tree in place. Setup asks, for each product, whether it
runs on the model it is tuned for, which needs a key of its own, or on this
raven's LLM. Nothing is registered: a folder is on the roster because it is
there. See agents/README.md.
Learn more about Raven on the documentation site.
❯❯ Core Systems
| System | What it adds |
|---|---|
| Agent Orchestration | Coordinates agents, manages task dependencies and parallel execution, and turns multi-step collaboration into reusable workflows. |
| Evolver | Drives harness self-evolution by diagnosing failures, testing candidate improvements, and retaining changes that outperform the baseline in reproducible evaluations. |
| EverOS Memory | Preserves user context, agent experience, and world knowledge across sessions, recalling relevant memories and reusable skills for future tasks. |
| SkillForge | Retrieves relevant skills from local libraries, EverOS memory, and SkillHub's catalog of 114,190 skills, giving agents specialized expertise on demand. |
| Proactivity | Combines event monitoring and scheduled execution to anticipate user needs, deliver timely reminders, and initiate follow-up work. |
❯❯ Launch WebUI
Raven's WebUI brings conversations, multi-agent collaboration, and workspace management into your browser. Chat with agents, follow task progress, inspect files and outputs, and browse memory and skills in one place.
raven web
The command opens the WebUI in your browser and keeps Raven running in the background. Use raven web --stop to stop the background service.
New task: one composer, with skills, playbooks, knowledge and memory a click away.
Subagents: every connected agent in one roster, built-in and third-party alike.
❯❯ 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
❯❯ Citation
If you use Raven in your research, please cite the technical report:
@misc{evermind2026raven,
title = {{Raven: The Harness of Harnesses for Composable Agentic Intelligence}},
author = {{EverMind AI}},
year = {2026},
eprint = {2609.33439},
archivePrefix = {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/2609.33439}
}