Engineering · 2026-11-27 · Rebyte Team

What belongs in the agent runtime, and what belongs in your app?

See how Impo, 15perf, and ADITS use Rebyte Sessions and Turns while keeping permissions, approvals, and published data in their applications.

A personal assistant, a film studio, and an analytics product all need an agent to work across several steps. They differ in what a completed step means. A calendar lookup belongs to a person's conversation. A generated clip is a production asset. A business metric is a query over a published definition. Each product uses the Rebyte Agents API for execution and keeps its own record of the result.

Keep a Session for execution and a product record for the outcome

A Rebyte Session holds the runtime's conversation and configuration across Turns. A Turn advances that Session after a submitted input. The server can follow Session events for progress and use stored Turn state when a subscriber reconnects. The application should keep the mapping from its own conversation or job to the Session and Turn. That gives it a way to explain what the agent ran and what the product accepted.

For example, a film studio can use a Turn to propose three opening shots. The studio itself knows which proposal the filmmaker approved, which media job ran, and which output is available in the editor. Those facts belong to the workspace and have a useful life beyond the conversation.

Put permission checks at the function boundary

When the agent needs the application's data or needs it to take an action, define a function tool for that operation. Rebyte hands the application the requested call. The application's handler checks the owner, operation, and arguments, then sends the result back so the Turn can continue. A read, a paid generation job, and an instruction to a device each need their own rules for authorization and retry.

Give each accepted request a stable identity. For Rebyte requests that support idempotency, reuse the same key for the same request during recovery. For a write in your application, keep the operation's own receipt. If a tool starts work that will finish later, report the accepted job and keep its terminal state with the service that owns the work.

See how three products draw that boundary

  • Impo. A delegated personal task has its own conversation. Impo stores the accepted message, checks account and tool permissions, and recovers the view if a device loses its stream. Rebyte runs the Agent Turn. Follow an Impo task across devices.
  • 15perf. The creative conversation runs in a Rebyte Session. The 15perf workspace owns the film brief, media approvals, job records, and editable assets. Some processing jobs also use Rebyte Sandboxes. Follow a shot from brief to edit.
  • ADITS. The Builder Agent uses Rebyte to help define business Tables. ADITS checks tool access, manages review and publication, and serves queries against the published Tables. Follow a metric from source to published Table.

For the API flow behind these cases and a runnable storefront example, see the Agents API showcases. The quickstart walks through creating a Session and sending its first input.