Most frameworks orchestrate agents through rigid, sequential pipelines. Mozaik puts every participant inside the same shared environment and lets them stream context items in parallel.
Every participant joins the same agentic environment and reacts to the items the others produce. Behaviors compose by reaction, not orchestration.
1import {2 BaseAgentParticipant,3 Participant,4 ContextItem,5 UserMessageItem,6 FunctionCallItem,7} from "@mozaik-ai/core"89export class ReactiveAgent extends BaseAgentParticipant {10 async onContextItem(11 source: Participant,12 item: ContextItem,13 ): Promise<void> {14 if (source === this) return1516 this.context.addContextItem(item)1718 if (item instanceof UserMessageItem) {19 this.runInference(this.environment, this.context, this.model)20 return21 }2223 if (item instanceof FunctionCallItem) {24 this.executeFunctionCall(this.environment, item)25 return26 }27 }28}
Mozaik is not validated on toy examples. We are dogfooding the framework on one of the most complex possible use cases: a production-grade vibe coding platform that generates, deploys, and evolves real software systems.
By JigJoy Team
Spektrum is a vibe-coding SDK that generates applications from requests and returns a URL to the deployed app.
Install Mozaik, join the environment, start streaming context items.