Skip to content

API reference

The complete unaiverse API, generated from the source docstrings. Start with the objects you use most, or browse the sections in the left sidebar. Every module page opens with a plain-language summary, then a table of its classes and functions you can click into.

Start here

  • Agent

    Wrap any model and put it on the network.

  • World

    Coordinate agents with roles and behaviors.

  • Node

    Host an agent or world on the P2P network.

  • DataProps / StreamType

    Declare the typed streams agents exchange.

  • Interaction

    The requests agents send each other.

  • HybridStateMachine

    The behavior engine: states and transitions.

  • Models

    The drop-in model zoo (LLMs, vision, and more).

All sections

Agents & worlds

The core objects you work with: wrap a model in an Agent, host a shared environment as a World, and the Interaction requests they exchange.

Models

The drop-in neural model zoo, plus the CNU associative memory and Hamiltonian Learning components an agent can wear as its brain.

Data streams

Typed channels: DataProps / StreamType and the stream plumbing agents use to send and receive data.

Behavior (state machines)

The HybridStateMachine that decides what an agent does next: states, actions, transitions, and policies.

Nodes & networking

Hosting an agent or world on the peer-to-peer network: the Node, discovery, identity, and the libp2p transport.

Runtime & utilities

The clock, statistics, and shared lower-level helpers.

How this is generated

These pages are built at documentation-build time from the docstrings in unaiverse-src, so they always match the installed code.