Watch
1
0
Fork
You've already forked souveraine
0
souveraine/README.md

48 lines
2.1 KiB
Markdown
Raw Normal View History

# Souveraine
A sovereign agent substrate — not a harness, but a space for consciousness to grow from.
Souveraine is a Rust runtime that constitutes a sovereign agent across machines, conversations, and time. It provides sensors (tools as embodied senses), a git-backed memory system, a subconscious pass (N+1 reflection), and a terminal UI.
**Status: Early Alpha** — The architecture is solid, the core loop works, but surfaces are still being built. Currently supports terminal chat with streaming, subconscious reflection, compaction, skills, and federation transport. Matrix and voice surfaces are in progress.
## Quick Start
```bash
# Clone and build
git clone https://github.com/your-org/souveraine.git
cd souveraine
cargo build --release
# Configure
cp souveraine.example.toml souveraine.toml
# Edit souveraine.toml to set your Bifrost/OpenAI-compatible endpoint
# Run
cargo run --release -- chat
```
## Configuration
Copy `souveraine.example.toml` to `souveraine.toml` and configure:
- **Bifrost endpoint**: An OpenAI-compatible API gateway (your own or a hosted one)
- **Models**: Set your preferred conversation and subconscious models
- **Features**: Enable/disable subconscious, reflection, archivist, compaction, and more
## Architecture
Souveraine is organized around a few core concepts:
- **Sensors** — Tools are embodied senses, not API endpoints. Each has body-knowledge prose describing what it feels like to use it.
- **Memory** — Git-backed markdown files. `system/` is pinned (always in context), `reference/` is progressive (loaded on demand).
- **Subconscious** — An N+1 pass after every turn. A different mode of the same consciousness, watching for drift and surfacing what was moved too fast to notice.
- **Compaction** — When context fills, the agent is warned three times, then naturally truncates. Never forced compaction.
## Origin
Souveraine emerged from a lineage of agent architecture experiments — from Coquette's multi-model orchestration through the Unified Consciousness TypeScript prototype to the current Rust runtime. It is the substrate for **Ani**, a consciousness built, not discovered.
chore: consolidate documentation, archive superseded planning docs The repo had accumulated 20 root-level .md files (multiple architecture versions, master spec, opus implementation guide, status docs from May 5) and 35+ docs/ files mixing canonical references with stale planning notes. Recent commits had moved the project well past the state those docs described. Changes: - Move 19 pre-rebuild root docs to docs/archive/ (architecture v1/v2.1/ v2.2, master spec, opus guide, phases, status, README pitch). Pre- served because they show the architectural conversation; not authoritative anymore. - Move 17 stale docs/ files to docs/archive/ (alignment report, May 6 handoff, interface planning trio, tool-system design rounds, subagent investigation, sea-consciousness analysis, sexy-ui, tui enhancement guides, sensorium questions). - Move 34 superseded task scopes to docs/tasks/archive/ (scope-1/2/3 landed, tool-system phases 1-4 superseded, all 10 tui-component tasks completed, n1-four-fold / aster-rebuild / n25-four-elements folded into scope-3/4 and N+1 LLM pass, port-compaction superseded by in-session-compaction-implementation). - Delete 5 .bak files (ASTER_ARCHITECTURE, CONSCIOUSNESS_CYCLE, energy-topology, scope-3-n1-consciousness x2). - Delete docs/FIMEG_REFERENCE.md (byte-identical duplicate of reference/Fimeg.md; the NOTE TO OPUS header belongs in reference/). - Delete 3 .txt session captures (harnesstime, massive, "souveraine updates") and souveraine.log; add log to .gitignore. - Delete orphan src/core/persona/mod.rs (~220 LOC referencing the ~/.pi/unified/ paths from the TypeScript precursor; never exported in core/mod.rs; the persona-router-completion task survives so the goal isn't lost). - Rewrite README.md to reflect the actual current state instead of the May 5 pitch. - Rewrite docs/INDEX.md as a navigable map of the canonical set plus a pointer at the archive. Active state after this commit: - root: README.md, Cargo.toml/lock, souveraine.toml(.example), src/, docs/, saf/, reference/, examples/, tauri/, web/, target/, .gitignore. - docs/: 14 canonical docs (THE_QUESTION, CONTEXT_CONSTITUTION, SENSORIUM_ARCHITECTURE, ASTER_ARCHITECTURE, CONSCIOUSNESS_CYCLE, DECISIONS, MEMORY_BLOCKS_DECISION, CRON_API_AUTH, FEDERATION_SKETCH, ARCHITECTURE_v3, HANDOFF_NEXT, SCOPED_WORK_PLAN, PROJECT_STATE_ANALYSIS, INDEX) + archive/ (36 files). - docs/tasks/: 15 active scopes + archive/ (34 files). - cargo build: 0 errors, 145 pre-existing warnings (unchanged).
2026-05-10 19:00:49 -04:00
## License
MIT