Skip to content

About

(Virtual Crystal Cognitive Substrate) **edge-AI** component: a cognitive substrate for embedded and edge machines. This repository is the VCCS reference implementation, A component of project ATTAM, not ATTAM itself. **PolyForm Noncommercial License 1.0.0**

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

ATTAM / VCCS: Edge-AI Cognitive Substrate

ci license python cpp version

Project ATTAM is a physics-first research project. VCCS (Virtual Crystal Cognitive Substrate) is its edge-AI component: a cognitive substrate for embedded and edge machines. This repository is the VCCS reference implementation, the first component of ATTAM, not Project-ATTAM itself.

What this is

A new way to think about and develop the next evolution of edge AI.

This is a base architecture we developed for our own research and are now offering to the community. It is a starting point, not a finished product. Take it, extend it, and grow your own path from it.

What we offer is not a promise of what it might become. It is a fresh observation: that cognition can be built as a genome, not a brain: a tiny deterministic seed that grows an unbounded state space on demand, maps the relations that recur into memory, and runs on a $10 microcontroller. Memory is a map of what repeats, the recurring, physically feasible structure of experience, not a recording of everything. That observation is the contribution. The insight is the starting point of your own journey, and we hope you enjoy it.

The idea: a genome, not a brain

DNA does not store an organism. It is a tiny recipe that, in the right environment, grows the organism, and the same recipe grows the same body on any substrate. VCCS applies that move to cognition.

The seed plus the base code is the genome; the experience is the environment. A coordinate is grown deterministically from the two: node = H(seed, experience), so the same experience always grows the same node, on any machine, at any time. This is a content address, not a memory location: you never store the whole "brain" in silicon. You hold a tiny genome and regrow the relevant tissue on demand, the way a body grows from DNA rather than being shipped pre-formed.

Three consequences follow directly:

  • Storage is O(genome), not O(brain). The full state space is never materialised; only the small active patch (the excitation cone, ≤512) is alive at any instant.
  • Determinism makes the genome portable. Same seed + same experience ⇒ same phenotype, so the identical core runs on host, STM32H723, and ESP32-S3 with no change, only the substrate differs.
  • Memory is the heritable layer. Only repeated, physically feasible invariants are committed; the rest is regrown and discarded. A snapshot is a genome (seed + invariants), so it transfers to any substrate that can run the same base code.

VCCS is a cognitive architecture in which an unbounded state space is explored through a strictly bounded active region, and long-term memory emerges only from repeated, physically feasible interaction.

The project is a thought made concrete. It is released so that others can read it, run it, break it, and reason about it. There is no company behind it, no roadmap, and no hidden core, just an architecture, a specification, and code that runs on a $10 microcontroller.

Professor Jane Watson


Why this is open: a note from the author

VCCS is one part of Project-ATTAM (All Things To All Machines), a wider research programme about the physical principles behind stable, adaptive machines. I'm putting this piece out to the community because I think it has real potential, and because my time is tied up with the larger ATTAM programme. My hope is that someone looks at the line of research I was following here and takes it somewhere new, or maybe to the same place we were heading. Either way, it's yours to use and experiment with however you like.

This repository is an invitation as much as a reference. Read it, run it, break it, and build on it. For the wider context behind VCCS, see docs/00-project-attam.md.


The idea in one paragraph

Most artificial cognitive systems assume that memory and computation scale with the size of the problem. That assumption produces systems that are either energy-hungry (neural networks), brittle (symbolic planners), or unstable under feedback (high-gain controllers). Biological systems do none of these things: they keep a small, moving region of activity and commit structure to memory only when interaction is repeated and reliable. VCCS turns that observation into a concrete architecture with hard physical bounds rather than policies or heuristics.

The four irreducible components

Component Role Bound
Virtual Crystal Unbounded, lazily-generated state space Zero cost until visited
Excitation Cone Bounded active cognition ≤ 512 points, hard cap
Invariant Memory Sparse, repetition-carved edges O(log t) growth
Guardian Physical feasibility filter Energy / actuation / rate limits

Computation scales with the size of the excitation cone, never with the size of the crystal. That single constraint is what makes infinite conceptual reach possible on finite hardware.

What you get in this repository

ATTAM/
├── docs/ Architecture, theory, hardware mapping, limitations
├── firmware/ C++ reference implementation for STM32H723ZGT6
├── python/ Runnable Python reference model + tests + demos
└── README.md You are here
  • docs/: the full conceptual and mathematical description, written to be read without any prior context.
  • firmware/: the embedded C++ implementation of memory map, excitation cone, consolidation buffer, invariant memory, CORDIC math, and the Guardian, wired to the STM32H7 memory hierarchy.
  • python/: a small, dependency-light reference model that demonstrates the same invariants, runs in seconds, and is covered by tests. Its figures/ subpackage regenerates the plots in docs/09-figures.md.

Quick start (Python)

cd python
python -m pip install -e .
python -m pytest -q # run the test suite
python examples/scaling_demo.py

You should see the committed-memory count stay effectively flat while the number of visited coordinates grows by orders of magnitude.

Quick start (firmware)

See firmware/README.md. The short version: import the sources into STM32CubeIDE against an STM32H723ZGT6, or drive the portable core (firmware/src, excluding the HAL-specific main.cpp) from any hosted test harness.

The claims, stated plainly

  1. Bounded active processing. At every instant only ≤ 512 states are ever evaluated, compared, or acted upon.
  2. Sublinear memory. Committed memory grows far slower than experience and is hard-capped; the reference model demonstrates sublinear growth.
  3. Architectural stability. The bounded loop and the timescale firewall make runaway oscillation architecturally impossible; the closed-loop experiment in docs/04 shows the seizure boundary.
  4. Embedded by construction. The design maps directly onto commodity embedded hardware (DTCM / AXI SRAM / Flash / DMA / CORDIC) with no accelerators or cloud compute.

Each of these is stated more carefully, including the assumptions and the failure modes, in docs/.

Version

Version 1.0.0: a complete, intentional first build. The Python model is the executable specification; the portable C++ core runs on host, STM32H723, and ESP32-S3. See docs/10-capabilities.md for the full capability set and docs/08 for scope.

License

Non-commercial use only. Released under the PolyForm Noncommercial License 1.0.0, see LICENSE. Personal, academic, research, and non-profit use is permitted; commercial use is not. Attribution is appreciated.

About

(Virtual Crystal Cognitive Substrate) **edge-AI** component: a cognitive substrate for embedded and edge machines. This repository is the VCCS reference implementation, A component of project ATTAM, not ATTAM itself. **PolyForm Noncommercial License 1.0.0**

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages