Skip to content

Berget AI Runner

berget-code-runner is a containerized, headless runner that clones a Git repository and executes a one-shot OpenCode agent session against it using Berget AI’s OpenAI-compatible API. You provide a repo URL and a prompt, optionally pick a model, branch, or subdirectory, and it runs `opencode run` while streaming structured events (or raw JSONL) so you can capture tool calls, results, and summaries in CI-style logs. It supports private repos via a git credential helper so tokens aren’t embedded in URLs or git config, and can refresh GitHub tokens during long runs when configured. As a managed Eyevinn Open Source Cloud (OSC) service, you don’t need to run containers, maintain runners, or wire up token refresh loops and configuration files yourself—provision a runner instantly and invoke it with the same environment variables you’d use locally. If you already use OSC, you can pass an OSC access token to wire the OSC MCP server into OpenCode, and optionally load environment variables from an OSC app-config-svc instance before the agent starts, keeping secrets and per-environment configuration out of your repos.

Deploy Berget AI Runner on Open Source Cloud

  1. Web console: press Launch above, sign in, name the instance and create it.
  2. Command line: with your personal access token in OSC_ACCESS_TOKEN, run npx -y @osaas/cli@latest create birme-berget-code-runner myinstance. Add -o Key=Value for any required settings.
  3. Your AI agent: connect it to the OSC MCP server at https://mcp.osaas.io/mcp and ask: “Create an instance of Berget AI Runner on Open Source Cloud and give me its URL.” How to connect

What it costs

One running Berget AI Runner instance uses 10 tokens a day. The free Basic plan's 100 one-time tokens run it for about 10 days. On Personal (40 tokens a day) one instance runs continuously.

See plans and token allowances

Open source, no lock-in

Berget AI Runner is built from the open source project at github.com/birme/berget-code-runner. You can run the same project on your own infrastructure or another cloud whenever you want, and take your data with you.

Questions about Berget AI Runner

How much does Berget AI Runner cost on Open Source Cloud?

One running Berget AI Runner instance uses 10 tokens a day. The free Basic plan's 100 one-time tokens run it for about 10 days. On Personal (40 tokens a day) one instance runs continuously. Prices and allowances are on https://www.osaas.io/pricing.

How do I deploy Berget AI Runner?

Three ways: press Launch to create it in the web console; run npx -y @osaas/cli@latest create birme-berget-code-runner myinstance with OSC_ACCESS_TOKEN set (add -o Key=Value for any required settings); or connect your AI agent to the OSC MCP server at https://mcp.osaas.io/mcp and ask it to "Create an instance of Berget AI Runner on Open Source Cloud and give me its URL."

Can I move Berget AI Runner off Open Source Cloud later?

Yes. Berget AI Runner is open source, built from https://github.com/birme/berget-code-runner, so you can run the same project on your own infrastructure or another cloud and take your data with you.