Skip to content
All projects
AIOct 2026

Mywork Agents: An AI Work Crew in the Terminal

An AI Work Crew in the Terminal

Eight Claude-powered agents behind one CLI. They plan your day around your calendar, write your standup from git, triage email, turn meeting transcripts into owned action items, research with citations, review code, write commit messages and document projects. Tools are read-only, and every agent is tested offline.

Mywork Agents
Year
Oct 2026
Timeline
v0.1 Oct 2026
Type
AI
Status
Completed

173 tests

Every agent runs against a scripted FakeLLM, so the whole suite needs no API key and no network. mypy --strict and ruff run in CI on Python 3.10 to 3.13.

01

Overview

Much of a working day is small, repeatable writing: the plan, the standup, the replies, the meeting follow-up, the commit message. Mywork Agents puts eight Claude-powered agents for exactly those jobs behind one CLI. Point it at your to-do file, notes and calendar once, and mywork plan and mywork standup need no arguments. The agents share a local history, so the standup knows what you planned yesterday and the plan carries over what you didn't finish.

02

The hard parts

  1. 01

    Getting dependable structured output without "please reply in JSON" and a parse-retry loop.

  2. 02

    Letting agents read code, git history and the web with no path to secrets, private networks or a stray write.

  3. 03

    Treating emails and diffs as data, so a message that contains instructions can't steer the agent.

  4. 04

    Testing eight agents that call an LLM, in CI, with no API key.

03

The approach

Each agent is a system prompt, an optional Pydantic output model, a set of read-only tools and a renderer. A hand-written loop of about 150 lines streams every request, runs tool calls in parallel, resumes long server-side web searches, and validates the final answer against the schema with one repair round-trip. The CLI gathers inputs in code rather than asking the model to fetch them: calendars expanded with recurrences and time zones, transcripts cleaned, diffs collected. That keeps runs cheaper and reproducible, and --dry-run prints the exact prompt. Tools stay inside the workspace and never open files that look like secrets, and the URL fetcher only dials vetted public addresses, re-checking every redirect hop.

04

Outcome

All eight agents (plan, standup, inbox, meeting, research, review, commit and readme) support --json, --output and --dry-run, and every run prints its token usage and estimated cost. review --fail-on makes it a CI gate, and a new agent is about 30 lines plus an entry point, testable offline with FakeLLM. Before release, an independent multi-agent review reproduced and verified every finding. The fixes closed SSRF bypasses in the URL fetcher and secret exposure through .git/config, .env variants, symlinks and review diffs.

05

What I'd do differently

I wrote the agent loop by hand instead of using the SDK's tool runner, and it was worth it: resuming paused turns, schema validation with a repair turn, progress events, and an LLM interface small enough to fake. The security review taught me that read-only isn't something you declare. It's a list of escape routes you close one at a time: symlinks, rev:path, redirects, numeric hosts.

06

Stack

agents
hand-written tool-use loopstructured outputs (JSON Schema)prompt caching
cli
TyperRichTOML config
inputs
email (.eml, .mbox)transcripts (VTT, SRT)iCalendar with recurrencegit
quality
pytest (173 tests, FakeLLM)mypy --strictruff

Like what you see?

Let's build the next one.

Hiring, or have a problem that needs this kind of engineering? I read every message myself.