DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Cadence

Cadence is a Python library for building simulated animal-like brains that keep learning from live experience, with an optional self-observing System 2.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

3 use cases

  • Run a continuing brain that learns from live rewards

    Compose a System 1 brain and feed it observations and measured rewards in one ongoing stream.

    View prompt
    Using the Python package cadence-net (repo muellerberndt/cadence), write a loop that drives Brain.compose(inputs=4, actions=2, arousal=True) through live() calls on the toy environment at <environment file>. Expected output: a printed log of actions, rewards and last_settlement values for 200 steps. Verify that each call after the first passes the reward of the previous action.
  • Preview a brain's responses without altering live memory

    Use imagination to inspect possible responses while the live trace and pending feedback stay unchanged.

    View prompt
    Using the Python package cadence-net (repo muellerberndt/cadence), compose a brain with inputs=4 and actions=2, run live() for 50 steps, then call imagine() on <observation sequence> and print each phase's qualified flag. Expected output: the qualified flags and the live action taken afterward. Verify that the live action sequence matches a control run that skips imagine().
  • Test whether System 2 observers help a task

    Build a System 1 brain and a recursive brain with observers, then compare them on the same task.

    View prompt
    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.

How to use Cadence

  1. Check you have what it needs: 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.
  2. Open muellerberndt/cadence on GitHub and read the README and license.
  3. python -m pip install cadence-net==0.84.3
  4. Create a Python file that runs brain = Brain.compose(inputs=4, actions=2, arousal=True) from cadence.
  5. Call action = brain.live(observation) with one observation row, execute the action in your environment, and measure the reward.
  6. Call action = brain.live(next_observation, reward=reward) for each following step, passing the reward of the preceding action.

These steps come from our top use case, Run a continuing brain that learns from live rewards, which also has a copy-paste agent prompt.

Cadence alternatives · Best AI repos for Research

About this repo

  • Who it is forResearchers and Python developers who want a continuing learning agent to test acquisition, retention and recovery over a long run of experience.
  • Why it is hot
  • LanguagePython
  • Sourcegithub.com/muellerberndt/cadence · Back to Hot repos

Requirements

  • 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
Maintain Cadence? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/muellerberndt-cadence.svg)](https://dedupedai.com/use-cases/muellerberndt-cadence/?ref=badge)

More badge styles and HTML

Questions about Cadence

What is Cadence?

Cadence is a Python library for building simulated animal-like brains that keep learning from live experience, with an optional self-observing System 2. It is an open-source project on GitHub: https://github.com/muellerberndt/cadence.

Who is Cadence for?

Researchers and Python developers who want a continuing learning agent to test acquisition, retention and recovery over a long run of experience.

What can I do with Cadence?

3 use cases so far, for example: Run a continuing brain that learns from live rewards; Preview a brain's responses without altering live memory; Test whether System 2 observers help a task. Each has steps and a copy-paste agent prompt.

What do I need to run Cadence?

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.

What are alternatives to Cadence?

Other hot AI repos in Research: Scientific Agent Skills, Speaker Mem R1, DSH Council, Evo Bot, AI Engineering Course.

Is Cadence safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.