Who it is forA cognitive-architecture researcher who wants to know whether self-observing regions change acquisition or recovery on a fixed task.
The problemThe value of recursive feedback is unclear, so a fair test needs two brains with matched wiring except for the observer regions.
The outcomeA side-by-side record of reward over time for a plain System 1 brain and a System 2 brain with observers, on the same seed and task.
What you need first
- Python 3.11 or newer
- NumPy installed through pip
- A toy environment or task that can supply an observation and a measured reward after each action
Steps
python -m pip install cadence-net==0.84.3- Compose the plain brain with
brain = Brain.compose(inputs=4, actions=2, arousal=True). - Compose the recursive brain with
recursive = Brain.compose(inputs=4, actions=2, modules=(16, 8), observers=(8,), seed=7, arousal=True). (inferred, check the README) - Run both brains through the same environment loop with
live, recording the reward at each step. - Compare reward curves across the run, including after a changed condition in the environment.
Prompt for your agent
Using the Python package cadence-net (repo muellerberndt/cadence), run Brain.compose with and without observers=(8,) on the environment at <task file> using live() for 500 steps each. Expected output: two reward-by-step series and a summary of their averages. Verify that both brains receive identical observations and rewards at each step.
Caveat. The README says whether recursive feedback helps on a task is a question for experience and evaluation, so a single run does not settle it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for muellerberndt/cadence and "Test whether System 2 observers help a task"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer