api.onecli.sh.
There are two ways to get an agent running: through the dashboard, or headless over the API. On the Enterprise image, the organization API key makes this fully headless from first boot; on Community, create a project API key in the dashboard first and use it the same way.
Headless: provision straight from the API
On the Enterprise image, the organization and its API key are created at container startup, so the API works before you ever open the dashboard. One call provisions everything an agent needs:env values and write caCertificate to the NODE_EXTRA_CA_CERTS path, and the agent’s HTTP traffic routes through your gateway.
The proxy URL’s host comes from
GATEWAY_BASE_URL (default host.docker.internal:10255), which is right for agent containers on the same Docker host. If agents run elsewhere, set GATEWAY_BASE_URL to an address they can reach. See Configuration.With the SDK
The Node SDK wraps the same endpoint. Point it at your instance and let it configure agent containers:Managing the instance over the API
The organization API key works across the REST API. Project-scoped endpoints take anX-Project-Id header:
Through the dashboard
Open your instance’s dashboard, connect the apps your agents need (see app integrations), and add LLM keys under Secrets. Agents provisioned throughcontainer-config pick up new connections and secrets on their next request; no restart needed.
Next steps
- Add rules to control what each agent can do
- Connect apps and external vaults
- Explore the full API reference