# AgentOS **Repository Path**: SpharxTeam/agentos ## Basic Information - **Project Name**: AgentOS - **Description**: 极境OS智能体操作系统: - 突破200K上下文窗口,实现10M记忆; - 1000小时长任务,准确率99.1%; - 相较于基准token使用量约为1/5,减少80%的使用量; - 工业级场景token的使用效率可以最大化,领先当前主流框架至少5倍; - 全新架构,兼容OpenClaw、openJiuwen、LangChain,Claude、OpenAI - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: https://atomgit.com/openairymax/agentos - **GVP Project**: No ## Statistics - **Stars**: 31 - **Forks**: 8 - **Created**: 2026-03-09 - **Last Updated**: 2026-05-11 ## Categories & Tags **Categories**: ai **Tags**: AI, os, algorithms, Deep-learning, Assistant ## README [](https://www.star-history.com/spharxteam/agentos) # AgentOS Powered by OpenAirymax > 成为人类计算工程史上,第四个"操作系统哲学" **Langua:** 中文 | [English](README.md) [](https://atomgit.com/openairymax/agentos) [](https://gitee.com/spharx/agentos) [](https://github.com/SpharxTeam/AgentOS/stargazers) [](https://atomgit.com/openairymax/agentos) [](LICENSE) [](https://atomgit.com/openairymax/agentos) [](https://isocpp.org) [](https://www.python.org) [](https://go.dev) [](https://www.rust-lang.org) [](https://www.typescriptlang.org) --- ## 🎉 预览版已发布 | 用户类型 | 产品 | 版本 | 下载 | | :------: | :-----: | :------: | :-----------------------------------------------------------------------: | | **专业用户** | Docker | `v0.0.5` | [📦 获取 Docker](https://atomgit.com/openairymax/docker/releases/v0.0.5) | | **个人用户** | Desktop | `v0.0.5` | [🖥️ 获取 Desktop](https://atomgit.com/openairymax/desktop/releases/v0.0.5) | ## 1️⃣ 项目简介 **AgentOS** 是一个智能体底层操作系统,为驱动智能体团队提供完整的操作系统级支持。 **1.1 项目预览** 个人用户客户端预告
✨
全新架构 · 安全内生 · 智能涌现
**4.1 架构设计** 从内核到应用的完整架构: ``` 应用层 (openlab) ↱ 服务层 ⇣ ⇡ 内核层 ⇣ ⇡ 安全层 ⇣ ⇡ 支撑层 ↲ SDK 层 (toolkit) ``` **4.2 设计原则** 基于 [ARCHITECTURAL\_PRINCIPLES](docs/ARCHITECTURAL_PRINCIPLES.md) 构建: - 系统观:实时响应 <10ms 反馈闭环,层次分解 总体设计,涌现管理 - 内核观:内核 ~6K LOC 内核极简,接口契约化 服务隔离,可插拔策略 - 认知观:Token 节省 80% 双系统协同,增量演化 记忆卷载,遗忘机制 - 工程观:测试覆盖 >95% 安全内生,可观测性 资源确定性,跨平台一致 - 设计美学:API <50 个/模块 简约至上,极致细节 人文关怀,完美主义 ## 5️⃣ 快速上手 **5.1 环境要求** - **操作系统**:Ubuntu 22.04+ / macOS 13+ / Windows 11 (WSL2) - **编译器**:GCC 11+ / Clang 14+ (C11/C++17) - **构建工具**:CMake 3.20+, Ninja - **Python**:3.10+ (OpenLab 需要) **5.2 安装与构建** ```ctext # 1. 克隆仓库 git clone https://atomgit.com/openairymax/agentos.git && cd agentos # 2. 安装依赖(Ubuntu) sudo apt install -y build-essential cmake gcc g++ libssl-dev libsqlite3-dev ninja-build # 3. 构建内核 mkdir build && cd build cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON cmake --build . --parallel $(nproc) # 4. 运行测试 ctest --output-on-failure ``` **5.3 Docker快速启动** ```text # 构建镜像 docker build -f scripts/deploy/docker/Dockerfile.kernel -t agentos:latest . # 运行容器 docker run -d --name agentos -p 8080:8080 -v ./config:/app/config agentos:latest ``` **5.4 使用方式** ``` | 语言 | 使用方式 | |:-----|:---------| | C/C++ | 通过 `syscalls.h` 系统调用接口开发 | | Python | 通过 `pip install agentos` 后直接 import | | Go | 通过 `import "github.com/spharx/agentos/toolkit/go"` | | Rust | 通过 `use agentos_toolkit::prelude::*;` | | TypeScript | 通过 `npm install @spharx/agentos-toolkit` 后直接 import | ``` **5.5 阅读导航** | 文档 | 核心内容 | | :------------------------------------------ | :------------------- | | [📘 架构原则](docs/ARCHITECTURAL_PRINCIPLES.md) | 五维正交体系,24 条核心原则 | | [🚀 快速开始](docs/guides/quickstart.md) | 5 分钟上手指南 | | [⚙️ 编译指南](docs/guides/build.md) | 详细构建步骤和选项 | | [🧪 测试指南](docs/guides/testing.md) | 单元/集成/契约测试 | | [🐳 部署指南](docs/guides/deployment.md) | Docker/Kubernetes 部署 | **5.6 常见问题**🔥
微微的灯火,照不亮前路,但能指引前行的方向
**6.1 贡献流程:** 详见 [贡献指南](CONTRIBUTING.md) ```bash Fork 项目 → 创建分支 → 开发测试 → 提交 PR → 代码审查 → 合并主分支 ``` **主要平台**:[AtomGit](https://atomgit.com/spharx/agentos)(推荐) · [Gitee](https://gitee.com/spharx/agentos) · [GitHub](https://github.com/SpharxTeam/AgentOS) **6.2 贡献者名单:** 详见 [AUTHORS.md](AUTHORS.md) ## 7️⃣ 许可证 本项目采用 **Apache License 2.0** 开源许可,详情参阅 [LICENSE](LICENSE) 文件。 ***
AtomGit · Gitee · GitHub · 官方网站
© 2026 SPHARX Ltd. All Rights Reserved.