kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / agent / task

kosa8 agent task

Ask the kosa8 AI agent to do a task in a fresh sandbox (draft PR, no key needed)

Usage#

kosa8 agent task TASK

The kosa8 AI agent reads the repository in a fresh, isolated sandbox, makes the change and opens a DRAFT pull request on a kosa8/ branch, with each step checked off here. It never approves, merges, deletes or widens access, and the budget and hourly limits apply. It runs on Cloudflare Workers AI: no model key needed. Good for small changes; for big ones use your own Claude, Codex or Gemini key (Settings → GitHub → More options). Guide: https://docs.kosa8.com/guides/autopilot/#ai-in-kosa8

Options#

FlagTypeWhat it doesDefault
--no-prbooldo not open a draft pull request—
--no-waitboolstart the task and return at once—
--refstringbranch or commit to start from (default: the default branch)—
--repostringGitHub repository: owner/name, or a folder (.) whose origin is on GitHub—
--sandboxstringwork in this existing sandbox instead of a fresh one—
--templatestringa ready task: fix-test, explain-error, summarize-repo, write-readme—

Example#

  kosa8 agent task "fix the failing test" --repo .
  kosa8 agent task --template write-readme --repo acme/api

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA