Skip to content

Commit 08d954d

Browse files
authored
Merge branch 'main' into docs/readme_showcase_one_table
2 parents 2b73f5c + d0ff0ba commit 08d954d

40 files changed

Lines changed: 2531 additions & 2143 deletions

‎README.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,20 @@ Raven's modular architecture is designed for harness self-evolution and subagent
104104
## ❯❯ Showcase
105105

106106
Real runs, each captured from Raven's task graph. The graph shows the
107-
orchestration Raven chose for the task; below it is what the run produced.
107+
orchestration Raven generates for the task; below it is what the run produced.
108+
109+
<table>
110+
<tr>
111+
<td width="50%" valign="top">
112+
<p align="center"><b>An FPS game, picked, built and judged</b></p>
113+
<a href="https://github.com/user-attachments/assets/951e35bd-ff9c-4456-b539-32dd192827e1"><img src="https://github.com/user-attachments/assets/951e35bd-ff9c-4456-b539-32dd192827e1" alt="Task graph: three Raven-Code nodes running in sequence across 42 game rounds" width="100%"></a>
114+
115+
https://github.com/user-attachments/assets/44724e3e-6564-467a-b422-473aa8f474bd
116+
117+
</td>
118+
<td width="50%" valign="top"></td>
119+
</tr>
120+
</table>
108121

109122
<table>
110123
<tr>

‎README.zh-CN.md‎

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,80 @@ Raven 的模块化架构面向 harness 自进化和子 Agent 创建。四个内
101101

102102
<p align="center"><em>在 AI4S 任务上,Raven-Oncall 的成功率与成本均显著优于 Claude Code</em></p>
103103

104+
## ❯❯ 案例展示
105+
106+
真实运行记录,每条都取自 Raven 的任务图。上方展示了 Raven 为该任务生成的多智能体编排图,
107+
下方是这次运行的产出。
108+
109+
<table>
110+
<tr>
111+
<td width="50%" valign="top">
112+
<p align="center"><b>构建 FPS 游戏:选题、实现、评判</b></p>
113+
<a href="https://github.com/user-attachments/assets/951e35bd-ff9c-4456-b539-32dd192827e1"><img src="https://github.com/user-attachments/assets/951e35bd-ff9c-4456-b539-32dd192827e1" alt="Task graph: three Raven-Code nodes running in sequence across 42 game rounds" width="100%"></a>
114+
115+
https://github.com/user-attachments/assets/44724e3e-6564-467a-b422-473aa8f474bd
116+
117+
</td>
118+
<td width="50%" valign="top"></td>
119+
</tr>
120+
</table>
121+
122+
<table>
123+
<tr>
124+
<td width="50%" valign="top">
125+
<p align="center"><b>宋代居家美学</b></p>
126+
<a href="https://github.com/user-attachments/assets/8fa50c96-3d2d-4107-8a8c-7d041d1ac8b4"><img src="https://github.com/user-attachments/assets/8fa50c96-3d2d-4107-8a8c-7d041d1ac8b4" alt="Task graph: three Raven-Research nodes running in parallel into a synthesis node, then one Raven-Design node" width="100%"></a>
127+
<a href="https://github.com/user-attachments/assets/379328ea-e3ee-430f-865d-68ed90dae69f"><img src="https://github.com/user-attachments/assets/379328ea-e3ee-430f-865d-68ed90dae69f" alt="Cover, slides and closing slide of the Song-dynasty aesthetics deck" width="100%"></a>
128+
</td>
129+
<td width="50%" valign="top">
130+
<p align="center"><b>古希腊如何被漂白</b></p>
131+
<a href="https://github.com/user-attachments/assets/c8e9ac77-0377-487e-9d07-fb4fe51a0257"><img src="https://github.com/user-attachments/assets/c8e9ac77-0377-487e-9d07-fb4fe51a0257" alt="Task graph: three Raven-Research nodes running in parallel into a synthesis node, then one Raven-Design node" width="100%"></a>
132+
<a href="https://github.com/user-attachments/assets/3c5a2a9a-d6d7-40ad-b3dc-70e9f5c095df"><img src="https://github.com/user-attachments/assets/3c5a2a9a-d6d7-40ad-b3dc-70e9f5c095df" alt="Cover, slides and closing slide of the Greek polychromy deck" width="100%"></a>
133+
</td>
134+
</tr>
135+
<tr>
136+
<td width="50%" valign="top">
137+
<p align="center"><b>流行音乐如何被制造出来</b></p>
138+
<a href="https://github.com/user-attachments/assets/032fdf6e-8b65-49a0-92ba-2ea3066a7451"><img src="https://github.com/user-attachments/assets/032fdf6e-8b65-49a0-92ba-2ea3066a7451" alt="Task graph: three Raven-Research nodes running in parallel into a synthesis node, then one Raven-Design node" width="100%"></a>
139+
<a href="https://github.com/user-attachments/assets/9ab75945-81ba-4437-aec0-9ef6a633ed55"><img src="https://github.com/user-attachments/assets/9ab75945-81ba-4437-aec0-9ef6a633ed55" alt="Cover, slides and closing slide of the pop music deck" width="100%"></a>
140+
</td>
141+
<td width="50%" valign="top">
142+
<p align="center"><b>抽象艺术的一百年</b></p>
143+
<a href="https://github.com/user-attachments/assets/4b606bae-667e-4f2f-ae7d-2880b47ddbf6"><img src="https://github.com/user-attachments/assets/4b606bae-667e-4f2f-ae7d-2880b47ddbf6" alt="Task graph: three Raven-Research nodes running in parallel into a synthesis node, then one Raven-Design node" width="100%"></a>
144+
<a href="https://github.com/user-attachments/assets/b3dfce6c-366d-4e31-9a57-7c98df054618"><img src="https://github.com/user-attachments/assets/b3dfce6c-366d-4e31-9a57-7c98df054618" alt="Cover, slides and closing slide of the abstract art deck" width="100%"></a>
145+
</td>
146+
</tr>
147+
</table>
148+
149+
产出不是演示文稿的运行。
150+
151+
<table>
152+
<tr>
153+
<td width="50%" valign="top">
154+
<p align="center"><b>六个编排框架横向对比</b></p>
155+
<a href="https://github.com/user-attachments/assets/92ff2c83-3b0f-49eb-9995-c1ad4c298452"><img src="https://github.com/user-attachments/assets/92ff2c83-3b0f-49eb-9995-c1ad4c298452" alt="Task graph: two Raven-Research nodes running in parallel into one Raven-Design node" width="100%"></a>
156+
<a href="https://github.com/user-attachments/assets/75beba36-a112-46f2-949d-015856dae588"><img src="https://github.com/user-attachments/assets/75beba36-a112-46f2-949d-015856dae588" alt="Comparison board: six orchestration frameworks against four dimensions, colour-coded for explicit-graph versus code-or-model orchestration" width="100%"></a>
157+
</td>
158+
<td width="50%" valign="top">
159+
<p align="center"><b>参数扫描:编写、运行、绘图</b></p>
160+
<a href="https://github.com/user-attachments/assets/e842677a-8b71-4f1b-ae02-0162a440a1e8"><img src="https://github.com/user-attachments/assets/e842677a-8b71-4f1b-ae02-0162a440a1e8" alt="Task graph: Raven-Code into Raven-Oncall into Raven-Design, run in sequence" width="100%"></a>
161+
<a href="https://github.com/user-attachments/assets/2b03cc53-e707-4728-8d68-327fcf7d112a"><img src="https://github.com/user-attachments/assets/2b03cc53-e707-4728-8d68-327fcf7d112a" alt="Retrieval sweep: recall@k is set by top_k alone, and latency stays flat across the grid" width="100%"></a>
162+
</td>
163+
</tr>
164+
<tr>
165+
<td width="50%" valign="top"><p align="center"><b>一组光污染主题海报</b></p></td>
166+
<td width="50%" valign="top"><p align="center"><b>一个可交互讲解页及其求解器</b></p></td>
167+
</tr>
168+
<tr>
169+
<td width="50%" valign="top"><p align="center"><a href="https://github.com/user-attachments/assets/d3e4c873-cf95-4011-8471-0fda72778cfd"><img src="https://github.com/user-attachments/assets/d3e4c873-cf95-4011-8471-0fda72778cfd" alt="Task graph: three Raven-Research nodes in parallel into a Raven-Code node; that node and a Raven-Design plate node running alongside them both feed the final Raven-Design node" width="83%"></a></p></td>
170+
<td width="50%" valign="top"><p align="center"><a href="https://github.com/user-attachments/assets/9754976b-11ff-4738-b53d-0621ec6ae7da"><img src="https://github.com/user-attachments/assets/9754976b-11ff-4738-b53d-0621ec6ae7da" alt="Task graph: two Raven-Code nodes in parallel into a Raven-Oncall cross-check; that node and a Raven-Design plate node running alongside them both feed the final Raven-Design node" width="100%"></a></p></td>
171+
</tr>
172+
<tr>
173+
<td width="50%" valign="top"><p align="center"><a href="https://github.com/user-attachments/assets/7767ac05-6785-4e6a-9e27-c1b123753766"><img src="https://github.com/user-attachments/assets/7767ac05-6785-4e6a-9e27-c1b123753766" alt="Key visual plus the derived series: street poster, data panel, social square and wide banner" width="100%"></a></p></td>
174+
<td width="50%" valign="top"><p align="center"><a href="https://github.com/user-attachments/assets/25c57220-c5fc-4f72-94fb-ea4b7e83f429"><img src="https://github.com/user-attachments/assets/25c57220-c5fc-4f72-94fb-ea4b7e83f429" alt="GPS trilateration explainer: the live page, and the fix at two, three and four satellites" width="97%"></a></p></td>
175+
</tr>
176+
</table>
177+
104178
## ❯❯ 连接第三方 Agent
105179

106180
Raven 可以通过 ACP、CLI 或兼容 OpenAI 的 API 连接并编排 Agent,并提供 13 个**第三方 Agent**的预设,简化设置、任务委派和共享工作流中的协作。

‎docker/README.md‎

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# Raven in Docker
22

3+
Build and run the current checkout:
4+
35
```bash
46
cd docker
5-
docker compose up
7+
docker compose up --build
68
```
79

10+
To run the configured image without rebuilding, use `docker compose up --no-build`.
11+
Plain `docker compose up` may reuse or pull an image rather than rebuild local changes.
12+
813
Then open <http://localhost:18793>. The local Compose default signs that browser
914
in automatically so Settings > Models is immediately available.
1015

@@ -87,8 +92,27 @@ work on the next turn.
8792

8893
## Settings
8994

90-
`.env` is committed and holds defaults; `.env.local` sits beside it, is
91-
git-ignored, is loaded second and wins. Put every credential in `.env.local`.
95+
`.env` is committed and holds defaults. The service loads the optional,
96+
git-ignored `.env.local` second for container runtime variables such as provider
97+
credentials and `RAVEN_AUTO_LOGIN`. Put every credential in `.env.local`.
98+
99+
Compose interpolation is separate: `RAVEN_IMAGE`, `RAVEN_WEB_PORT`,
100+
`RAVEN_EXTRAS`, `RAVEN_PLUGINS`, and `RAVEN_OFFICE` are resolved before the
101+
container starts. Setting them only in the service's `.env.local` does not
102+
override the image, published port, or build arguments. From this directory,
103+
use shell variables, for example:
104+
105+
```bash
106+
RAVEN_IMAGE=raven:local RAVEN_WEB_PORT=18893 docker compose up --build
107+
```
108+
109+
Or, after creating `.env.local`, load it explicitly for interpolation too:
110+
111+
```bash
112+
docker compose --env-file .env --env-file .env.local up --build
113+
```
114+
115+
The later file wins; shell environment values override both files.
92116

93117
## Data
94118

‎docs-site/docs/docker.md‎

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ channels, scheduled tasks, and other gateway services.
66

77
## Start the container
88

9-
From the repository root:
9+
To build and run the current source checkout, start from the repository root:
1010

1111
```bash
1212
cd docker
13-
docker compose up
13+
docker compose up --build
1414
```
1515

16+
To run the configured image without building the checkout, use
17+
`docker compose up --no-build` from `docker/`. Plain `docker compose up` may
18+
reuse or pull an image; it does not guarantee a rebuild of local changes.
19+
1620
Open `http://127.0.0.1:18793` after the container is ready. The default local
1721
configuration signs you in automatically.
1822

@@ -71,9 +75,30 @@ startup. Values set here take precedence when the container restarts.
7175

7276
## Configure environment values
7377

74-
The `docker/.env` file contains committed defaults. The optional
75-
`docker/.env.local` file loads second and overrides them. Store credentials in
76-
`.env.local`, which Git ignores.
78+
The `docker/.env` file contains committed defaults. For container runtime
79+
variables such as `RAVEN_PROVIDER`, `RAVEN_API_KEY`, and `RAVEN_AUTO_LOGIN`,
80+
the service loads the optional `docker/.env.local` file second as an
81+
`env_file`. Store credentials there; Git ignores it.
82+
83+
Compose interpolation is separate. `RAVEN_IMAGE`, `RAVEN_WEB_PORT`,
84+
`RAVEN_EXTRAS`, `RAVEN_PLUGINS`, and `RAVEN_OFFICE` determine the image,
85+
published port, or build arguments before the container starts. Merely putting
86+
them in the service's `.env.local` file does not override those settings.
87+
From `docker/`, provide them in the shell environment, for example:
88+
89+
```bash
90+
RAVEN_IMAGE=raven:local RAVEN_WEB_PORT=18893 docker compose up --build
91+
```
92+
93+
Alternatively, after creating `.env.local`, explicitly load it for interpolation
94+
as well:
95+
96+
```bash
97+
docker compose --env-file .env --env-file .env.local up --build
98+
```
99+
100+
The later file overrides the earlier one for interpolation; shell environment
101+
values take precedence over both files.
77102

78103
## Persistent data
79104

‎docs-site/docs/docker.zh.md‎

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ Raven 引擎负责 RPC、消息渠道、定时任务和其他网关服务。
55

66
## 启动容器 { #start-the-container }
77

8-
在仓库根目录运行:
8+
如需构建并运行当前源码,请在仓库根目录运行:
99

1010
```bash
1111
cd docker
12-
docker compose up
12+
docker compose up --build
1313
```
1414

15+
如需运行已配置的镜像而不构建当前源码,请在 `docker/` 中使用
16+
`docker compose up --no-build`。仅运行 `docker compose up` 可能复用或拉取镜像,
17+
并不保证重新构建本地改动。
18+
1519
容器就绪后打开 `http://127.0.0.1:18793`。本地默认配置会自动完成登录。
1620

1721
## 镜像中运行的服务 { #what-runs-in-the-image }
@@ -64,8 +68,26 @@ RAVEN_API_BASE=http://host.docker.internal:11434
6468

6569
## 配置环境变量 { #configure-environment-values }
6670

67-
`docker/.env` 保存已提交的默认值。可选文件 `docker/.env.local` 后加载,并覆盖默认配置。
68-
凭据应写入 `.env.local`,该文件会被 Git 忽略。
71+
`docker/.env` 保存已提交的默认值。对于 `RAVEN_PROVIDER`、`RAVEN_API_KEY`、
72+
`RAVEN_AUTO_LOGIN` 等容器运行时变量,服务会将可选的 `docker/.env.local` 作为
73+
`env_file` 后加载。凭据应写入该文件,Git 会忽略它。
74+
75+
Compose 插值是另一层配置。`RAVEN_IMAGE`、`RAVEN_WEB_PORT`、`RAVEN_EXTRAS`、
76+
`RAVEN_PLUGINS` 和 `RAVEN_OFFICE` 在容器启动前决定镜像、发布端口或构建参数。
77+
仅将这些变量写入服务的 `.env.local`,不会覆盖这些设置。
78+
可以在 `docker/` 中通过 Shell 环境变量传入,例如:
79+
80+
```bash
81+
RAVEN_IMAGE=raven:local RAVEN_WEB_PORT=18893 docker compose up --build
82+
```
83+
84+
也可以先创建 `.env.local`,再显式将其用于插值:
85+
86+
```bash
87+
docker compose --env-file .env --env-file .env.local up --build
88+
```
89+
90+
插值时,后一个文件覆盖前一个文件;Shell 环境变量的优先级高于这两个文件。
6991

7092
## 持久化数据 { #persistent-data }
7193

0 commit comments

Comments
 (0)