Permanent endpoints
Each unique configuration produces a unique, stable URL:Instance states
If the underlying infrastructure fails, the platform recovers the instance automatically. The endpoint stays the same throughout.
SDK methods
Deploy an instance
Deploying is done via the REST API or CLI:- CLI
- curl
Deploy request parameters
object
Key-value pairs injected as environment variables. Keep secrets in a secret manager rather than hardcoding them here.
string
Compute tier:
micro, standard, large, or gpu. Defaults to standard.Deploy response
string
Unique instance identifier.
string
Permanent URL:
https://agent-<name>-<hash>.compute.hexelstudio.com.string
Initial state (
deploying).string
The agent this instance belongs to.
string
Compute tier assigned.
Call your agent
Once the instance reachesrunning:
Manage instances
- Python
- CLI
What happens on redeploy?
What happens on redeploy?
The platform pulls the latest version of the registered image, restarts the instance, and runs health checks. The permanent endpoint stays the same. Traffic is routed to the new revision once health checks pass.
Can I deploy multiple instances of the same agent?
Can I deploy multiple instances of the same agent?
Yes. Each unique configuration (agent + env) produces its own permanent endpoint and instance.
What if my instance stays in deploying?
What if my instance stays in deploying?
The image likely doesn’t implement
/health correctly. Check that your server starts on AGENT_PORT (default 8080) and returns HTTP 200 from GET /health.Limits & quotas
Numeric limits depend on your plan — see the Console.
Errors
Security
Production recommendations
- Roll out new revisions with
redeployso the permanent endpoint stays stable for callers. - Watch instance logs and metrics during and after rollouts.
- Set alerts on the
failedstate and on latency regressions. - Keep production and development instances in separate environments.
Common mistakes
- Expecting a new endpoint on every deploy. Identical configuration returns the same endpoint by design.
- Treating
failedas permanent. Fix the image or configuration and redeploy. - Baking secrets into configuration. Use a secret manager and reference values at runtime.
Best practices
- Use
redeployfor new revisions so callers keep the same endpoint. - Watch logs and metrics during rollouts.
- Keep production and development instances in separate environments.
Related pages
Agents
Register images and the agent contract.
Scaling
Adjust capacity under load.
Runtime Lifecycle
Recovery and runtime leases.
First Deployment
The full deploy walkthrough.

