WeSearch

TypeScript framework for building non-blocking AI agents

·5 min read · 0 reactions · 0 comments · 4 views
TypeScript framework for building non-blocking AI agents

Mozaik is a TypeScript framework for building non-blocking AI agents. - jigjoy-ai/mozaik

Original article
GitHub
Read full at GitHub →
Opening excerpt (first ~120 words) tap to expand

Mozaik Mozaik is a TypeScript framework for building AI agents that share an agentic environment instead of being orchestrated through rigid pipelines. In Mozaik, humans, agents, observers, and tools are all Participants of the same AgenticEnvironment. Each participant runs non-blocking and streams typed ContextItems into the environment. Every other participant sees those items in real time and can react, intercept, or stay silent — without any central scheduler. Installation yarn add @mozaik-ai/core API Key Configuration # .env OPENAI_API_KEY=your-openai-key-here The agentic environment AgenticEnvironment is a broadcast bus for typed context items. Participants join() it, and any item produced by one participant is delivered to every subscriber's onContextItem(source, item) callback.

Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from GitHub