Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 3.16 KB

examples.md

File metadata and controls

31 lines (22 loc) · 3.16 KB
title Examples

Complete applications built on the Agents API guide, each running against a real Core installation with a Project API key.

Parsar Agent workbench

A small single-user product built on Core. You save model providers, Skills and MCP servers, combine them into Agents, then start Sessions in a managed sandbox, with no workspace, or on your own machine.

Source: example/parsar.

Run and configure it with the example README, which also owns its supported features, storage and validation.

What to look at

Each feature maps to one part of the API. Read the code next to the guide section:

Feature API used Guide Code
Server-side key and headers Bearer key, OpenAI-Beta, route allowlist Before you start server.mjs
Agents with a Harness and model x_agents_core.harness, model_provider Core extensions server/sessions.mjs
Sessions on three runtimes openai_hosted, none, self_hosted with workspace_directory Create a Session server/sessions.mjs
Crash-safe Session creation Idempotency-Key, recovery from a lost response Idempotency server/sessions.mjs
Live replies Event stream, text deltas, reconnect and reconcile Stream events src/lib/live-session.ts
Follow-ups and cancel Input events with idempotency keys Send input src/Composer.tsx
History Paging Turns and Items Pagination src/lib/api.ts
Skills and versions /skills, default version Skills src/Skills.tsx
Connect your own machine x_agents_core.installation, Environment status Run self-hosted Sessions src/ConnectMachine.tsx

To contribute an example, follow the application example boundary.