Devices: your own computers
A device is one of your own computers that does work for Me. Planned capabilities (ADR 0024, not built yet) include:
- browsing as you;
- running a Claude Desktop session;
- driving desktop software such as QuickBooks Desktop.
The first connector offers only system.ping, a connectivity check.
Each device runs a connector: a small program that holds the device’s own token, takes requests from the server,
and returns results. A device is a restricted agent. It may only run device.* work, and every request to it is a
High-risk operation that waits for your approval.
Partly on
main. Enrolling a computer and thedevice.*commands are onmain. The connector itself (me connector login,me connector run), with live push and polling as the fallback, is coming soon in PR #111. Until it merges, an enrolled device can’t serve requests, even thoughme device enrollalready tells you to give its token tome connector login.
Enrol a computer (your step)
Section titled “Enrol a computer (your step)”Run this on the computer you are enrolling, logged in as yourself:
me device enroll --name "Home desktop" # --days n: token lifetime (default 365)This command:
- creates an agent principal for the computer, allowed only
device.*, up toLocalWriteand Confidential; - records the enrolment;
- prints a token once, which you give to the connector on that computer through stdin, never as an argument.
Only a person can enrol a computer. An agent is refused.
Use devices
Section titled “Use devices”me device list # your devices, what they offer, whether they are onlineme device invoke --capability <name> --input '{…}' [--device dev_…]- Online means the device checked in within the last 2 minutes.
- The result arrives as a
device.invocation.completedevent (done, failed or expired), at most 64 KB. - If no device does it in time, the default deadline being 10 minutes, it expires with “No device did it before its deadline.”
- If none of your devices offers the capability,
invokesays “None of your devices offers …”.