agentos

作者 iii-hq已验证

The agent OS that evolves itself. 51 workers, 18 security layers, self-improving functions. Built on iii-engine.

120
Stars
16
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/iii-hq/agentos

快速入门

使用 agentos 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

AgentOS — narrow workers on iii primitives

Apache 2.0 Workers Functions Tests iii-sdk 0.11.6

website · architecture · quickstart · workers


§ 01 · Thesis

AgentOS isn't another agent framework. It's what's left when the runtime becomes someone else's problem.

65 narrow workers — one Rust binary per domain — register Functions and Triggers on the iii engine. Every capability is one shape: register_function(...). The engine carries routing, retries, state, and traces.

notyes
assemble a runtime from category-shaped piecescollapse the categories onto one bus
teach the model your DSLteach it three nouns
bespoke agent runtimenarrow workers on iii

§ 02 · Three primitives

PrimitiveWhat it doesExamples
WorkerOne Rust binary per domain. Connects to the engine over WebSocket.agent-core, llm-router, realm
FunctionA named handler registered by a Worker.agent::chat, llm::route, memory::search
TriggerBinds a Function to HTTP, cron, or pub/sub.POST /v1/chat → agent::chat

That's the whole protocol. Workers stay narrow; everything else lives in the engine.

§ 03 · Quickstart

# 1. install the iii engine binary
curl -fsSL https://install.iii.dev/iii/main/install.sh | sh

# 2. clone + add your model key (workers auto-load this on connect)
git clone https://github.com/iii-experimental/agentos && cd agentos
cp .env.example .env
$EDITOR .env   # set ANTHROPIC_API_KEY=sk-ant-…

# 3. build the workspace
cargo build --workspace --release

# 4. boot engine + workers (in two terminals, or one with `&`)
iii --config config.yaml &
bash scripts/dev-up.sh

# 5. open the chat
cargo run --release -p agentos-tui

Engine boots on port 49134. 64 Rust workers connect. 257 functions register. The TUI opens on Chat — type a message, hit Enter, the agent replies. /help shows the full keymap. Ctrl+W browses the worker catalog.

Prefer driving by HTTP? Same thing without the TUI:

curl -X POST http://127.0.0.1:3111/v1/realms \
  -H 'Content-Type: application/json' \
  -d '{"name":"prod","description":"production"}'

§ 04 · Calling a function

use iii_sdk::{register_worker, InitOptions, TriggerRequest};
use serde_json::json;

let iii = register_worker("ws://localhost:49134", InitOptions::default());

let result = iii.trigger(TriggerRequest {
    function_id: "memory::recall".to_string(),
    payload: json!({"agentId": "alice", "query": "..."}),
    action: None,
    timeout_ms: None,
}).await?;

This is the only inter-worker contract. There is no shared in-process state.

§ 05 · Registering one

use iii_sdk::{register_worker, InitOptions, RegisterFunction};
use iii_sdk::error::IIIError;
use serde_json::{json, Value};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let iii = register_worker("ws://localhost:49134", InitOptions::default());

    iii.register_function(
        RegisterFunction::new_async("analyst::summarize", |input: Value| async move {
            let topic = input["topic"].as_str().unwrap_or("");
            Ok::<Value, IIIError>(json!({ "summary": format!("on {}", topic) }))
        })
        .description("Summarize a topic"),
    );

    tokio::signal::ctrl_c().await?;
    iii.shutdown_async().await;
    Ok(())
}

§ 06 · Workers

64 Rust + 1 Python, grouped by responsibility.

GroupWorkers
Reasoningagent-core llm-router council swarm directive mission
Staterealm memory ledger vault context-manager context-cache
Coordinationorchestrator workflow hierarchy coordination task-decomposer
Executionwasm-sandbox browser code-agent hand-runner lsp-tools
Safetysecurity security-headers security-map security-zeroize skill-security approval approval-tiers rate-limiter loop-guard
Surfacesa2a a2a-cards mcp-client skillkit-bridge bridge streaming
Channelschannel-{bluesky,discord,email,linkedin,mastodon,matrix,reddit,signal,slack,teams,telegram,twitch,webex,whatsapp}
Telemetrytelemetry pulse session-lifecycle session-replay feedback eval evolve hashline hooks cron
Embeddingsembedding (Python)

Each worker ships iii.worker.yaml declaring its registry shape. CI validates conformance on every PR.

§ 07 · Sandbox surfaces

Two distinct namespaces, never overlap:

NamespaceWorkerSemantics
sandbox::*builtin iii-sandbox (engine)Ephemeral microVMs from OCI rootfs
wasm::*agentos wasm-sandboxwasmtime, fuel-metered, sub-millisecond cold start

CI's no sandbox::* clash with builtin job greps the workspace to enforce the boundary.

§ 08 · Layout

workers/         64 Rust + 1 Python (embedding)
crates/          cli, tui — surfaces (HTTP clients, not workers)
e2e/             vitest end-to-end suite (live engine + workers)
tests/           Rust integration tests
hands/           agent personas (TOML, consumed by hand-runner)
integrations/    MCP server configs (TOML, consumed by mcp-client)
agents/          agent templates
workflows/       workflow definitions (YAML)
plugin/          reusable agent/command/skill/hook bundles
config.yaml      iii engine boot config
website/         agentsos.sh — design.md aesthetic, three themes

See ARCHITECTURE.md for the full primitive flow and worker manifest spec.

§ 09 · TUI

Chat-first terminal UI lives in crates/tui:

cargo run --release -p agentos-tui
KeyAction
/Slash command (/agent, /memory, /worker, /realm, /skill, /hand, /help, /quit)
TabAutocomplete current slash command against the live function registry
?Toggle keymap overlay
Ctrl+PCommand palette (fuzzy-jump to any pane)
Ctrl+WWorker picker — browse + install workers without leaving the TUI
EscClose overlay or clear input
1-9 0Direct pane switch (Dashboard / Agents / Chat / Channels / …)

If the engine is offline or no workers are connected, the TUI shows a first-run overlay with copy-paste commands instead of an empty list. Slash completions pull from GET /iii/functions so anything a worker registers is immediately discoverable.

§ 10 · Build and test

cargo build --workspace --release   # all 64 Rust workers
cargo test --workspace --release    # 1,316 tests
npm install && npm run test:e2e     # live engine + workers (requires AGENTOS_API_KEY)

§ 11 · Versioning

version
iii enginev0.11.6
iii-sdk (Rust)pinned at =0.11.6 in workspace
iii-sdk (Node)0.11.6 for the e2e harness
iii-sdk (Python)>=0.11.6 for the embedding worker
agentos0.0.1 — pre-1.0; reserved for behavioral proof against live infra, not feature completeness

§ 12 · License

Apache-2.0. Same family as iii-sdk and the rest of the iii ecosystem.

常见问题

What is agentos?

agentos is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by iii-hq. The agent OS that evolves itself. 51 workers, 18 security layers, self-improving functions. Built on iii-engine. It has 120 GitHub stars.

Is agentos safe to use?

Yes. agentos passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install agentos?

Clone the repository with "git clone https://github.com/iii-hq/agentos" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is agentos written in?

agentos is primarily written in TypeScript. It is open-source under iii-hq on GitHub, so you can review or fork the full source.

Are there alternatives to agentos?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agentos against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情