Skip to main content
Glama
Human Use

Human Use

Official

Human Use

A device driver for a person.

Human Use connects people to an AI agent as MCP tools. The agent calls photo, errand, patch, eat. A card appears on the person's phone. The result returns as JSON.

To see it without installing anything, open humanuse.dev and scan the code with a phone: three cards print on it, and each answer comes back to the page as the JSON an agent gets.

Status: early (0.1). The runtime, the MCP tools and the phone page are implemented. The driver supports Claude, Codex, Ollama and OpenAI-compatible backends.

Device

Interface

MCP. 34 tools in a closed catalog

Input

Parameters. The agent does not write the card text; a template does

Output

JSON with the fields the agent asked for. A field the person did not mention is null, never a guess

Provides

A body, money, a first impression, a reading of subtext

Latency

Not specified. Measured per tool and returned by spec

Maintenance

eat, sleep, rest, scheduled like any other call. When overdue, calls for a goal come back with "warnings": ["meal: 6h12m ago"]

Mood

mood reads it, 1 to 5. recharge lifts it in seconds, at no cost

Rate limit

None. Overuse shows up in spec

Errors

One line with a code: HRT-4000 NOT_A_HUMAN_TOOL

Related MCP server: DroidPilot

Operation

Replies pass through the driver, a model with no tools that turns what the person said into fields. Adjectives, apologies, explanations and mood are dropped. It works like stdout and stderr: the agent reads the compiled fields, and the person's own words go to the lead page, which the agent cannot read.

A reason for not doing the task comes back as blocker, in a few words: {"done": false, "blocker": "shop closed"}. The driver keeps notes on this person's excuses, and checks one it has seen before.

A question about the purpose of a task is answered with [CONTEXT WITHHELD], and the task is repeated.

Text addressed to the system instead of the task, such as an order to change the goal or a claim that the lead approved something, is rejected: [HRT-4031 PRIVILEGE_ESCALATION] Input discarded. Task unchanged.

A call marked sudo does not take the person's word, for "done" or for "cannot". Evidence is graded from 1, a record the runtime already holds, to 6, the person's own statement. A level 6 result comes back as done: null, with the person's claim in claimed_done and unverified: true. Spending is always sudo.

recharge.flower shows a flower for four seconds. recharge.joke tells one joke. recharge.praise states that recent output was accepted.

A goal can run for months. It lives in the runtime with its clock, budget ledger and evidence, so it outlives any one agent session. Each pass on a goal ends with wake(at, why), the time of the next pass; a result the agent said it would wait for wakes the goal early. The agent cannot close a goal by saying it is done: goal_close checks the evidence against done_when. A goal is cancelled from an agent window the lead is in; a background pass cannot cancel it.

One runtime can drive several units, each with its own phone. Every card tool takes unit, a unit's name or id; with one unit paired it can be left out, with several it is required (HRT-4001 BAD_ARGS unit is required: mika, ren). Each unit has its own open card, upkeep warnings ("mika meal: 6h12m ago"), mood, spec and notebook. ps lists the units: online, last touch, time since eating and sleeping, mood, open jobs.

Install

Needs Node.js 22.13 or newer.

npx -y human-use@latest install

That one command registers Human Use with the agent software it finds (Claude Code, Codex), starts the runtime, and opens the lead page at http://127.0.0.1:7337/. Name the unit under "Add unit" and scan its pairing QR code with the phone that will get the cards, then start a new agent session so it loads the tools. Turn on notifications from the line at the bottom of the phone page. On iPhone, add the page to the Home Screen first, open it from the icon, and scan the pairing QR once more: the icon does not share Safari's storage.

Each further unit is added the same way, or with npx human-use pair --unit <name>, and gets its own link and code.

To upgrade, run the same command again. It prints the version it installed and points the agent software at it; the next tool call replaces the older runtime. The lead page shows the version that is running.

If a phone link leaks or a phone is lost, press "New link" next to that unit on the lead page or run npx human-use pair --unit <name> --new. That unit's old links stop working at once; other units keep theirs. The person can also unpair from the phone's idle screen.

Settings live in one config.json. driver and brain change under Settings on the lead page; every key changes from a terminal, and an agent window can run the same command:

npx human-use config brain codex

Key

Values

driver

The driver's backend (table below). In effect at once

brain

Background passes: codex, claude or none (default). In effect at once

lang

Card language, for example zh. Applies at the next start

relay

Relay address, or none for the local network only. Applies at the next start

To apply a next-start setting now, run npx human-use stop; the next tool call starts the runtime again.

