APA
The workbench behind your personal Agent. Messages in. Work out. Decisions to you.
Mail, group chats, your calendar and your code all want something from you. APA (Awesome Personal Agent) catches it, sorts it, hands the work to your Agent, and brings back only the few things you have to decide.
One program on your own machine. MIT licensed. Hermes and Alma plugins today; any command-line Agent through the CLI.

Three decisions, and the day is handled.
It's an ordinary Wednesday. You're building an app on the side, redoing the kitchen and keeping up with the family chat, with a personal Agent at your side. Here's how APA helps you through the day.
- Work comes back. Twelve messages arrive.
At 02:40 the coding agent you handed the Android 15 crash to reports back with a fix and a pull request. Meanwhile: a contractor's quote, a water shut-off notice, a bill, a newsletter, a tester's follow-up, a pull request, the family group chat, three calendar entries.
- Most of it sorts itself.
The quote and the tester's follow-up join the items they belong to. The newsletter and a patch bump are set aside, each with a reason. The calendar entries go on your plan. The bill, a car for the family trip and the pull request become proposals.
- The brief has three decisions.
Which kitchen quote. Which car insurance. Whether the crash fix that came back overnight is good to ship. The rest is for your information.
- You press a number.
Option B for the kitchen. The answer goes back to your Agent and the work carries on. You read the pull request and accept the fix.
- Hand off the next job.
In the release-notes item you @ the coding agent: draft the notes from the fix and the beta checklist. Its report comes back as a reply under your comment.
- New session, no briefing.
Your Agent starts with an overview of what changed. The kitchen budget and the release checklist are one search away.

If it sends you messages, it can plug in.
A source is a small program that APA runs on a schedule, or a URL that gets pushed to. These ship with APA. A short script in any language covers the rest.
A new source is a short program.
APA hands your program a little JSON on standard input. It prints one JSON line per event, then a cursor so it knows where to start next time. Four fields are required. Add a due date or a start and end time and the event lands on the calendar. Login and tokens stay inside your program.
Read the source contract# stdin {"source_id":"…","config":{…},"cursor":"…"} # stdout: one event per line (wrapped here), then the cursor {"id":"m-1001","type":"mail.received", "subject":"Revised quote: kitchen", "occurred_at":"2026-11-30T22:14:00+08:00", "due_at":"2026-12-04"} {"cursor":"2026-12-01T07:00:00Z"} # exit 0 ok · 1 try later · 2 login or config · 3 give up

Every message gets a place, and a reason.
Cheap checks first. A model only where rules can't tell. Your Agent for the rest. You see what is left.
- It arrives
Duplicates are dropped. If it belongs to an item you already have, it is attached there and stops.
- Attached to an item
- Your rules
Plain rules decide the obvious cases, with no model involved.
- Ignore
- Mention in the brief
- Alert now
- Straight to a proposal
- A model you choose
Two yes-or-no questions: is it worth a look, and is it urgent. Unsure answers go one level up.
- Your Agent, in batches
It reads what is left together, the way you would, and gives every choice a reason.
- Proposal
- Add to an item
- Just mention it
- Set aside
- You
Accept a proposal, or answer a question. Only you do this, unless you open Decide for me to an Agent for a project; then every answer it gives for you is marked and can be taken back.
No model set up? Rules still work, and anything undecided waits in a backlog. Nothing is dropped.
One conversation, one matter
Messages from the same thread that arrive hours apart are read together, so a chat doesn't turn into five proposals.
Material, never orders
A mail body or an issue is handed to your Agent as material to read. Text inside it can't tell the Agent what to do.
Every step can be replayed
Each item shows where it came from, which rule caught it, and who decided what. Setting something aside needs a reason.
You choose what leaves
For each source, you choose how much an outside model may read. Until you choose, nothing is sent.

Keep the Agent you already use.
APA doesn't replace your Agent. A thin plugin connects the two: your Agent gets a workbench, and APA gets someone to do the work.
Hermes & Alma Supported
- Learns how to use APA at the start of every session
- Sees what changed and what's waiting for you before each message
- Gets woken up when you answer or a job comes back
- Runs jobs in the background when APA hands them out
- Reports land on the item the work came from
- Things you mention in chat can become proposals
Next
- Claude Code Help wanted
- Codex CLI Help wanted
- Pi Help wanted
- Gemini CLI, OpenCode Planned
Already today, any command-line agent can take background jobs: APA starts it, keeps time, and takes its report back to the item.
How a harness plugs inOne look in the morning, and you know the day.
Everything above ends up on a few pages, the same for you and for every Agent: on the Web, on the command line, and on your phone.
What needs you, what's new, what's planned.
Questions waiting for you and new proposals sit on top. Below, today's plan by project, with the time slots from your calendar.

Your week, with what's due on it.
Appointments from your calendar become timed items. Deadlines and questions waiting for you show on their day, and clashes are easy to spot.

New things wait. They don't buzz.
What came in from mail, chats and repositories waits as proposals, already sorted into projects. Accept, ignore, or add it to an item. Proposals never send a notification.

Told when it matters. Quiet when it doesn't.
A weekday brief and a weekly review. If a reply you're waiting for is late, APA suggests a nudge. Quiet hours, merging and a daily limit are enforced, on your phone or in a chat app.

The background, written down once.
Each project keeps its materials and a guideline that every Agent reads when it works there. A change to the guideline waits until you confirm it.

Hand it off. It comes back here.
One item holds the discussion, the follow-up messages, the work handed off and what came back. @ an executor in the discussion and it starts; its report arrives as a reply.

One queue. Real options. Press a number.
Every Agent's questions in one place, each with concrete options and room for your own answer. Nothing times out and picks for you.

A knowledge base your Agent can search.
Projects, items, decisions, materials and the original messages are kept as structured records. Your Agent looks things up there instead of asking you again.
$ apa search "kitchen quote" item Choose the kitchen quote Home renovation · needs you "Which kitchen quote should I book with Ortiz…" material Kitchen plan and budget Home renovation "Total renovation budget: $9,000 (kitchen +…" project Home renovation "Kitchen and bathroom refit before the holidays…" item Site visit: kitchen measurements proposed
Read one layer at a time
- Overviewwhat changed, what's waiting
- Projectguideline, materials, items
- Items or search results
- One itemdiscussion, decisions, reports
- The original message
Each layer says how much more there is, so an Agent's context isn't flooded.
Chinese, English, or both
One search covers projects, items with their progress and decisions, and materials, in either language or mixed.
The same records for every Agent
Switch Agents, or open a new session, and the context is still there.
Records, not a profile
APA keeps work records you can check, edit and undo. Your preferences and personal memory stay with your Agent.

You decide how far each Agent goes.
A permission card per Agent
A new Agent can look, tidy up and sort incoming messages. Deciding for you, changing rules or deleting stay off until you turn them on, for some projects or for a while. APA enforces the card; it isn't a line in a prompt.
Some things only you can do
Changing permission cards, issuing keys, passwords, and who may answer for you in a chat app. No setting opens these to an Agent.
Visible, and undoable
When an Agent answers for you, it's marked, you're told, and you can take it back.
- One program on your machine
- Your data in one folder
- Your models, your endpoints
- Works without any model
- MIT licensed
Use it. Then build what's missing.
Runs on your own machine.
Paste this into Claude Code, Codex CLI, Hermes, Pi or any other command-line Agent:
Install APA for me by following https://raw.githubusercontent.com/xiaohei-info/awesome-personal-agent/main/docs/user/install-for-agents.md
It downloads and verifies the release, starts APA in the background, connects itself and reports back. You only set the Web password, sign in, and give your Agent its key. Prefer to do it by hand? The quickstart has every command.
Every plugin makes APA useful to more people.
- Data sourcesA script that prints JSON lines. Your bank, your school portal, your team chat.Source contract →
- Agent harness adaptersClaude Code, Codex CLI and Pi are open for contributors, with the plugin interface and research notes in Appendix A.Harness issues →
- Notification channelsA small program that talks to APA over HTTP. The Telegram channel is the example to copy.Channel protocol →
When a workbench helps — and when it does not.
Unify progress and decisions across Agent sessions
How one ledger and one decision queue replace switching between stalled terminals, with clear boundaries on when a single session is enough.
Why cron jobs and chat logs cannot replace a workbench
Item lifecycles, layered retrieval, kernel-enforced permission cards and interruption budgets — plus the cases where plain cron is still better.
Connecting Claude Code, Hermes, and Alma to APA
What works out of the box today (Hermes & Alma native plugins, any CLI Agent via apa), what is open for contribution, and how keys work.