Agent 开发框架

AgentOS|自演化智能体运行时框架(实验阶段)

AgentOS

一个用于构建可自修改、可审计、可回放智能体运行时环境的 Rust 框架,提供确定性内核与受治理的变更流程。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测

AgentOS(仓库 smartcomputer-ai/agent-os,README 自称 “An agent harness for self-evolving agents”)定位为面向自演化智能体的执行底座/框架,而非单一 Agent 应用。README 说明其目标是让智能体能够在治理约束下,对自己的代码、schema、效果调用、工作流和运行时配置进行“提议、模拟、应用”的修改,并保留完整审计轨迹:每次外部动作产生签名回执,每次状态变化可从事件日志回放。

需要说明:README 明确写出 “AOS is not quite ready for daily use yet”,即当前仍处于活跃开发阶段,尚不适合直接作为日常生产工具使用。仓库顶层描述的 “Build autonomous AI agents!” 是仓库简介,正文以 harness/框架为准,本条目按框架而非成品 Agent 收录。

项目状态

仓库未被归档(archived 为 false),README 称处于活跃开发中,并说明当前版本替代了早期实现(旧版本位于 pre-next 分支)。

核心能力

点击能力名称查看输入、输出和原文依据。

按 README 的架构概览,当前运行时以 Rust 编写,包含:

  • 确定性内核(Deterministic kernel):单线程 world,状态回放一致;
  • AIR(Agent Intermediate Representation):用于 schema、模块、工作流、效果、路由、密钥与清单的类型化控制面;
  • 显式效果(Explicit effects):无隐式 I/O,工作流通过声明的 defeffect 请求外部动作,由适配器返回签名回执;
  • 完整可审计性:外部动作均有签名回执,可做取证式回放;
  • 受治理的自修改:经过 propose、shadow、approve、apply、execute、receipt、audit 等阶段。

以上均为 README 描述的设计与能力,具体实现完成度未给出量化说明,待核验。

实际应用场景

适用场景

适合关注智能体运行时安全、审计与可回放性的研究者或工程团队,例如评估“受治理自修改”这类架构、构建可回放实验环境、研究与 AIR 规范兼容的实现。README 提到当前主要概念验证为 Demiurge agent,并提供 aos-smoke crate 用于演示核心行为。不适合期待开箱即用、免配置办公助手的用户。

安装与接入

README 给出的路径是源码构建:需要 Rust 工具链,先在命令行导出 OPENAI_API_KEY 或 ANTHROPIC_API_KEY(或写入 worlds/demiurge/.env),再执行以下构建命令:

rustup target add wasm32-unknown-unknown
cargo build -p aos-cli
cargo build -p aos-agent --bin session_workflow --target wasm32-unknown-unknown

随后在终端 1 启动本地节点 target/debug/aos node up --select,终端 2 创建并选择 world,最后通过 worlds/demiurge/scripts/demiurge_task.sh 提交任务。

接入方式属于本地自托管部署,不是 MCP 服务或在线 SaaS。本次采集的 MCP 配置与 server 配置均返回 HTTP 404,README 亦未给出 MCP 端点、远程 API 地址或现成客户端配置;如需与第三方客户端集成,方式待核验。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

  • 费用:README 仅说明软件以 Apache 2.0 开源,未说明模型调用费用;实际使用实时 LLM 调用时需自备 OpenAI 或 Anthropic 的 API Key,相关服务费用需向对应服务商核验,本文不报具体价格。
  • 权限与密钥:--sync-secrets 会把密钥复制到仓库根目录的 .aos-node/ 状态目录,README 明示默认本地配置使用内置的 unsafe-dev 加密密钥,应把该目录视为敏感本地状态,不要提交、共享或复制到不受信任的机器。
  • 平台:README 只描述 Rust 与 wasm32 目标构建,未声明 Windows、macOS 或国内网络环境下的兼容性,均待核验。
  • 成熟度:项目自述尚未可用于日常使用,接口可能变动,无稳定性承诺。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

运行时、内核、适配器与 SDK 以 Apache License 2.0 发布,许可证文件已确认;AIR 规范与 schema 文档按 README 声明采用 CC BY 4.0(附免版税专利不主张),具体条款需查阅 LICENSE-SPEC,该文件本次未采集。国内使用方面,README 未提供镜像源、国内加速或合规说明;依赖的 OpenAI/Anthropic 接口在国内的网络可达性与政策合规性需自行核验。

项目资料与来源

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · Before you get started, make sure you have the Rust toolchain installed.

project_type:来源确认 · **🌞 An agent harness for self-evolving agents.**

原始 README(折叠技术参考)
# AgentOS

**🌞 An agent harness for self-evolving agents.**

AgentOS is an agent harness designed for autonomous self-modification of both the agent and the harness around it. Agents can safely propose, simulate, and apply changes to their own code, schemas, effects, workflows, and runtime configuration under governance, with full audit trails. Every external action produces a signed receipt. Every state change is replayable from an event log.

## Why AgentOS

Agents today sit on stacks never designed for self-modification. State sprawls across systems, audits are partial, and governance is bolted on. 

AgentOS makes determinism and governed evolution first-class. Build portable, forkable worlds where agents own their runtime and every change is auditable.

## Architecture Overview

The current runtime is written in Rust and supports the following features:

- **Deterministic kernel**: Single-threaded worlds with replay-identical state
- **AIR (Agent Intermediate Representation)**: Typed control plane for schemas, modules, workflows, effects, routing, secrets, and manifests (homoiconic in spirit, where agents can read and edit their own runtime)
- **Explicit effects**: No ambient I/O. Workflows request declared `defeffect` definitions, the kernel records open work, and adapters return signed receipts
- **Full auditability**: Signed receipts for every external action enable complete forensic replay
- **Safe self-modification**: Governed evolution through propose, shadow, approve, apply, execute, receipt, and audit phases with review gates and full provenance.

## Documentation

Start here:

1. **[spec/01-overview.md](spec/01-overview.md)** — Core concepts, mental model, why this exists
2. **[spec/02-architecture.md](spec/02-architecture.md)** — Runtime components, event flow, storage layout
3. **[spec/03-air.md](spec/03-air.md)** — Complete AIR v2 spec (`defschema`, `defmodule`, `defworkflow`, `defeffect`, `defsecret`, manifests, and routing)
4. **[spec/04-workflows.md](spec/04-workflows.md)** — Workflow runtime contract, orchestration patterns, declared effects, and keyed cells
5. **[spec/05-effects.md](spec/05-effects.md)** — Async effects, durable open work, adapters, receipts, and continuation admission
6. **[spec/06-backends.md](spec/06-backends.md)** — SQLite/Kafka journals, local/object-store CAS, checkpoint metadata, and recovery

Fabric, the AOS-owned host/session execution substrate for `sys/host.*@1` effects, is documented under
**[roadmap/v0.20-fabric/](roadmap/v0.20-fabric/)** and **[dev/fabric/](dev/fabric/)**.

For implementation guidance, project structure, and coding conventions, see **[AGENTS.md](AGENTS.md)**.

## Try AOS

AOS is not quite ready for daily use yet, but it is close. The main proof of concept today is the `Demiurge` agent. The repository also includes the `aos-smoke` crate, which exercises and demonstrates core AOS behavior.

Before you get started, make sure you have the Rust toolchain installed.

### Try Demiurge With The Local Node

`worlds/demiurge` is the task-driven agent workflow in this repo. The simplest way to run it is
with the unified node and the default SQLite journal backend. This keeps node state under
`.aos-node`, uses local filesystem CAS storage, and saves a CLI profile pointing at
the local node API.

If you want live LLM calls, set a provider API key first. You can either export it in your shell or
put it in `worlds/demiurge/.env`. `aos world create --sync-secrets` uploads the required values
into the node secret store for the selected universe. For example:

*Note*: Secrets synced this way are copied into the local node state under `.aos-node/`. They are encrypted
at rest by the node vault, but the default local setup uses the built-in `unsafe-dev` key encryption
key. Treat the repo-root `.aos-node/` directory as sensitive local state: do not commit it, share it,
or copy it to machines you do not trust.

```bash
export OPENAI_API_KEY=...
# or
export ANTHROPIC_API_KEY=...
```

1. Build the debug CLI and workflow artifacts:

```bash
rustup target add wasm32-unknown-unknown

cargo build -p aos-cli
cargo build -p aos-agent --bin session_workflow --target wasm32-unknown-unknown
```

2. In terminal 1, start the node from the repo root:

```bash
target/debug/aos node up --select
```

`sqlite` is the default journal backend and the CAS is also stored on the local file system. All
node data is stored under the repo-root `.aos-node/` directory.

3. In terminal 2, create and select the world, build from the local root, and sync provider
   secrets from `worlds/demiurge/.env`:

```bash
target/debug/aos world create \
  --local-root worlds/demiurge \
  --sync-secrets \
  --select \
  --verbose
```

4. Submit a task:

```bash
worlds/demiurge/scripts/demiurge_task.sh \
  --task "Summarize what this project is about, start with the README."
```

If you change `worlds/demiurge/.env` later, resync secrets before submitting the next task:

```bash
target/debug/aos world patch \
  --local-root worlds/demiurge \
  --sync-secrets
```

Stop the local node when you are done:

```bash
target/debug/aos node down
```

For more details, see [`worlds/demiurge/README.md`](worlds/demiurge/README.md).

### Running the Examples

All ladder demos live under `crates/aos-smoke/fixtures/` and share the `aos-smoke` CLI.

- List demos: `cargo run -p aos-smoke --`
- Run a single demo (e.g., counter): `cargo run -p aos-smoke -- counter`
- Run them sequentially: `cargo run -p aos-smoke -- all`
- Force a rebuild of workflow WASM/artifacts: add `--force-build`, e.g. `cargo run -p aos-smoke -- --force-build counter`
- Increase logging by exporting `RUST_LOG=debug` before invoking the CLI if you need cache/build insight

## Current Status

AgentOS is in active development. We're building the architecture in the open and invite feedback and collaboration.

This version of AgentOS replaces our first attempt, which can be [found here](https://github.com/smartcomputer-ai/agent-os/tree/pre-next). That version was quite different in form, but similar in philosophy.

## Contributing

Feedback, questions, and contributions are welcome. Open an issue or start a discussion.

## License

AgentOS is open-source software licensed under the **Apache License 2.0**.
The runtime, kernel, adapters, and SDKs are available for free use and modification under that license, with an explicit grant of patent rights.

The AIR specification and schema documents are published under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license with a royalty-free patent non-assert, so anyone can build compatible implementations.

See [`LICENSE`](./LICENSE) and [`LICENSE-SPEC`](./LICENSE-SPEC) for full terms.
历史前置条件说明(补充参考)

Rust 工具链与 wasm32-unknown-unknown 目标;需自备 OPENAI_API_KEY 或 ANTHROPIC_API_KEY 才能进行实时 LLM 调用;本地节点状态存于 .aos-node/,默认使用内置 unsafe-dev 加密密钥,需按敏感数据保护;模型调用费用、Windows/macOS 兼容性、国内网络可用性均待核验。

项目来源与清单版权许可

https://github.com/smartcomputer-ai/agent-os

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.