Quickstart

Start a sandbox from your terminal, create API keys, or connect an MCP client.

Start an isolated Linux sandbox from your terminal:

npm install -g @briq-cloud/cli
briq login
briq run sandbox

briq login prints a sign-in link. Open it, pick a team, check the code, and approve the CLI. The last command returns the sandbox's ID. Use it to run a command:

briq exec <sandbox-id> -- python3 -c 'print(2 ** 10)'
briq stop <sandbox-id>

The stopped sandbox keeps its disk. briq start <sandbox-id> runs it again. See the CLI reference for files, forks, and interactive shells.

For a service, run briq run postgres or briq run redis. The cookbook lists the available recipes.

API keys

Create an account from the dashboard, then open API keys and create a key. Use BRIQ_API_KEY in scripts and CI, or send it as a Bearer token to the REST API.

export BRIQ_API_KEY=bq_live_…
briq list

Connect an MCP client

briq's MCP server is https://api.briq.cloud/mcphttps://api.stg.briq.cloud/mcphttp://localhost:3001/mcp. Connect your client directly:

1

Add briq to Claude

In Claude: Settings → Connectors → Add custom connector.Name it briq-stg, paste this URL, then click Connect.

https://api.stg.briq.cloud/mcp

In Claude: Settings → Connectors → Add custom connector.Name it briq-local, paste this URL, then click Connect.

http://localhost:3001/mcp
2

Connect Claude to briq

Sign in, or create your account and claim your €10 of free credits.

3

Try it

Deploy briq-cloud/wall github repo on briq (https://briq.cloud/docs/guides/run-a-github-repo.md) and give me a link to it.
Deploy briq-cloud/wall github repo on briq (https://stg.briq.cloud/docs/guides/run-a-github-repo.md) and give me a link to it.
Deploy briq-cloud/wall github repo on briq (http://localhost:3000/docs/guides/run-a-github-repo.md) and give me a link to it.

For other agents, the prompt gives the server's name and URL, and the agent adds briq to its own config. To do it yourself, see Clients.

Sign in

In Claude, the sign-in opens when you connect briq. Other agents tell you when: usually after a restart, or the first time they use briq. Sign in (or create an account; Google and GitHub work) and approve the client for a team, with its budget. The client keeps the sign-in; the model never sees it.

An agent that runs elsewhere (on a server, or behind a chat app) cannot open your browser. It sends you a link and a code instead: open the link on any device, check the code matches the one it showed you, and approve.

The client then appears on the dashboard's Agents & CLI page, where you change its limits or revoke it. See Access and policy.

Run through MCP

The client lists the briq_* tools and a briq_getting_started prompt. The tool descriptions already tell the model how to use them; you do not need to write instructions.

Ask for something that needs a real service:

Spin up a Postgres, apply the migrations in db/migrations, and tell me if they are clean.

briq_run({ recipe: "postgres" })
→ bq_7kq2m9x1p4ab db (postgres:16) running · …internal · cost so far … · sleeps at 18:42 UTC unless used
  outputs:
    DATABASE_URL=postgres://postgres:…@…internal:5432/app

briq_files_put({ briq: "bq_7kq2m9x1p4ab", path: "/m/001_init.sql", contentBase64: "…" })
briq_exec({ briq: "bq_7kq2m9x1p4ab", cmd: ["psql", "-U", "postgres", "-d", "app", "-v", "ON_ERROR_STOP=1", "-f", "/m/001_init.sql"] })
→ exit 0
  CREATE TABLE
  CREATE INDEX

briq_destroy({ briq: "bq_7kq2m9x1p4ab" })
→ bq_7kq2m9x1p4ab db (postgres:16) destroyed · …internal · cost so far …
  • briq_run returns once the recipe's healthcheck passes, so the database is ready.
  • Credentials are generated per run and returned once; they are masked in status, logs and audit.
  • DATABASE_URL is a private address, reachable from briqs of the same stack, not from your machine. Run commands with briq_exec, or run your code in a briq of the same stack.
  • If the agent forgets briq_destroy, the briq goes to sleep after an hour unused and costs nothing until something uses it again.

Watch it

The dashboard shows running briqs, spend and the audit log (one row per call, with agent, action, target and cost). Stop, change when it sleeps, or destroy anything from there.

REST API

Every MCP tool is a REST call:

curl -X POST https://api.briq.cloud/v1/briqs \
  -H "Authorization: Bearer $BRIQ_API_KEY" -H "Content-Type: application/json" \
  -d '{ "recipe": "postgres", "wait": true }'

curl -X POST https://api.briq.cloud/v1/briqs/bq_7kq2m9x1p4ab/exec \
  -H "Authorization: Bearer $BRIQ_API_KEY" -H "Content-Type: application/json" \
  -d '{ "cmd": ["psql", "-U", "postgres", "-c", "select 1"] }'

curl -X DELETE https://api.briq.cloud/v1/briqs/bq_7kq2m9x1p4ab \
  -H "Authorization: Bearer $BRIQ_API_KEY"

On this page

Free to try

Try briq, on us.

Every new account starts with €10 of credits. No card.

Start building

How can we help?

Message to the briq team