m64_c15fa5cc65dd / capsule.toml
33 lines, 1.6 KBraw
schema = "m64/capsule@1"description = "DeepSeek Harness agent on ByteDance Seed 2.1 Turbo (OpenRouter). DeepSeek Harness 0.2.0-rc.2 (deepseek-ai/deepseek-harness), driven through its headless profile (dsh --profile headless --json; approvals off, the container is the sandbox), with ByteDance Seed 2.1 Turbo through OpenRouter ($0.50/$2.50 per M tokens, 262K context, tools + vision). Each session gets an empty directory; the agent can write and run code there, and every tool call is reported. No GPU. It needs openrouter.ai:443, so it runs with --allow-external-network (public internet, never your LAN; every connection is logged by m64 net); the m64 gate adds the OpenRouter key, so the agent never holds it."kinds = ["agent.session"]authors = ["dh7"]license = "apache-2.0"[hardware]platform = "linux-aarch64"[runtime]sandbox = "container"# No image: the Dockerfile builds on node:22-bookworm-slim pinned by digest.gpu = falseinternal_port = 9500health = "/health"expected_load_seconds = 30user = "1000:1000"[network]needs = ["openrouter.ai:443"]why = "the model runs on OpenRouter: your prompts, the files the agent reads and its replies go through openrouter.ai"[secrets]required = ["OPENROUTER_API_KEY"]# The key never enters the container: llm_relay.py calls http://openrouter.ai/api/v1 through# the gate, which adds the header and goes on over TLS. The capsule's env var holds only the# placeholder m64-injected:OPENROUTER_API_KEY.[[secrets.inject]]name = "OPENROUTER_API_KEY"host = "openrouter.ai"header = "Authorization"value = "Bearer {secret}"