cd /news/developer-tools/bring-your-own-harness · home topics developer-tools article
[ARTICLE · art-67598] src=andreapivetta.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Bring Your Own Harness

A developer has created Casper, a single-file coding agent that runs with a single curl command and requires no installation, supporting API keys from OpenAI, Anthropic, or Google. The tool is designed for quick, temporary access to a coding agent on any machine, such as a VM or Raspberry Pi, without the overhead of installing a full binary. Casper executes commands directly, so users are advised to only run it on machines where they are comfortable granting that level of power.

read1 min views1 publishedJul 21, 2026

Every so often, you access some random machine: the VM hosting a silly side project, the Raspberry Pi running a toy robot, a friend’s laptop.

Installing a coding agent there is certainly possible, and sometimes worthwhile. But should you really spend the time to install, log in, and manage your authentication once you are done with your task, just to ask Claude how to restart a system daemon? Maybe you shouldn’t. Maybe you should Bring Your Own Harness.

Just two loops #

Coding agents, at their core, are quite trivial to implement: roughly two nested loops.

history = []
while prompt := input("> "):  # human → agent
  history.append({"role": "user", "content": prompt})
  while True:                 # agent ↔ tools
    reply = model(history, tools=TOOLS)
    history.append(reply)

    if reply.text:
      print(reply.text, end="")

    if not reply.tool_call:
      break                   # agent is done

    result = run_tool(reply.tool_call)
    history.append({
      "role": "tool",
      "tool_call_id": reply.tool_call.id,
      "content": result,
    })

Do you really need to install a 200 MB binary?

Casper 👻 #

Casper is a coding agent that fits into a single file. Given an API key you already have (OpenAI, Anthropic, or Google), you can run it with a single command:

curl -fsSL https://raw.githubusercontent.com/ziggy42/casper/main/casper.py | ANTHROPIC_API_KEY=... python3

Or avoid leaking the key in your shell history and provide it when Casper asks for it at runtime.

It does not support any “advanced” features, such as skills, confirming destructive commands, automatically compacting context, and many more. But you get a coding agent running in a couple of seconds: no installation, no nothing.

It will happily run commands, so use it only on machines where you are comfortable giving it that level of power.

I’ve ended up using this little thing far more than I expected.

── more in #developer-tools 4 stories · sorted by recency
── more on @casper 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/bring-your-own-harne…] indexed:0 read:1min 2026-07-21 ·