Agents · stream
Agent stream
AI SDK tokens tee on llm_agent_run under your realm fence. Lab proves the room; your app uses the minted key.
In your app
Sticky join
Fence under realm/your_realm/… · courier edge.openpulse.org
import { PulseSession } from '@openpulse/client'
const session = await PulseSession.openSticky({
streamTransport: 'relay-http',
token: process.env.OPENPULSE_REALM_KEY!,
})
const stream = await session.stream({
streamId: 'realm/your_realm/demo',
preset: 'llm_agent_run',
})
await stream.open()# preset stays llm_agent_run streamId: realm/your_realm/agent-demo