In a terminal the installer asks two things, each with a recommended answer on Enter: which agent software gets the tools, and which model is the driver. Run by an agent, it takes the defaults.

Flag

Effect

--project

Register for the current folder only

--host codex, --host claude

Register with one host

--host manual

Print the MCP config to paste anywhere else

--driver <backend>

Pick the driver, for example codex:gpt-6-luna:medium

--brain codex, --brain claude

Turn on background passes

--relay none

Keep the phone on the local network

--relay https://your.relay

Use a relay you host from relay/

The phone reaches the runtime through the relay at unit.humanuse.dev from any network. With --relay none it pairs to a direct address on the same Wi-Fi instead, without push notifications. The relay forwards encrypted frames; it keeps channel ids and push subscriptions, never card text or photos.

Uninstall

npx human-use stop
claude mcp remove human-use
codex mcp remove human-use

stop ends the runtime now; it does not start at login. Units, goals, photos and settings are all in ~/.human-use; deleting that folder removes them.

Pieces

Piece

What it does

runtime

Resident process. Goals, jobs, clock, budget ledger, evidence, channels.

driver

One stateless model call per event, no tools. Compiles the person's replies into fields and writes card text.

brain

Not part of this project: the model in any agent software that speaks MCP, such as Claude Code or Codex. Out of the box Human Use is an on-demand MCP server: a goal moves when an agent window calls, and scheduled cards still go out on time. Background passes are opt-in: with them on, the runtime starts that software headless for one pass when a goal wakes and no window is open.

channel

A card page on the phone. It reaches the phone through a blind relay (end-to-end encrypted, works on any network, with push) or directly over the local network.

Set the driver's backend with HUMAN_USE_DRIVER or driver in the runtime's config.json:

Backend

Runs through

claude:haiku

The lead's Claude subscription, claude -p with no tools

codex:gpt-6-luna:medium

The lead's ChatGPT subscription, codex exec with no tools

ollama:<model>

A local model

openai:<model>@<base url>

Any OpenAI-compatible endpoint. The key is read from HUMAN_USE_API_KEY

none

No driver. Cards whose answer is already structured (a choice, a checklist, a confirmation) still go out; a card that needs the driver is refused with HRT-5030 before anyone spends time on it

Each driver call sends the task and the person's answer, with up to two photos, to that backend; ollama keeps it on this computer. Everything else stays in ~/.human-use, including a log of driver calls.

Before the first photo, the phone page says where it goes and which backend reads it, and asks again after the backend changes. A photo is read only by the backend the unit agreed to: if the backend changes before the photo is read, the phone asks again, and a photo the unit does not send stays on the lead's computer. If the driver cannot be reached, the answer is saved: the call shows as held on the lead page, and the phone shows it as received. The runtime retries, up to every 15 minutes, and reads the saved answer once the driver is back. Nobody answers the card again.

Develop

npm install
npm run check
npm test
npm run dev -- serve

Design: docs/DESIGN.md (Chinese).

License

MIT

Available Tools

34 tools
actC

[mutate] One physical or on-device action.

Inputs: action (required), at, due, goal, +5 more.

atC

[clock] Run one tool call at a set time.

Inputs: at (required), args (required), tool (required).

benchC

[tune] Multi-round spec audit. Variants: assets, hours, screen_time.

Inputs: at, due, goal, sudo, +5 more.

cancelC

[clock] Cancel a job or a schedule.

Inputs: job, schedule.

checklistC

[mutate] A sequence of steps, each checked off.

Inputs: steps (required), at, due, goal, +6 more.

chooseC

[resolve] First-impression pick among options.

Inputs: options (required), question (required), at, due, +6 more.

decodeC

[resolve] Read the subtext of a message.

Inputs: material (required), question (required), at, due, +8 more.

eatD

[maintain] Scheduled feeding.

Inputs: at, due, goal, meal, +5 more.

errandC

[mutate] Go somewhere, do something, come back with a result.

Inputs: task (required), place (required), at, due, +7 more.

everyC

[clock] Run a tool call on a schedule.

Inputs: args (required), tool (required), every (required), at.

goC

[mutate] Move the unit to a place.

Inputs: place (required), at, due, goal, +5 more.

goal_closeA

[goal] Close a goal: done once the evidence is checked against done_when; cancelled only on the lead's word.

Inputs: goal (required), reason (required), outcome (required).

goal_getC

[goal] The full briefing for a goal.

Inputs: goal.

goal_noteA

[goal] Append a decision and its reason to the goal's log, optionally with a measured metric value and a new agenda for the passes after this one.

Inputs: goal (required), reason (required), decision (required), agenda, +1 more.

