Skip to content

rootkiller6788/AutoLoop

Repository files navigation

AutoLoop

Tests Release

image

What is AutoLoop?

AutoLoop is a Rust-native AIOS for governed agent execution.

It does not just call models and tools.
It turns ambiguous intent into a controlled runtime loop:

clarify → plan → gate → execute → verify → remember → replay → improve

That means:

  • vague tasks become structured sessions
  • all execution goes through policy and runtime guards
  • results can be verified, audited, and replayed
  • memory is not passive storage — it feeds future reasoning
  • learning only upgrades when trust conditions are met

AutoLoop is for people who want more than "agent demos".
It is for building AI systems that can be governed.

Why AutoLoop exists

Most agent systems optimize for:

  • more tools
  • longer chains
  • more autonomy
  • prettier demos

AutoLoop optimizes for something else:

  • controlled execution
  • verifiable outcomes
  • runtime governance
  • learning with trust boundaries
  • operator visibility and replay

In other words:

AutoLoop is not another free-form agent wrapper.
It is a governed execution runtime for AI systems.

5-Minute Demo

Quick Start

Prerequisites

  • Rust toolchain
  • Optional: SpacetimeDB CLI
  • Optional: Docker / Docker Compose

Run

cargo run --manifest-path .\Cargo.toml -- --message "Build a swarm that uses graph memory and MCP execution" --swarm

Validate

cargo check --workspace --manifest-path .\Cargo.toml
cargo test --workspace --manifest-path .\Cargo.toml

Browser Research Runtime

Supported real research backends:

  • browser_fetch: use a Browserless-style render endpoint
  • playwright_cli: use local Node + Playwright for browser rendering
  • firecrawl: use Firecrawl search/scrape APIs

Recommended health checks:

cargo run --manifest-path .\Cargo.toml -- system health
cargo run --manifest-path .\Cargo.toml -- crawl status --anchor-id cli:focus

Planning and Learning Governance Flow

┌──────────────────────────────────────────────┐
│              AutoLoop Core Loop              │
└──────────────────────────────────────────────┘

[User Intent]
     |
     v
[Requirement Clarification Agent]
     |
     v
[Policy & Rule Engine] --reject/revise--> [Clarification]
     | approve
     v
[Orchestrator / Planner-Critic-Judge]
     |
     v
[Capability Catalog Selector]
(only active + verified + trusted)
     |
     v
[Runtime Kernel Guard]
(identity/tenant + budget/token + timeout + sandbox + breaker)
     | pass                               | block/fail
     v                                    v
[Execution Pools] ------------------> [Recovery/Degrade/Retry]
     |
     v
[Verifier & Audit Pipeline]
     | pass                              | reject
     v                                   v
[Learning Proposal Builder]          [Back to Plan]
     |
     v
[Learning Gate (Verifier)]
     | promote                           | rollback
     v                                   v
[Memory + GraphRAG Update]        [Keep Previous Skill]
     |
     v
[Routing/Prompt/Capability Strategy Update]
     |
     v
[Observability + Reports + Replay]
     |
     v
[Next Iteration (Repeat)]

Why AutoLoop (3 Core Differentiators)

  1. Governed execution, not free-form agent calls: capabilities are cataloged, verified, and routed through runtime guardrails.
  2. Memory that participates in decisions: GraphRAG + learning records feed routing, verifier, and capability evolution.
  3. End-to-end operability: CLI runtime + SpacetimeDB persistence + dashboard + deployment templates in one repository.

What Is Implemented in v0.1.0-alpha

  • Multi-turn requirement clarification with scope freeze signals
  • CEO + planner/critic/judge orchestration artifacts
  • Capability catalog and verifier-gated execution path
  • GraphRAG snapshot and incremental merge pipeline
  • Learning persistence for episodes, skills, causal edges, and witness logs
  • Observability records and dashboard snapshot serving

Current Scope (Honest Boundaries)

  • This is an engineering alpha, not a fully production-hardened autonomous platform.
  • Real-world provider/tool integrations exist but still need broader compatibility and hardening.
  • GraphRAG, verifier policy depth, and learning strategy are functional but still evolving.

Project Map

Docs

Notes

  • Badges and links are already bound to rootkiller6788/AutoLoop.

About

AutoLoop: A Self-driven, Self-verifying, and Self-evolving AI Engine Native to Rust.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors