Mozaik

Introduction

Mozaik is a TypeScript runtime for interoperable AI agents — concurrent, aware, and adaptive.

Mozaik is a TypeScript runtime for interoperable AI agents. Humans, agents, and observers are all Participants of the same runtime. They share typed RuntimeState, publish SemanticEvents, and react through situation handlers. There is no central scheduler.

v4 is a new runtime API. You create a session with defineRuntime, join participants built by createHuman / createAgent, and start thinking with runLoop. The older environment-and-handler-override style is gone.

Agent interoperability

Mozaik is built around three attributes:

  • Concurrency — Agents work independently without blocking one another. Each runLoop is fire-and-forget.
  • Awareness — Agents understand other participants, events, and their shared RuntimeState.
  • Adaptivity — Agents change behavior based on runtime state and emerging needs, through situation handlers and interception.

Together, these free agents from a specific harness so they can work across projects.

Get started

Explore the runtime

Guides

Resources

License

Mozaik is released under the MIT License by the JigJoy team.

On this page