Skip to content

Commit 3bf71ce

Browse files
committed
feat: update documentation links and add README files for core, swarm, and SDK modules
1 parent c5e2349 commit 3bf71ce

File tree

9 files changed

+332
-34
lines changed

9 files changed

+332
-34
lines changed

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ aegis task logs <execution-id> # View execution logs
7474
aegis task cancel <execution-id> # Cancel execution
7575
```
7676

77-
See [CLI Reference](docs/CLI_REFERENCE.md) for complete documentation.
77+
See [CLI Reference](https://docs.100monkeys.ai/docs/reference/cli) for complete documentation.
7878

7979
### Edge Node (`edge-node/`)
8080

@@ -136,7 +136,7 @@ spec:
136136
level: "info"
137137
```
138138
139-
See [aegis-config.yaml](aegis-config.yaml) for a complete example.
139+
See [Node Config Reference](https://docs.100monkeys.ai/docs/reference/node-config) and [`aegis-config.yaml`](aegis-config.yaml) for a complete example.
140140

141141
### Debugging and Logging
142142

@@ -219,7 +219,7 @@ target/debug/aegis agent logs echo
219219
target/debug/aegis daemon stop
220220
```
221221

222-
For detailed instructions, see [Getting Started Guide](docs/GETTING_STARTED.md).
222+
For detailed instructions, see [Getting Started Guide](https://docs.100monkeys.ai/docs/getting-started).
223223

224224
## Development
225225

@@ -270,7 +270,7 @@ The orchestrator enforces:
270270
- **Resource Limits**: CPU, memory, execution time
271271
- **Audit Trail**: Immutable logging
272272

273-
For details, see [SECURITY.md](SECURITY.md).
273+
For details, see [Security Model](https://docs.100monkeys.ai/docs/concepts/security-model).
274274

275275
## Performance
276276

@@ -286,9 +286,22 @@ Full documentation is available at **[docs.100monkeys.ai](https://docs.100monkey
286286
| --- | --- |
287287
| [Getting Started](https://docs.100monkeys.ai/docs/getting-started) | Install, configure, and run your first agent |
288288
| [Core Concepts](https://docs.100monkeys.ai/docs/concepts) | Agents, executions, workflows, swarms, security model |
289-
| [Guides](https://docs.100monkeys.ai/docs/guides) | Writing agents, building workflows, configuring storage |
289+
| [Writing Agents](https://docs.100monkeys.ai/docs/guides/writing-agents) | Author and structure agent code |
290+
| [Deploying Agents](https://docs.100monkeys.ai/docs/guides/deploying-agents) | Deploy agents with the CLI or API |
291+
| [LLM Providers](https://docs.100monkeys.ai/docs/guides/llm-providers) | Configure Ollama, OpenAI, and other LLM backends |
292+
| [Building Workflows](https://docs.100monkeys.ai/docs/guides/building-workflows) | Chain agents into multi-step workflows |
293+
| [Building Swarms](https://docs.100monkeys.ai/docs/guides/building-swarms) | Coordinate parallel agent swarms |
294+
| [Configuring Storage](https://docs.100monkeys.ai/docs/guides/configuring-storage) | Persistent storage backends for agents |
295+
| [Local Testing](https://docs.100monkeys.ai/docs/guides/local-testing) | Test agents locally before deploying |
290296
| [Architecture](https://docs.100monkeys.ai/docs/architecture) | Execution engine, SMCP, storage gateway, event bus |
291-
| [Deployment](https://docs.100monkeys.ai/docs/deployment) | Docker, Firecracker, IAM, secrets, configuration reference |
297+
| [Security Model](https://docs.100monkeys.ai/docs/concepts/security-model) | Isolation, network control, secrets, audit trail |
298+
| [Deployment — Docker](https://docs.100monkeys.ai/docs/deployment/docker) | Run the orchestrator with Docker |
299+
| [Deployment — Firecracker](https://docs.100monkeys.ai/docs/deployment/firecracker) | Production micro-VM setup |
300+
| [Secrets Management](https://docs.100monkeys.ai/docs/deployment/secrets) | OpenBao / Vault integration (Keymaster Pattern) |
301+
| [IAM](https://docs.100monkeys.ai/docs/deployment/iam) | Keycloak identity and access management |
302+
| [Configuration Reference](https://docs.100monkeys.ai/docs/reference/node-config) | `NodeConfig` YAML reference (`aegis-config.yaml`) |
303+
| [Agent Manifest Reference](https://docs.100monkeys.ai/docs/reference/agent-manifest) | `AgentManifest` YAML field reference |
304+
| [Workflow Manifest Reference](https://docs.100monkeys.ai/docs/reference/workflow-manifest) | `WorkflowManifest` YAML field reference |
292305
| [CLI Reference](https://docs.100monkeys.ai/docs/reference/cli) | Complete `aegis` CLI command reference |
293306
| [gRPC API](https://docs.100monkeys.ai/docs/reference/grpc-api) | `aegis.runtime.v1` service methods and message types |
294307

cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ authors.workspace = true
77
license.workspace = true
88
repository.workspace = true
99
description = "100monkeys.ai AEGIS orchestrator CLI and daemon"
10+
readme = "README.md"
1011

1112
[lib]
1213
name = "aegis_orchestrator"

cli/README.md

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# aegis-orchestrator
2+
3+
[![Crates.io](https://img.shields.io/crates/v/aegis-orchestrator.svg)](https://crates.io/crates/aegis-orchestrator)
4+
[![Docs.rs](https://docs.rs/aegis-orchestrator/badge.svg)](https://docs.rs/aegis-orchestrator)
5+
[![License: AGPL-3.0](https://img.shields.io/badge/license-AGPL%203.0-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
6+
[![Documentation](https://img.shields.io/badge/docs-docs.100monkeys.ai-brightgreen.svg)](https://docs.100monkeys.ai)
7+
8+
The `aegis` CLI and daemon binary for the [100monkeys.ai AEGIS](https://docs.100monkeys.ai) platform — a secure, serverless runtime for autonomous AI agents.
9+
10+
## Install
11+
12+
```bash
13+
cargo install aegis-orchestrator
14+
```
15+
16+
Or build from source:
17+
18+
```bash
19+
git clone https://github.com/100monkeys-ai/aegis-orchestrator
20+
cd aegis-orchestrator
21+
cargo build --release -p aegis-orchestrator
22+
```
23+
24+
## Quick Start
25+
26+
```bash
27+
# 1. Start the daemon
28+
aegis daemon start
29+
30+
# 2. Deploy an agent
31+
aegis agent deploy agent.yaml
32+
33+
# 3. Run a task
34+
aegis task execute my-agent --input "Summarise the README"
35+
36+
# 4. Stream logs
37+
aegis agent logs my-agent
38+
39+
# 5. Stop the daemon
40+
aegis daemon stop
41+
```
42+
43+
## Command Reference
44+
45+
### Daemon
46+
47+
```bash
48+
aegis daemon start # Start the orchestrator daemon
49+
aegis daemon stop # Stop the daemon
50+
aegis daemon status # Show daemon health and version
51+
```
52+
53+
### Agents
54+
55+
```bash
56+
aegis agent deploy agent.yaml # Deploy an agent from a manifest
57+
aegis agent list # List all deployed agents
58+
aegis agent logs <name> # Stream live agent logs
59+
aegis agent remove <id> # Remove a deployed agent
60+
```
61+
62+
### Tasks (Executions)
63+
64+
```bash
65+
aegis task execute <agent> --input "..." # Submit a task
66+
aegis task list # List recent executions
67+
aegis task logs <execution-id> # View execution logs
68+
aegis task cancel <execution-id> # Cancel a running execution
69+
```
70+
71+
### Debug Logging
72+
73+
```bash
74+
# Enable verbose structured logs (includes bootstrap.py stdout/stderr)
75+
RUST_LOG=debug aegis daemon start
76+
77+
# Or via config (aegis-config.yaml)
78+
spec:
79+
observability:
80+
logging:
81+
level: debug # trace | debug | info | warn | error
82+
```
83+
84+
## Configuration
85+
86+
The daemon is configured via `aegis-config.yaml` in the working directory:
87+
88+
```yaml
89+
apiVersion: 100monkeys.ai/v1
90+
kind: NodeConfig
91+
metadata:
92+
name: my-node
93+
spec:
94+
node:
95+
id: my-node-001
96+
type: edge
97+
llm_providers:
98+
- name: local
99+
type: ollama
100+
endpoint: http://localhost:11434
101+
enabled: true
102+
models:
103+
- alias: default
104+
model: phi3:mini
105+
capabilities: [code, reasoning]
106+
llm_selection:
107+
strategy: prefer-local
108+
default_provider: local
109+
```
110+
111+
See the [Node Config Reference](https://docs.100monkeys.ai/docs/reference/node-config) for all fields.
112+
113+
## Documentation
114+
115+
| Resource | Link |
116+
| --- | --- |
117+
| Getting Started | [docs.100monkeys.ai/docs/getting-started](https://docs.100monkeys.ai/docs/getting-started) |
118+
| CLI Reference | [docs.100monkeys.ai/docs/reference/cli](https://docs.100monkeys.ai/docs/reference/cli) |
119+
| Node Config Reference | [docs.100monkeys.ai/docs/reference/node-config](https://docs.100monkeys.ai/docs/reference/node-config) |
120+
| Agent Manifest Reference | [docs.100monkeys.ai/docs/reference/agent-manifest](https://docs.100monkeys.ai/docs/reference/agent-manifest) |
121+
| Deploying Agents | [docs.100monkeys.ai/docs/guides/deploying-agents](https://docs.100monkeys.ai/docs/guides/deploying-agents) |
122+
| Docker Deployment | [docs.100monkeys.ai/docs/deployment/docker](https://docs.100monkeys.ai/docs/deployment/docker) |
123+
| Firecracker Deployment | [docs.100monkeys.ai/docs/deployment/firecracker](https://docs.100monkeys.ai/docs/deployment/firecracker) |
124+
| Local Testing | [docs.100monkeys.ai/docs/guides/local-testing](https://docs.100monkeys.ai/docs/guides/local-testing) |
125+
126+
## Related Crates
127+
128+
| Crate | Description |
129+
| --- | --- |
130+
| [`aegis-orchestrator-core`](https://crates.io/crates/aegis-orchestrator-core) | Domain logic and runtime primitives |
131+
| [`aegis-orchestrator-swarm`](https://crates.io/crates/aegis-orchestrator-swarm) | Swarm coordination |
132+
| [`aegis-orchestrator-sdk`](https://crates.io/crates/aegis-orchestrator-sdk) | Rust SDK for agent authors |
133+
134+
## License
135+
136+
Copyright © 2026 100monkeys AI, Inc.
137+
138+
Licensed under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0) (AGPL-3.0).

orchestrator/core/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ authors.workspace = true
77
license.workspace = true
88
repository.workspace = true
99
description = "Core domain and runtime primitives for the 100monkeys.ai AEGIS orchestrator"
10+
readme = "README.md"
1011

1112
# Include proto-vendor in published packages (created by CI)
1213
include = [
1314
"src/**/*.rs",
1415
"Cargo.toml",
16+
"README.md",
1517
"build.rs",
1618
"proto-vendor/**/*.proto",
1719
]

orchestrator/core/README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# aegis-orchestrator-core
2+
3+
[![Crates.io](https://img.shields.io/crates/v/aegis-orchestrator-core.svg)](https://crates.io/crates/aegis-orchestrator-core)
4+
[![Docs.rs](https://docs.rs/aegis-orchestrator-core/badge.svg)](https://docs.rs/aegis-orchestrator-core)
5+
[![License: AGPL-3.0](https://img.shields.io/badge/license-AGPL%203.0-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
6+
[![Documentation](https://img.shields.io/badge/docs-docs.100monkeys.ai-brightgreen.svg)](https://docs.100monkeys.ai)
7+
8+
Core domain logic and runtime primitives for the [100monkeys.ai AEGIS](https://docs.100monkeys.ai) orchestrator. This crate is the **pure domain kernel** — it has no dependency on any particular runtime, database, or HTTP framework except through trait abstractions.
9+
10+
## What's in this crate
11+
12+
| Layer | Contents |
13+
| --- | --- |
14+
| **Domain** | `Agent`, `Execution`, `Workflow`, `Swarm`, `SmcpSession`, `SecurityContext`, `Policy`, `NodeConfig`, `RuntimeRegistry` value objects and entities |
15+
| **Application** | Orchestration services: `InnerLoopService`, `LifecycleService`, `ToolInvocationService`, `ValidationService`, `StorageRouter`, `VolumeManager`, `NfsGateway` |
16+
| **Infrastructure** | Trait implementations for Docker runtime, LLM providers, Temporal client, Cortex/memory, gRPC (AEGIS Runtime Proto), SeaweedFS, OpenBao secrets |
17+
| **Presentation** | Axum HTTP handlers for the `/v1` REST API and gRPC service endpoints |
18+
19+
## Key Concepts
20+
21+
- **Agent** — a stateless, containerised unit of autonomous work defined by an [`AgentManifest`](https://docs.100monkeys.ai/docs/reference/agent-manifest)
22+
- **Execution** — a single agent invocation; lifecycle: `Pending → Running → Succeeded | Failed | Cancelled`
23+
- **SMCP** — Secure Model Context Protocol (ADR-035); every tool call is signed with Ed25519 and validated end-to-end
24+
- **Dispatch Gateway** — all tool calls route through the orchestrator proxy at `/v1/dispatch-gateway` (ADR-040); agents never call external APIs directly
25+
- **Security Policy** — default-deny network and filesystem policies enforced at container/VM boot time
26+
27+
## Usage
28+
29+
This crate is not intended for direct use by agent authors — use [`aegis-orchestrator-sdk`](https://crates.io/crates/aegis-orchestrator-sdk) instead. This crate is consumed internally by the other workspace members and may be useful for advanced integrations.
30+
31+
```toml
32+
[dependencies]
33+
aegis-orchestrator-core = "0.4.0-pre-alpha"
34+
```
35+
36+
```rust
37+
use aegis_orchestrator_core::domain::agent::{AgentManifest, AgentSpec};
38+
use aegis_orchestrator_core::domain::execution::Execution;
39+
```
40+
41+
## Documentation
42+
43+
| Resource | Link |
44+
| --- | --- |
45+
| Getting Started | [docs.100monkeys.ai/docs/getting-started](https://docs.100monkeys.ai/docs/getting-started) |
46+
| Architecture Overview | [docs.100monkeys.ai/docs/architecture](https://docs.100monkeys.ai/docs/architecture) |
47+
| Execution Engine | [docs.100monkeys.ai/docs/architecture/execution-engine](https://docs.100monkeys.ai/docs/architecture/execution-engine) |
48+
| SMCP | [docs.100monkeys.ai/docs/architecture/smcp](https://docs.100monkeys.ai/docs/architecture/smcp) |
49+
| Agent Manifest Reference | [docs.100monkeys.ai/docs/reference/agent-manifest](https://docs.100monkeys.ai/docs/reference/agent-manifest) |
50+
| Node Config Reference | [docs.100monkeys.ai/docs/reference/node-config](https://docs.100monkeys.ai/docs/reference/node-config) |
51+
| Security Model | [docs.100monkeys.ai/docs/concepts/security-model](https://docs.100monkeys.ai/docs/concepts/security-model) |
52+
53+
## License
54+
55+
Copyright © 2026 100monkeys AI, Inc.
56+
57+
Licensed under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0) (AGPL-3.0).

orchestrator/swarm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ authors.workspace = true
77
license.workspace = true
88
repository.workspace = true
99
description = "Swarm coordination for the 100monkeys.ai AEGIS orchestrator"
10+
readme = "README.md"
1011

1112
[dependencies]
1213
tokio = { workspace = true }

orchestrator/swarm/README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# aegis-orchestrator-swarm
2+
3+
[![Crates.io](https://img.shields.io/crates/v/aegis-orchestrator-swarm.svg)](https://crates.io/crates/aegis-orchestrator-swarm)
4+
[![Docs.rs](https://docs.rs/aegis-orchestrator-swarm/badge.svg)](https://docs.rs/aegis-orchestrator-swarm)
5+
[![License: AGPL-3.0](https://img.shields.io/badge/license-AGPL%203.0-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
6+
[![Documentation](https://img.shields.io/badge/docs-docs.100monkeys.ai-brightgreen.svg)](https://docs.100monkeys.ai)
7+
8+
Swarm coordination layer for the [100monkeys.ai AEGIS](https://docs.100monkeys.ai) orchestrator. Implements the **Swarm** bounded context — parallel multi-agent orchestration with fan-out dispatch, result aggregation, and supervisor-managed lifecycles.
9+
10+
## What's in this crate
11+
12+
| Layer | Contents |
13+
| --- | --- |
14+
| **Domain** | `Swarm` aggregate, `SwarmSpec`, member state machine, fan-out / aggregation strategies |
15+
| **Application** | `SwarmService` — create, dispatch, aggregate, and resolve swarms |
16+
17+
## Key Concepts
18+
19+
- **Swarm** — a named group of agents that execute the same stimulus in parallel and whose results are aggregated by a configurable strategy (e.g. `first-success`, `majority-vote`, `all`)
20+
- **Supervisor** — an optional coordinating agent that reviews aggregated swarm output before surfacing a final result
21+
- Swarms compose naturally with **Workflows** — a workflow step can fan out to a swarm and collect a single resolved output
22+
23+
```markdown
24+
Stimulus ──► SwarmService.dispatch()
25+
26+
┌─────┴─────┐
27+
▼ ▼
28+
Agent A Agent B … Agent N
29+
│ │
30+
└─────┬─────┘
31+
32+
Aggregator
33+
34+
(Supervisor)
35+
36+
37+
Final Result
38+
```
39+
40+
## Usage
41+
42+
```toml
43+
[dependencies]
44+
aegis-orchestrator-swarm = "0.4.0-pre-alpha"
45+
```
46+
47+
```rust
48+
use aegis_orchestrator_swarm::application::SwarmService;
49+
```
50+
51+
## Documentation
52+
53+
| Resource | Link |
54+
| --- | --- |
55+
| Swarms Concept | [docs.100monkeys.ai/docs/concepts/swarms](https://docs.100monkeys.ai/docs/concepts/swarms) |
56+
| Building Swarms Guide | [docs.100monkeys.ai/docs/guides/building-swarms](https://docs.100monkeys.ai/docs/guides/building-swarms) |
57+
| Architecture Overview | [docs.100monkeys.ai/docs/architecture](https://docs.100monkeys.ai/docs/architecture) |
58+
59+
## License
60+
61+
Copyright © 2026 100monkeys AI, Inc.
62+
63+
Licensed under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0) (AGPL-3.0).

sdks/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ authors.workspace = true
77
license.workspace = true
88
repository.workspace = true
99
description = "Rust SDK for building 100monkeys.ai AEGIS agents"
10+
readme = "README.md"
1011

1112
[dependencies]
1213
aegis-orchestrator-core = { path = "../orchestrator/core", version = "0.4.0-pre-alpha" }

0 commit comments

Comments
 (0)