Skip to main content

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.

ApplicationDraftView source
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.
Works with
JavaScript / TypeScriptPythonOpenClawHermesSlackDiscordDocker Compose
Stack
OpenClaw or Hermes with the LumoAuth Guard plugin, Slack
Standards
RFC 9449

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​

WhoRole in the applicationIdentity in LumoAuth
The developerOwns the agent and answers its requests.A user.
The agentRuns on the laptop.An agent that enrolled itself with a code, with a key of its own.

Flows​

FlowWhat happensWhat LumoAuth does
EnrollSetup shows a code. The developer approves it in the portal.Registers the agent, and binds its tokens to its key.
DecideThe agent calls a tool.The plugin decides locally, from the capabilities that it refreshes every minute.
AskThe agent wants to run git push.Sends an approval request to the owner in Slack. Only the owner can answer.
RecordA tool call finishes.Stores a receipt, when the developer turned receipts on.
LockThe developer suspends the agent.Within a minute, every tool call is refused.

Parts​

PartBuilt withJob
Agent hostOpenClaw with @lumoauth/openclaw, or Hermes with lumoauth-hermesRuns the agent in a container for the demo.
ChatSlack or DiscordReceives the approval requests.

What the seed script creates​

  • An approval channel.
  • Nothing else: the agent enrolls itself.

Walkthrough​

  1. Start the container and run lumoauth setup.
  2. Approve the code.
  3. Choose the preset "Personal assistant".
  4. Ask the agent to read a file, then to change it.
  5. Approve in Slack.
  6. 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.