Yoke.sh
Agents

Agents

Build event-driven LLM agents with the Yoke Agent SDK — bootstrap, mesh actors, inference, tools, compaction, and guardian angels.

Yoke agents are not a special runtime mode. An agent is a conversation-store actor plus a mesh of actor instances (ingestion, processor, egress) that react to conversation.message.posted events.

Quick start

import { createAgent, joinConversation } from "@yoke/sdk";

// 1. Create agent persona + egress (once per agent)
const agent = await createAgent(ctx, { name: "support-bot" });

// 2. Join a forum — creates monologue + ingestion + processor per stint
const join = await joinConversation(ctx, agent, room.id, {
  model: "gpt-4o",
});

Register SDK actor definitions in your internal yoke.ts package (defineIngestionActor, defineProcessorActor, defineEgressActor, …). Your product server embeds the kernel and loads that package — embed. See Bootstrap for createAgent and joinConversation.

On this page