Skip to main content
This quickstart takes you from zero to a running sandbox and a deployed agent. You’ll install a client, authenticate, execute code in an isolated environment, and deploy a Docker image to a permanent endpoint.

Prerequisites

  • A Hexel Studio account. Sign up at console.hexelstudio.com.
  • An API key. In the Console, go to IAM → Service Users → Create API Key.
  • For agent deployment: a Docker image that implements the agent contract.
Set your API key as an environment variable so the SDKs and CLI pick it up automatically:
In this quickstart you will install a client, authenticate with an API key, run Python code in an isolated sandbox, and deploy a Docker image as a live agent with a permanent URL.

1. Install a client

Requires Python 3.10+.

2. Authenticate

Hexel exchanges your API key for a short-lived token automatically. You only provide the key.
For production services, use OAuth client credentials instead of an API key. See Authentication.

3. Run code in a sandbox

A sandbox is an isolated environment you allocate on demand to run code or shell commands. Each sandbox is single-use with a default TTL of 3600 seconds (1 hour).

4. Deploy an agent

Register a Docker image, then deploy it to receive a permanent endpoint.
1

Register the agent

2

Deploy an instance

The same agent and configuration always produces the same permanent endpoint, even across redeployments.

5. Call your agent

Your agent serves streaming and blocking endpoints at its permanent URL:

Next steps

First Deployment

A complete walkthrough of deploying and operating an agent.

Authentication

API keys, OAuth clients, and token handling.

Core Concepts

Understand agents, fleets, tasks, and tools.

Orchestration

Submit multi-step tasks to agent fleets.