Skip to content

agent-runtime 1.5.0

Choose a tag to compare

@chelemen-razvan chelemen-razvan released this 17 Jul 07:18
· 113 commits to main since this release

This release turns the barebones (vanilla) driver from an Anthropic-only tool
loop into a full platform citizen: it now runs OpenAI and opencode Go models,
loads tenant skills with progressive disclosure, attaches remote MCP servers,
and survived a works-as-expected audit of all nine built-in tools.

Multi-provider models on the barebones driver

  • New OpenAI Chat Completions adapter and a per-model LLM router. Bare
    claude-* ids keep going to Anthropic; gpt-*/o* ids go to OpenAI with
    the tenant's OpenAI API key; opencode-go/* ids go to the opencode Zen Go
    gateway with the tenant's opencode key (MiniMax/Qwen over the
    Anthropic-compatible endpoint, GLM/Kimi/MiMo/DeepSeek over chat completions).
  • The model catalog now offers barebones for every OpenAI api-key chat model
    (Codex-family ids excluded — they are Responses-API-only) and all opencode
    Go plan models. Subscriptions still don't apply to barebones; it is
    API-key-only by design.
  • Tool-call translation handles parallel calls, malformed tool-call JSON
    (dropped with a visible note instead of crashing the task), empty
    completions, and null token usage from quirky gateways.

Skills on the barebones driver

  • Attach tenant skills to barebones containers; they materialize into the
    container workspace and surface to the model as a name + description list.
    Full instructions load lazily through a new skill tool (Claude-Code-style
    progressive disclosure), with YAML frontmatter stripped,
    ${CLAUDE_SKILL_DIR} substituted so portable skills resolve their own
    files, an "already loaded" note instead of duplicate copies, and a generous
    dedicated size cap so a large skill is never silently truncated.
  • Bundled skill files (scripts, references) are readable from the model's
    bash/python/read_file tools — including from the sandboxed
    subprocess side (see Fixes).
  • Skill failures never fail the task: invalid bundles are skipped with a
    warning event.

MCP on the barebones driver

  • Attach remote MCP servers (streamable HTTP) to barebones containers. Remote
    tools join the loop as mcp__<server>__<tool> alongside built-ins, with
    per-server failure isolation (one unreachable server degrades, never
    aborts), per-call timeouts, and guaranteed connection teardown on every
    task outcome.
  • Bearer and custom-header auth supported; secrets are never persisted or
    logged, matching the platform's existing credential handling.

Hardened built-in tools

  • All nine built-in tools audited end to end; eight crash paths on
    missing/malformed model inputs fixed, each with a regression test.
  • Uniform tool-result size cap (TOOL_RESULT_MAX_CHARS, default 30k) with an
    explicit truncation marker, plus a crash guard so no tool exception can
    kill a task.
  • New end-to-end test sweep drives every built-in tool through a live
    barebones loop in CI's integration harness.

Console

  • Skills and MCP pickers are now driven by driver capability flags from the
    API instead of a hardcoded driver list — barebones shows both pickers, and
    future drivers inherit this for free.

Fixes

  • Agent image was missing the mcp package — MCP tasks on any driver
    path that needed the SDK would have failed at import. Now bundled.
  • Sandboxed subprocesses couldn't reach skill files (Permission denied
    from bash/python while file tools worked): the runtime dir is now
    traverse-only (711) with its private children (event logs, task metadata,
    transfer spool) explicitly locked to 700. Existing volumes self-correct on
    container restart.
  • MCP connections no longer leak when a session continuation fails fast;
    detached skills are cleaned from the workspace on the next run.
  • OpenAI wire requests stay valid on empty assistant turns and null usage.
  • Dev stack AGENT_IMAGE_TAG was pinned to an old image; version references
    (Makefile, deploy examples, dev env) are now aligned at 1.5.0.