# unicity-aos/capsule-react

ReAct loop coordinator. Stateless state machine for reasoning-and-action cycle. Part of Unicity AOS.

Repository: https://github.com/unicity-aos/capsule-react
Canonical: https://ross.abutalabs.com/products/capsule-react
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-07-09T19:30:04+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 92, longevity 12
- inputs: {"age_days": 170, "days_push": 55, "days_rel": 55, "gap_med": 7, "n_releases_24m": 4}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5053, forks 13 (observed 2026-08-28T04:09:09.113575+00:00)

## What it is
A Rust ReAct loop coordinator that implements a stateless state machine for the reasoning-and-action cycle in agent systems. It is part of the Unicity AOS/Astrid OS ecosystem, orchestrating session, identity, prompt-building, provider, and tool-routing capsules over an IPC event bus without performing inference or tool execution itself.

## Use cases
- coordinate a ReAct reasoning-and-action loop for an LLM agent
- orchestrate multiple agent capsules over an IPC event bus
- swap agent orchestration strategies like debate or chain-of-verification
- build a stateless state machine for streaming LLM turns and tool calls
- separate agent control flow from inference and tool execution

## When to choose
- you are building agents within the Unicity AOS/Astrid OS capsule model
- you want pure orchestration control flow decoupled from LLM providers and tools
- you need a Rust/WASM state machine for the ReAct cycle

## When to avoid
- you need a full agent framework with built-in LLM calls, tools, or memory
- you want a standalone agent runtime outside the AOS capsule ecosystem
- you need conversation history persistence, which lives in the session capsule

## Facets
- artifact type: library
- maturity: active
- function: agent-framework, llm-inference, workflow-automation, middleware
- domain: large-language-models, developer-tools
- platform: rust, wasm
- tags: react-loop, state-machine, orchestration, ipc, capsule, agent-architecture, ai-agents

## Member repositories
- unicity-aos/capsule-react (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.113575+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:20.786270+00:00, confidence not recorded.
  - readme: https://github.com/unicity-aos/capsule-react (fetched 2026-08-28T04:09:09.113575+00:00, sha 51e90cf9c31a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
