Skip to content

Shiba agent

Shiba's built-in coding agent for API-key providers — any supported model, no vendor CLI.

The Shiba agent is Shiba’s own coding agent. It exists so a task can run on any supported API-key model — including providers that have no first-party coding CLI — without installing anything extra in the sandbox image.

Agent Overview

Attribute Specification
Harness ID builtin
CLI Binary node — Shiba’s agent script, written into the sandbox at run time (nothing installed in the image)
Default Model deepseek/deepseek-chat
Supported Providers DeepSeek, OpenAI, Anthropic, Google (Gemini), xAI, OpenRouter, Groq, Mistral, Z.ai, MiniMax, Qwen, Kimi, Meta
Runtime Cloud sandbox only (not available on a paired computer)
Credential Model AI Gateway BYOK (dummy key inside sandbox; real key injected at egress)

How It Works

The agent script speaks one of two wire protocols to the model provider: OpenAI-compatible chat completions, or the Anthropic Messages API. It gives the model a fixed set of tools, all confined to the workspace:

  • read, write and edit files
  • list a directory
  • search
  • run a command (with a per-command timeout)
  • finish
Developer Request
  └── delegate_coding_task({ harness: "builtin" })
      └── Human signs off on exact prompt & repository
          └── Ephemeral Cloudflare Sandbox boots
              ├── Writes Shiba's agent script for this run
              ├── Executes it with node
              ├── Streams newline-delimited JSON events
              └── Collects git status and builds unified diff

The agent runs through the same sandbox adapter as every other harness, so checkpoints, the diff, and verification work the same way.

Selecting the Shiba agent in a Task

Pick Shiba agent under Agent harness in the task composer, or pass the harness explicitly:

{
  "repoUrl": "https://github.com/acme/web",
  "task": "Add dark mode toggle to navigation bar",
  "baseBranch": "main",
  "harness": "builtin",
  "codingModel": "deepseek/deepseek-chat"
}

Type to search…

↑↓ navigate↵ selectEsc close