Supported providers
Choose a provider to find its configuration value and credential variables. Set those variables in the dispatcher’s environment. CostGraph tests each provider live. Contact your account team before relying on one in production.- A–C
- D–L
- M–R
- S–Z
Agentuity
Agentuity
Set
provider to agentuity and supply the following variables.AGENTUITY_SDK_KEY
Beam
Beam
Set
provider to beam and supply the following variables.BEAM_TOKENBEAM_WORKSPACE_ID
Blaxel
Blaxel
Set
provider to blaxel and supply the following variables.BL_API_KEYBL_WORKSPACE
Brezel
Brezel
Set
provider to brezel and supply the following variables.BREZEL_API_KEYBREZEL_API_URLBREZEL_PROJECT_ID
Buddy
Buddy
Set
provider to buddy and supply the following variables.BUDDY_TOKENBUDDY_WORKSPACEBUDDY_PROJECT
Cloudflare
Cloudflare
Set
provider to cloudflare and supply the following variables.CLOUDFLARE_SANDBOX_URLCLOUDFLARE_SANDBOX_API_KEY
CLOUDFLARE_SANDBOX_URL at that gateway.CodeSandbox
CodeSandbox
Set
provider to codesandbox and supply the following variables.CSB_API_KEY
Collimate
Collimate
Set
provider to collimate and supply the following variables.COLLIMATE_API_KEY
CreateOS
CreateOS
Set
provider to createos-sandbox and supply the following variables.CREATEOS_SANDBOX_API_KEY
Before you begin
- A CostGraph API key with the
deployment:registerandsandbox:workerscopes. The first pulls the dispatcher image fromregistry.costgraph.ai, the second lets the dispatcher take code changes. - Credentials for one account listed in Supported providers.
- Somewhere to run one container that can reach
agent-relay.costgraph.aiand your provider’s API over port 443.
Connect
- Kubernetes
- Docker
Store the provider credentials in a Secret whose keys are the variable
names, then install the chart with your provider:Create
costgraph-sandbox-key and costgraph-registry as described in
Install. With a managed
sandbox provider the dispatcher needs no permissions in the cluster.WORKER_NAME names this dispatcher in CostGraph: lowercase letters, digits and
hyphens, up to 63 characters. After it connects, it is available in a
goal’s Sandbox setting. See
Choose where a goal runs.
Sandbox image
By default each sandbox starts from the provider’s default image, and the dispatcher installs the agent into it before the code change starts. The image must havecurl, sha256sum, base64 and git, and either run as root or
allow sudo. The install adds a few seconds to every code change.
To skip the install and add your own tools, build a template in your provider.
It must already contain the agent and our two scripts. Then name it:
registry.costgraph.ai/costgraph-sandbox-worker, with your provider’s own
template tooling. The requirements are the same as for
your own sandbox image.
Network
Each provider controls egress in its own settings. The sandbox must reachagent-relay.costgraph.ai and github.com on port 443. Everything else is your
choice.
Lifetime and cost
A code change that runs longer thandispatcher.sandbox.ttlSeconds (two hours
by default) is stopped, and the provider removes its sandbox. Sandbox time is
billed by your provider to your account.
If the dispatcher stops while a code change is running, that sandbox keeps
running until the change ends or the timeout removes it.