Sidekick
A personal agent on a laptop, guarded by LumoAuth: it reads freely, asks in Slack before it writes or runs a command, and locks with one switch.
This page is a draft. The code exists, and not all of it has been run for this page yet. The page says what was checked.
Scenario
A developer runs an open-source agent on their own machine. It can read files, run shell commands and call MCP servers. With Guard, each tool call is checked against a preset. A read passes. A write to the home folder or a git push asks first, in Slack. The developer can lock the agent from the phone, and can read afterwards what it did.
People and agents
| Who | Role in the application | Identity in LumoAuth |
|---|---|---|
| The developer | Owns the agent and answers its requests. | A user. |
| The agent | Runs on the laptop. | An agent that enrolled itself with a code, with a key of its own. |
Flows
| Flow | What happens | What LumoAuth does |
|---|---|---|
| Enroll | Setup shows a code. The developer approves it in the portal. | Registers the agent, and binds its tokens to its key. |
| Decide | The agent calls a tool. | The plugin decides locally, from the capabilities that it refreshes every minute. |
| Ask | The agent wants to run git push. | Sends an approval request to the owner in Slack. Only the owner can answer. |
| Record | A tool call finishes. | Stores a receipt, when the developer turned receipts on. |
| Lock | The developer suspends the agent. | Within a minute, every tool call is refused. |
Parts
| Part | Built with | Job |
|---|---|---|
| Agent host | OpenClaw with @lumoauth/openclaw, or Hermes with lumoauth-hermes | Runs the agent in a container for the demo. |
| Chat | Slack or Discord | Receives the approval requests. |
What the seed script creates
- An approval channel.
- Nothing else: the agent enrolls itself.
Walkthrough
- Start the container and run
lumoauth setup. - Approve the code.
- Choose the preset "Personal assistant".
- Ask the agent to read a file, then to change it.
- Approve in Slack.
- Lock the agent from the portal.
Before you run it
- Guard is not a sandbox. The agent runs with the user account of the developer.
- Check that your plan includes approval channels in the plans matrix.
Where the code is today
The plugins are in the openclaw and hermes repositories, each with a harness for an end-to-end run. The catalog adds the container and the sample tasks.