agentusecases.aiAll 2,316 use cases
Software & DevOps

One-shot a CLI coding agent on top of a Python LLM library

Simon Willison had the Fable model more or less one-shot a CLI coding agent built on his LLM Python library. · Jul 2, 2026

Done with a custom-built or unnamed agent

What they did
Willison started a repo from his Python library template and gave Claude Code for web two prompts. The first wrote a spec.md for a Claude Code-style agent on the LLM alpha. The second told it to build the agent with red/green TDD in sensible commits, with docs, and to test manually using the OpenAI key in its environment.
How it went
It shipped as an alpha to PyPI and he called it pretty good for a first attempt. It added file and command tools and an unrequested Python API. A demo with GPT-5.5 built an ASCII-art clock app.
Worth knowing
The demo used the --yolo flag, which skips approvals. The README also shows --allow patterns, such as pytest*, as a narrower option.

Try it yourself with Claude Code

Using [Python LLM library, e.g. Simon Willison's llm] as a base, build a CLI coding agent that can read files, edit files and run shell commands in the current directory. Keep it to a single script with a clear README and a confirmation prompt before any command that writes or deletes. Finish by running it on a small demo task in [scratch folder] and showing me the transcript.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Discussion on Bluesky · Jul 2, 2026

Related use cases

  • CL

    Build a C compiler with a team of parallel agents

    Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.

    Claude

  • CC

    Autonomously test an entire iOS app and report bugs

    A tool lets Claude Code drive an iOS app through the accessibility tree, tap every screen, and return a structured bug summary.

    Claude Code

  • ··

    Audit a feature's issues and hand them to an engineer's agent

    An AI agent listed all issues with a feature and sent them to an engineer, whose own agent then addressed most of them automatically.

    Custom agent

  • CR

    Build small features and integrations with Cursor agent mode

    A commenter uses Cursor agent mode for smaller features, third-party integrations, background jobs, notifications and activity tracking, and has it log key findings to a worklog file for the next run.

    Cursor

  • CC

    Cross-check coding agent answers with a second agent

    The poster built a tool that automatically sends Claude Code responses to Codex for a second opinion, replacing manual copy-pasting.

    Claude CodeCodex

  • DE

    Upgrade vulnerable dependencies via automated pull request

    Devin opened a PR on a Spring Boot and Next.js sample app upgrading dependencies to fix listed CVEs, including 103 npm vulnerabilities on the frontend.

    Devin

Keep browsing

All 397 use cases from custom-built, lesser-known and unnamed agentsAll 433 Software & DevOps use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us