Heddle documentation

Build an agentic experience with Heddle

Start with a working conversation, then adopt only the runtime, capability, hosting, and client layers your product actually needs.

Customization depth

Choose the smallest useful runtime boundary

Hosting depth

In-process, hosted, remote, or product UI

Documentation status

Supported SDK boundary

Heddle owns
  • Durable conversation and turn semantics
  • Model and tool execution, approvals, traces, and artifacts
  • Ordered active runs, replay, cancellation, and terminal outcomes
Your product owns
  • Identity, tenancy, authorization, and product relationships
  • Domain tools, model credentials, storage policy, and public schemas
  • Server framework, transport, deployment, UI, and result application

See it in a real product

Heddle is already doing real work inside SlideX.

Follow the complete product story before choosing the Heddle layers that fit your own application.

Product case study

SlideX

Working product integration

A browser workspace for creating, editing, and exporting professional presentations.

Turn an idea into slides through conversation.

SlideX makes it easier to create polished presentations. Heddle powers the conversational agent that lets users describe an idea, refine it together, and turn it into slides inside the editor.

  • Describe an idea
  • Build and revise slides
  • Continue the conversation
SlideX editor showing a presentation beside a multi-turn conversation with the SlideX Agent
A real SlideX conversation asks the agent to restyle a slide, add SDK content, and insert a section header.

Choose the path that matches your product

What you want to doStart hereWhat you will own
Evaluate Heddle in a TypeScript processBuild your first agentConfiguration and prompts
Add Heddle to an existing backendChoose an integration layerProduct composition and the boundaries you already have
Add domain tools or an MCP serverAdd a native tool or connect MCPDomain behavior and capability policy
Render the agent inside your own applicationOwn output and activityPresentation, UI state, and result handling
Let a turn outlive one requestHosting overviewIdentity, address scope, process lifetime, and transport
Build a browser productRemote clientPublic schemas, reconnect UX, and product UI state
Try the complete reference product locallyLocal quickstartA workspace and model access

Learn in two dimensions

Heddle does not force one application stack. Decide two things independently:

  1. Customization depth: begin with a complete prompt loop, then progressively own capabilities, output, lifecycle, policy, and persistence.
  2. Hosting depth: stay in one process, add addressable runs, expose a transport, or connect a remote product UI.

The integration-layer chooser maps those decisions to the smallest public package surface that fits.

Recommended first journey

Follow the numbered Build with the SDK pages in order if you are learning Heddle:

  1. Run one persisted conversational agent.
  2. Create a stable session and submit a second turn.
  3. Add one product-owned tool.
  4. Add MCP only when the capability already exists behind a server.
  5. Move system behavior beside the capability that needs it.
  6. Replace the default text output with your own application surface.
  7. Consume structured results, then connect approval policy when a capability needs a decision.
  8. Add artifact and storage adapters only when the product requires them.

You can stop at any useful rung. Hosting and browser layers are optional.

The local coding agent is the reference host

Heddle's terminal UI and browser control plane exercise the same conversation, activity, approval, trace, and run foundations exposed through the SDK. Use them to learn what Heddle can do, then build a product experience with only the layers you need.

Canonical sources