Skip to content
Book a demo

Trigger from your code

Start a new agent session from your own code. No browser needed. Use this to open sessions from CI, webhooks, or scripts, then drive them over the connection URL.

In the UI

In the UI

  1. Open Sessions in the sidebar and click New session.

  2. Choose a project and agent, then type your prompt.

  3. Click Run. The session starts immediately.

Programmatically

Creating a session opens the agent’s sandbox and returns the session object. You then drive the session over its connection URL, or read its messages back. To start a session that runs a prompt on its own with no connection, schedule a cron trigger. The trigger’s inputMessage is the prompt the agent receives on each fire.

Create a session

Terminal window
ren sessions create \
--pod-id pod_abc123 \
--project-id prj_def456 \
--title "Weekly report"

List sessions

Terminal window
ren sessions list --project-id prj_def456

Get a session’s connection URL (for driving the session or opening it in a coding agent)

Terminal window
ren sessions url ses_abc123