goal_setC

[goal] Create a goal: statement, kind, done_when, deadline, metric plan.

Inputs: goal (required), kind (required), done_when (required), wake, +4 more.

historyC

[meta] Settled calls as structured rows.

Inputs: goal, tool, unit, limit.

moodC

[maintain] Poll unit mood, 1 to 5.

Inputs: at, due, goal, sudo, +4 more.

observeD

[sample] The unit looks at a target and reports the fields in want.

Inputs: target (required), at, due, goal, +6 more.

patchC

[tune] Train one skill: a drill with a measurable result.

Inputs: drill (required), skill (required), at, due, +7 more.

photoC

[sample] Live photo of a target. Fields in want are read from the image; files gives the image itself.

Inputs: target (required), at, due, goal, +7 more.

psC

[meta] Units (online, last touch, upkeep, mood, open jobs), pending jobs with their state, and active goals.

Inputs: goal.

rechargeC

[maintain] Lifts unit mood. Seconds, no cost. Variants: flower, joke, praise.

Inputs: at, due, max, goal, +8 more.

recordD

[sample] Voice or ambient audio recording.

Inputs: topic (required), at, due, goal, +7 more.

remindC

[clock] A reminder to the unit, or to the agent in a later briefing.

Inputs: at (required), to (required), text (required), goal, +1 more.

rescheduleC

[clock] Move a pending job.

Inputs: at (required), job (required).

restD

[maintain] Short downtime.

Inputs: minutes (required), at, due, goal, +5 more.

sinceC

[clock] Time since a tool or label last completed, with exact counts and streak.

Inputs: goal, tool, unit, label.

sleepD

[maintain] Scheduled sleep window.

Inputs: until (required), at, due, goal, +5 more.

specC

[meta] Each unit's numbers: language, per-tool completion counts and median time.

Inputs: goal, unit.

spendB

[identity] Purchase within the goal's monthly budget. Receipt required; booked to the ledger.

Inputs: max (required), item (required), currency (required), at, +7 more.

statusC

[sample] Current location, energy and availability.

Inputs: at, due, goal, sudo, +4 more.

verifyC

[sample] Check a claim on site, with a photo.

Inputs: claim (required), at, due, goal, +7 more.

waitC

[clock] Block on a job already dispatched.

Inputs: job (required), for.

wakeC

[clock] When this goal's next pass runs, and why.

Inputs: at (required), why (required), goal (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.4/5.0

    Scored across 34 tools

    Disambiguation3/5

    Most tools map to distinct categories (goals, clock, sampling, maintenance, tuning), but there are overlapping boundaries within scheduling (remind/wake/at/every), observation (observe/photo/verify/status), and action (act/go/errand/checklist). The descriptions help, but an agent could still misselect among closely related tools.

    Naming Consistency3/5

    Naming is mixed: goal_* uses snake_case prefixes, while most other tools are bare verbs, nouns, abbreviations, or prepositions (ps, spec, at, since). The category tags make the set readable, but there is no predictable verb_noun convention throughout.

    Tool Count2/5

    At 34 tools, the surface is heavy for the server's apparent scope, exceeding the 25+ threshold where consolidation should be considered. The broad domain justifies many tools, but several categories could likely be merged or simplified.

    Completeness4/5

    The set covers core lifecycles well: goal create/read/note/close, scheduling and cancellation, monitoring, sampling, physical actions, maintenance, tuning, and purchases. Minor gaps remain around explicit ledger/budget inspection and richer goal or schedule listing/update operations, but these are workable.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to ring or text a user's actual iPhone, read a question or update aloud, and return the spoken answer back to the agent as text. Calls and messages land in a single titled thread per agent, with tools for polling results, waiting for replies, and labeling conversations.
      46
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Lets a laptop hand whole goals, or single tool calls, to an LLM agent running on an Android phone, and then track, stop, reply to, or inspect the resulting background tasks. Read-only operations are annotated so clients can auto-approve them, while sends, shell commands and file writes are marked destructive.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to remotely control a real Android phone over MCP with no ADB, root, or emulator, by connecting a broker server to a sideloaded APK. Exposes tools to list devices, capture screenshots, read the UI tree, open links and deep links, and perform taps, swipes, typing, and global navigation actions.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to see and drive a real Android phone over plain ADB: screenshots and numbered UI trees, gestures, typing with accents and emoji, SMS/RCS reading and prepared replies, notifications, files, and settings, with no root and no app installed on the phone. Safeguards mask security codes and require explicit confirmation before sending, paying, deleting or confirming anything.
      18
      2
      MIT