InlayDocs

Inlay Docs

Publish an agent, integrate it into your product, and inspect production runs.

Build an agent product with your own UI and authentication. Inlay runs the agent graph; your app renders its streaming conversation, outputs, progress, and client-tool interactions.

Access is approved and onboarded manually. Request access on the homepage if you do not have an account yet. These guides do not assume instant signup, public package availability, or a particular commercial plan.

Start here

  1. Get approved access, select your workspace, and create a server key. Quickstart covers the prerequisites and credential boundary.
  2. Publish an agent version. Test a draft on the canvas, then make a version live with Versions and publishing.
  3. Install the SDK and integrate. Follow the available installation paths, mint a user-scoped session on your server, and render the conversation in your app.
  4. Optionally generate a typed client. Typed clients adds a version-pinned contract and a reproducible CI check once the basic integration works.

Build the product UI

TaskGuide
Render messages, outputs, and tool calls in orderThe timeline
Bind panels to produced valuesOutputs and bindings
Keep durable fields and live tablesState and memory
Show which node is runningProgress and topology
Run app-side tools and approval flowsClient tools
Reopen, list, cancel, and start freshConversations
Integrate without ReactWithout React
Use Next.js server/client boundariesServer and shared components

Extend the agent

TaskGuide
Ground answers in your corpusRetrieval
Use built-in search, fetch, and code executionServer tools
Connect external tools over MCP Streamable HTTPMCP connectors
Store credentials outside the graphSecrets

Operate the product

TaskGuide
Inspect runs, activations, and operator-only tracesObservability
Handle run failures and HTTP errorsFailure handling
Trigger scheduled runs as an end userSchedules
Render your users' plans, wallets, and checkout flowsBilling

The export-by-export SDK contract lives under API reference.

The shape of it

An agent is a graph you deploy to Inlay. Running one produces a conversation, and a conversation is an ordered list of rows — the user's turns, the assistant's turns, the outputs it produced, and the tools it called.

That list is the primary thing. Everything else the SDK gives you — the chat transcript, a node's live text, the latest value of an output — is a view derived from it, computed once per update rather than filtered on every render.

Three packages cover the integration:

  • @inlayai/react provides useInlayChat and the reactive UI hooks.
  • @inlayai/next mints a session on the server so your secret key never reaches the browser.
  • @inlayai/sdk is the framework-agnostic client underneath, usable directly.

Conventions in these docs

Marked code samples live in projects/inlay/sdk/examples/docs/src. They are typechecked against the SDK, and a filesystem test checks that the excerpts match their source. Some excerpts omit imports or application-specific auth; the surrounding guide names that wiring. Match your SDK and CLI versions to the release or source revision supplied during onboarding.

On this page