Last Call, for Claude Code on macOS

When your battery runs low, every agent writes down what it was doing, commits, and stops.

My Mac died tonight with a dozen agents running and I lost track of what they did. So I built Last Call.

Steven Ojo

curl -fsSL https://lastagentcall.com/install.sh | bash

Free and open source. macOS 13 or later. Merges into your existing hooks and backs up your settings first. Read the script

What happens at each level

Last Call checks the battery on every prompt and tool call. It takes about 10 milliseconds, never touches the network, and if anything goes wrong it steps aside and lets the tool run.

100%50%201050
20%
Heads up

Every agent is told the battery level and asked to finish the current step without starting long jobs: builds, full test suites, subagent fan-outs.

10%
Wrap up

Subagents and long commands are blocked. The agent writes .lastcall/HANDOFF.md with what was done, what is in flight, the exact next steps and the files touched, commits to a lastcall/wip branch without pushing, and stops.

5%
Last call

Every tool is blocked except writing the handoff note and git. Whatever the agent was doing, the record of it gets saved.

Plugged in, it all clears. No messages, no blocks. On a Mac with no battery, Last Call does nothing at all. Thresholds live in ~/.lastcall/config.

Questions

Does it move my sessions to another machine?
No. It keeps the record so you can pick up anywhere. On the same Mac, run claude --resume. Anywhere else, pull the lastcall/wip branch and start a session that reads .lastcall/HANDOFF.md.
Will it break my existing hooks?
No. The installer backs up ~/.claude/settings.json and adds its three entries next to yours. If the hook cannot read the battery or its input, the tool runs as normal.
Does it push my code anywhere?
No. The commit stays on a local branch. Pushing is up to you.
Can I try it without draining my battery?
Start a session with LASTCALL_FAKE_BATTERY=8 claude, or pick Wrap up all agents now from the menu bar.
How do I remove it?
curl -fsSL https://lastagentcall.com/uninstall.sh | bash removes the hook entries, the app and ~/.lastcall, and leaves your other settings as they were.
What does it cost?
Nothing. MIT licensed.