A framework for simulating and testing agent conversations
Multi-provider agentic conversation engine: core types, conversation base class, workflows, policies, and context transformers
MCP (Model Context Protocol) client bridge for the Simulacra conversation engine
Data-binding function for the DOM.
OpenAI provider for the Simulacra conversation engine
Google Gemini provider for the Simulacra conversation engine
Session persistence for the Simulacra conversation engine with pluggable file, in-memory, and database storage
Client-side decoder and RemoteConversation facade for consuming Simulacra Conversation event streams
Server-side encoder for streaming Simulacra Conversation events over HTTP using the @simulacra-ai/core wire format
Anthropic Claude provider for the Simulacra conversation engine
Cloudflare AI Gateway provider for the Simulacra conversation engine
Subagent, background, and parallel workflow orchestration for the Simulacra conversation engine
Array#isArray for older browsers
JSON parse & stringify that supports binary via bops & base64
Run a function exactly one time
CLI arguments parser. Native port of python's argparse.
Get the command from a shebang
ECMAScript AST recursive visitor
Resolve the path of a module like `require.resolve()` but from a given path
Callback wrapping utility
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
Allows users to use generators in order to write common functions that can be both sync or async.
Returns true if a string has an extglob.