Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 3.47 KB

File metadata and controls

37 lines (26 loc) · 3.47 KB
title Examples

Complete applications built on the Agents API. Each one runs against a real Core installation with a Project API key.

Example What it shows
Parsar Agent workbench A product UI: models, Skills, MCP, reusable Agents, and Sessions on any runtime

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 Self-hosted execution src/ConnectMachine.tsx

Add an example

Create a directory under example/ with a README explaining how to run it and which API features it demonstrates, then add a row to this index. Follow the application example boundary.