• v0.13.0
    Release / release (push) Successful in 3m0s
    Stable

    gitea-actions released this 2026-10-21 13:11:07 +00:00 | 36 commits to main since this release

    The agent API can now deploy and benchmark models, so an AI agent can tune launch options for the
    hardware: within guardrails you set, only on deployments its own token created, and by default only
    after you approve each start, run and sweep.

    No changes to compose.yaml or .env. The new columns and table are added on start. Existing
    tokens keep their scopes; grant the new ones with Scopes in Settings → API tokens.

    Added

    • Token scopes deployments:read, deployments:write, benchmarks:read, benchmarks:run, and
      editing an existing token's scopes.
    • /api/v1 for deployments (docs/api.md):
      • GET /api/v1/runtimes: pulled runtimes, what they serve, whether agents may use them and which
        extra arguments; the host's GPUs.
      • GET /api/v1/deployments, GET /api/v1/deployments/{id}: state, endpoint, options, the engine
        version and slots, live CPU/RAM; the log with ?log=N.
      • POST /api/v1/deployments with the same validation, memory/VRAM estimate and docker run
        command as the form (returned in the answer); dryRun: true only checks. Unknown fields are
        refused instead of ignored.
      • PATCH, POST …/start, POST …/stop, DELETE for the token's own deployments.
    • /api/v1 for benchmarks: POST /api/v1/benchmarks (run or A/B, quick or full, phases,
      description), GET /api/v1/benchmarks/{id} with a compact result (headline numbers, the run's
      hardware/runtime/model setup, GPU and RAM use; the full summary with ?full=1), cancel, a list,
      GET /api/v1/benchmarks/compare?ids= (what differs, what's the same), and sweeps
      (POST /api/v1/sweeps, GET /api/v1/sweeps/{id}, cancel).
    • ?wait=<seconds> (max 900) on the job, deployment, run and sweep status endpoints: the request
      returns once the state settles, so agents make one call instead of polling. Things that wait for
      approval answer right away.
    • Guardrails for API deployments and benchmarks (Settings → API tokens): approval (default: ask
      me), agent deployments at once (1), one agent run or sweep at a time and no agent start while one
      runs, time limits per run and sweep (30 min / 3 h, enforced by the worker), max sweep variants (8),
      a runtime allowlist, an allowlist of extra argument flags per engine (values can't be paths or
      URLs; the error names the argument), host ports only within a range (none by default), and caps
      for memory and CPUs (agent deployments always get a memory limit).
    • Protected deployments: the Protect button on a deployment's page. Agents can't edit, stop,
      delete or benchmark it, nor start anything on the same GPUs that would crowd it out of VRAM
      (estimated).
    • Approval for agent starts, runs and sweeps on the deployment, run and sweep pages; "awaiting
      approval" in the lists.
    • Everything an agent creates shows requested by <token>, with a filter in the deployment
      and benchmark lists; an activity log per token (Settings → API tokens) lists every request,
      including refusals with their error code.
    • Agent skill for tuning (docs/agent/SKILL-tuning.md): check the
      limits, pick a runtime, deploy (dry run first), wait until ready, benchmark, change one variable at a
      time (or sweep), compare, report a compact table, stop the deployment; no polling loops, stop when
      something needs approval, never work around a guardrail.

    Changed

    • The download skill and messages use ?wait= instead of "check again later".

    Docker image

    git.linxweiler.xyz/pascallinxweiler/kaname:0.13.0
    
    Downloads