Corevelos

SDK & CLI

Configure the TypeScript and Python SDKs, the developer CLI and stdio MCP.

All clients operate through the authenticated Corevelos API. Set the endpoint explicitly for hosted use:

export COREVELOS_API_URL="https://api.corevelos.com"
export COREVELOS_API_KEY="cv_your_project_key"

During preview, use the verified artifacts supplied for your accepted release. Public registry commands below apply after that release is published. Set the actual endpoint supplied for the deployment; public DNS and HTTPS must be active.

TypeScript

npm i ./corevelos-contract-1.0.0.tgz ./corevelos-sdk-1.0.0.tgz
# After publication: npm i @corevelos/sdk
import { Sandbox } from "@corevelos/sdk";
const box = await Sandbox.create({ template: "corevelos-base" });
try { console.log((await box.commands.run("echo hello")).stdout); }
finally { await box.kill(); }

Python

pip install ./corevelos-1.0.0-py3-none-any.whl
# After publication: pip install corevelos
from corevelos import Sandbox
box = Sandbox.create(template="corevelos-base")
try:
    print(box.commands.run("echo hello")["stdout"])
finally:
    box.kill()

CLI

npm i -g ./corevelos-cli-1.0.0.tgz
# After publication: npm i -g @corevelos/cli
corevelos sandbox create --template corevelos-base
corevelos sandbox list
corevelos exec <sandbox-id> -- python -c 'print(1)'
corevelos sandbox kill <sandbox-id>

For a human session, configure the endpoint and complete browser device approval:

corevelos auth configure --api-url https://api.corevelos.com
corevelos auth login
corevelos auth status

Device login requires an enabled WorkOS hosted device flow on that deployment. For CI and unattended use, use the project API-key environment variables above. Run corevelos --help for the supported command catalog.

MCP

The CLI includes a stdio MCP server. Configure your MCP host to launch corevelos mcp start, with the same endpoint and project API key supplied through its private environment configuration. Keep keys out of shared configuration files. Hosted HTTP MCP additionally requires deployment-specific OAuth discovery and consent configuration; use it only when your deployment has enabled and accepted it.

Projects and E2B migration

A project-bound API key is confined to its project. Passing another projectId or --project does not widen that credential's authority; use the correct key. The @corevelos/sdk/e2b subpath translates the documented supported E2B vocabulary. Review its migration guide; this is not wire-level compatibility with the E2B service.

Tenancy and errors

Every resource is owned by the subject that created it. An id that belongs to another tenant reports 404, never 403, so ids cannot be enumerated. Errors use one envelope: { "error": { "code", "message", "details"? } }.

On this page