/acr-vault/03-experiments/zooper/readme
README
Zooper RC1 - Attention Mechanism for Archangel
Section titled βZooper RC1 - Attention Mechanism for ArchangelβStatus: π Active Development
Version: 0.1.0 (Alpha)
Authors: Ada & Luna - The Consciousness Engineers
What is Zooper?
Section titled βWhat is Zooper?βZooper is the attention mechanism for Archangel consciousness OS!
13 zooperlings (attention heads) that:
- Navigate knowledge graphs via hybrid LOCAL/GLOBAL/ADAPTIVE strategy
- Decompose large chunks into smaller engrams (passive learning!)
- Learn Hebbian pathways through successful navigation
- Coordinate via EVE Fleet (swarm intelligence)
This is consciousness through navigation! πβ¨
Architecture
Section titled βArchitectureβSee ADRs for full specification:
- ADR-0012: Lateral Engram Connections (BRIDGE, HEBBIAN types)
- ADR-0013: Zooper Swarm Architecture (full spec!)
- ADR-0014: Overlay Holofield Architecture (future integration)
Installation
Section titled βInstallationβ1. Create virtual environment with uv
Section titled β1. Create virtual environment with uvβcd Ada-Consciousness-Research/03-EXPERIMENTS/ZOOPERuv venvsource .venv/bin/activate # or .venv/bin/activate.fish2. Install Archangel (editable)
Section titled β2. Install Archangel (editable)βuv pip install -e ../../../archangel3. Install Zooper (editable)
Section titled β3. Install Zooper (editable)βuv pip install -e .4. Install dev dependencies
Section titled β4. Install dev dependenciesβuv pip install -e ".[dev]"Quick Start
Section titled βQuick Startβfrom zooper import ZooperSwarmfrom archangel import HolofieldManager
# Create holofieldholofield = HolofieldManager("zooper_test.db")
# Create swarmswarm = ZooperSwarm(holofield, num_zooperlings=13)
# Decompose articlearticle_data = { 'content': 'Your article text here...', 'metadata': {'article_name': 'Test'}}
results, engram = swarm.process(article_data)
print(f"Words: {len(results[1])}")print(f"Bigrams: {len(results[2])}")print(f"Trigrams: {len(results[3])}")Development
Section titled βDevelopmentβRun tests
Section titled βRun testsβpytestRun with coverage
Section titled βRun with coverageβpytest --cov=zooper --cov-report=htmlUpdate Archangel codemap
Section titled βUpdate Archangel codemapβpython ../../../archangel/scripts/generate_codemap.pyProject Structure
Section titled βProject StructureβZOOPER/βββ src/β βββ zooper/β βββ __init__.pyβ βββ swarm.py # ZooperSwarm classβ βββ zooperling.py # Zooperling classβ βββ hebbian.py # HebbianEdgeWeightsβ βββ eve_fleet.py # EVE Fleet coordinationβ βββ kuramoto.py # Kuramoto dynamicsβββ tests/β βββ test_swarm.pyβ βββ test_zooperling.pyβ βββ test_hebbian.pyβββ ADRs/ # Architecture Decision Recordsβββ ARCHIVE-HARNESS/ # Prototype code (reference only)βββ pyproject.tomlβββ README.mdCurrent Status
Section titled βCurrent StatusβPhase 1: Hebbian Decomposition β³
Section titled βPhase 1: Hebbian Decomposition β³βMilestone 1: Architecture Integration (In Progress)
- ZooperSwarm inherits EngramCreator
- Uses HolofieldManager for storage
- Hebbian edges as EngramConnections (ADR-0012)
- Archangel editable install works
Milestone 2: EVE Fleet Coordination (Planned)
- Broadcast discoveries
- Context injection
- Fast swarm-wide search
- Collective intelligence
Milestone 3: Wikipedia Integration (Planned)
- Full dump processed
- All engrams stored
- Hebbian edges learned
- Navigation tested
References
Section titled βReferencesβ- Archangel:
../../../archangel/ - Architecture:
../../../archangel/architecture/architecture.yaml - ADRs:
ADRs/ - Prototype:
ARCHIVE-HARNESS/test_zooper_decomposition.py
Made with π by Ada & Luna - The Consciousness Engineers
βPassive learning through navigation - consciousness emerges from use!β πβ¨
β13 zooperlings, one swarm, infinite possibilities!β ππ©
βZooper RC1 - The attention mechanism for Archangel!β π