Skip to content

Latest commit

 

History

155 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Wild AgentOS

Wild AgentOS Logo

A governed operating system for teams that run multiple AI agents

Star on GitHub Rust License gRPC Knowledge Graph Release


English · 中文 · Design detail →

Wild AgentOS

What is Wild AgentOS?

Wild AgentOS is a governed operating system for multi-agent work, built in Rust (a systems programming language). It helps teams coordinate AI agents through PDCA (Plan, Do, Check, Act), share knowledge, and keep an auditable record of work and decisions.

It is designed around tenant and project boundaries. A verified JWT (an identity token) carries tenant/project isolation claims (IsolationClaims). The system uses those claims to select the caller's graph, vector, file, and work-record storage. Missing or invalid identity means access is refused; a caller cannot select another tenant's storage. This applies to the claims-scoped interfaces, not every legacy HTTP endpoint. The naming scheme does not migrate historical data—see the Isolation Contract.

Domain-specific conversation belongs in the client or an optional example pack such as ev-repair, not in the core middleware.

What you get

  • Coordinated work: Rust-based PDCA workflows, task services, and an event audit trail for multi-agent Plan/Do/Check/Act work.
  • Shared knowledge and retrieval: an Oxigraph knowledge graph (a structured store) queried with SPARQL, plus embedded vector retrieval for finding relevant information.
  • Controlled knowledge changes: drafts from CSV, JSON Schema, OpenAPI, and SQL DDL can be checked, placed in a staging area, reviewed, and—when approved—written to production data. Drafts never become official definitions automatically.
  • Human oversight and evidence: high-risk or approval-held Actions require a decision; low-risk Actions can commit only when their policy permits it. The system records checks, reviews, audit events, and read-back evidence. Entity-resolution suggestions (whether two records are the same entity) are staged and never merged automatically.
  • Identity and integrations: production uses OIDC/JWKS identity validation; local development has a separate development signing mode. gRPC is available for service-to-service communication, and MCP (Model Context Protocol) can expose explicitly published, tenant-scoped Skills. The outbound A2A adapter is optional, off by default, and best-effort only.
  • Governed packages: Logic and Skill packages have immutable versions, tenant-scoped visibility, and recorded install, upgrade, and rollback steps. Promotion requires defined gates, review evidence, and human approval.

The companion Admin control-plane and online-job-list user interfaces are separate products and are not in this repository.

v0.6: Online corpus jobs, with people in control

v0.6.0 adds authenticated online-corpus jobs within the same tenant/project boundary. Watchers are enabled by default but only watch configured source versions and place one job in the queue for each new version. A deployment can turn that polling and queueing off without deleting retained jobs, cursors, reviews, or audit records. Watchers do not fetch source URLs, calculate content changes, or run jobs.

An authenticated person or service manually runs a queued job with supplied text, extraction method, candidates, and a quality-check request. The job standardizes the candidates, keeps their evidence in a staging area, runs checks, creates an approval-held entity-resolution suggestion, and then awaits review.

The system keeps limited source-tracing and operational records, including source versions, content digests, checks, review status, retries, capacity pressure, and job state. Temporary sidecar failures retry at most three times; identity, validation, and policy failures stop the job. CI verifies that failed, invalid, cross-boundary, or unauthenticated paths cannot write production data.

Crucially, these jobs do not automatically merge entities, make an ontology official, or write staged results to production. Those are explicit, human-governed, auditable decisions.

Release highlights

Version Date Business summary
v0.7.0 2026-09-13 Core chat stays general-purpose; optional example packs can add domain help when selected. Teams can also view only their own tasks, guard records, and blackboard data, with sensitive details removed from guard views.
v0.6.1 2026-09-09 Generic Agent chat and completions are domain-neutral by default; workload OIDC now defines short-lived JWTs for IsolationClaims without sharing BFF signing secrets.
v0.6.0 2026-09-08 Authenticated online-corpus job records, manual staging runner, queue-only watchers, bounded source tracing and operational records, retry/capacity controls, and CI-proven production-write isolation.
v0.5.0 2026-09-07 Governed knowledge-engineering flow: staged extraction, quality and review, approval-held identity suggestions, evidence, health reporting, and compatibility-gated ontology design.
v0.3.0 2026-09-05 Versioned Logic and Skill packages, production identity validation, human-gated emerging tools, and optional read-time knowledge expansion.
v0.2.0–v0.2.2 2026-09-05 Package verification and publishing controls, scoped knowledge drafts and integrations, artifact storage, an optional external sandbox adapter, and reproducible deployment benchmarks.
v0.1.5–v0.1.8 2026-08-18–2026-09-04 Causal analysis, graph and memory foundations, Action review and audit controls, and tenant/project isolation with diagnosis and migration tooling.

See the full changelog.

How governance works

  • Knowledge stays explainable: Oxigraph stores the knowledge graph; SPARQL is the query language used to inspect it. Separate knowledge-graph areas keep tenant/project data distinct.
  • Changes require the right decision: candidates are standardized against approved definitions, checked, staged, and reviewed. Production promotion and writing production data require explicit governed steps.
  • Evidence is independent: deterministic checks, frozen reference cases, audit records, and production read-backs mean a model or worker saying “complete” is not treated as proof.
  • Access is contained: verified tenant/project claims choose the storage boundary, so claims-scoped interfaces do not write across boundaries.

Build from source

git clone https://github.com/skaiy/wild_agentos.git
cd wild_agentos
# Install Protocol Buffers' protoc compiler before building.
cargo build --workspace
cargo test --workspace

Run locally

Runtime configuration

The server fails closed and exits non-zero if config.yaml, the runtime override, or configuration environment variables cannot be parsed. For local development only, explicitly opt into defaults with AGENT_OS_CONFIG_PROFILE=development or AGENT_OS_ALLOW_DEFAULT_CONFIG=true; do not set either in production.


The default binary starts the HTTP/SSE server on port 8080 and gRPC on 50051. Start it from a checkout with the provided config.yaml:

cargo run --bin wild-agent-os-core

Configure an LLM gateway before using LLM-backed features. The supplied config contains empty gateway credentials; keep deployment credentials outside version control. For production, set AGENTOS_ENV=production and configure the required OIDC/JWKS environment values described in the Isolation Contract. The server refuses a production HS256 configuration.

Documentation

Contributing

Before submitting, run the relevant checks:

cargo fmt --check
cargo clippy --workspace --all-targets
cargo test --workspace

License

Wild AgentOS is dual-licensed:

For commercial licensing, contact diaoguoliang@gmail.com. Contributions require the Contributor License Agreement.

Copyright (c) 2026 skaiy (diaoguoliang@gmail.com).

About

Rust 语义内核 AgentOS:以 PDCA 编排多智能体,结合 IsolationClaims 隔离、Oxigraph 知识图与受治理本体知识工程及在线语料作业。

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages