Your LLM on your mouse, keyboard, and screen.
A local computer-use agent that drives the OS through its native shell — PowerShell on Windows, open + AppleScript on macOS, xdotool / ydotool on Linux. Voice optional. Routes through dario or any Anthropic-compat endpoint, so the per-task token spend bills against the Claude Max subscription you already pay for instead of a hosted research-tool tier on top.
Pre-1.0. MIT. Independent, unofficial, third-party — see DISCLAIMER.
Hosted computer-use products take four decisions away from you:
Your data. Every prompt, every screenshot, every keystroke the agent emits — all of it goes to the vendor's servers. With hands, none of that exists. The model runs on whatever endpoint you point at; the screen and the keyboard belong to your machine. The only outbound connections are to your chosen LLM endpoint. No telemetry, no analytics. Inspectable: lsof -i during a run.
Your model. Hosted products pick for you. hands routes through whatever endpoint you configure — Anthropic direct, Claude Max via dario, or any Anthropic-compat URL.
Your shell. Hosted products simulate clicks and keystrokes via screenshot loops because they don't have your shell. hands has your shell. The agent prefers a one-line Start-Process / open -a / xdotool over a four-screenshot click loop, which is dramatically faster and cheaper.
Your audit trail. Both run modes append every tool call to ~/.hands/audit.jsonl — timestamps, args (secrets scrubbed), durations, outcomes. SDK mode logs at the dispatch site; Claude Login mode logs from the claude child's stream-json event feed (since v0.6.0). --dry-run shows what an agent would do without doing it. All local; nothing leaves your machine.
Most people reading this already pay Anthropic for Claude Max ($100–200/mo). A computer-use task — "open the spreadsheet, add a row, save it" — runs through 10–60 LLM calls in the agent loop. Through Anthropic's per-token API, that's pennies per task; through a hosted UI on top, that's another subscription tier.
| How you run it | Per-task cost | Data stays local? |
|---|---|---|
Claude Login mode (Claude Max subscription via claude CLI) |
$0 | ✅ |
| SDK mode + dario (Claude Max via local proxy) | $0 | ✅ |
| SDK mode + direct Anthropic API | ~$0.05–$2 per task depending on screenshots | ✅ |
| Hosted "AI does your computer for you" tier | $20–50/mo flat | ❌ |
hands run defaults to Claude Login mode — the zero-cost path. SDK mode is only invoked when you explicitly choose API Key during hands auth, or when --dry-run forces it (Claude Login executes tools inside the claude child process — hands observes and audit-logs them from the event stream, but can't stub them, which is what dry-run needs).
# 1. Install
npm i -g @askalf/hands
hands init # interactive: auth, voice, dario routing
# 2. Run
hands run "open notepad and type hello world"
hands run "open VS Code in ~/projects/api and run npm test"
hands run "open chrome and go to amazon.com" --voicehands init walks every choice the CLI asks of a new user: install claude CLI if missing, pick auth mode, optionally download whisper.cpp for voice, surface dario routing tip in API-Key mode. Safe to re-run.
Requires Node.js 20+ and (for the recommended Claude Login mode) the Claude CLI.
$ hands run "open chrome and go to amazon.com"
✔ AskAlf Agent — Computer Control
ℹ Using Claude subscription (no per-token costs)
ℹ Type "exit" or Ctrl+C to quit
ℹ → open chrome and go to amazon.com
✔ Chrome is open with Amazon loaded.
ℹ (6 turns)
❯ What next? open notepad and type hello world
✔ Notepad now has "Hello World" in it.
ℹ (14 turns)
❯ What next?
🎙 Listening... (press Enter to stop)
Heard: "minimize everything and open spotify"
✔ Desktop minimized and Spotify is now open.
ℹ (4 turns)
❯ What next? exit
ℹ Session ended.
The agent prefers the OS-native shell over screenshot-click loops:
- Windows — PowerShell (
Start-Process,Get-ChildItem,Set-Clipboard,winget). - macOS —
open -afor app launch,osascriptfor keystrokes / window control,pbcopy/pbpastefor clipboard,brewfor installs. - Linux —
xdg-openfor files / URLs,xdotool(X11) orydotool(Wayland) for keystrokes,xclip/wl-copyfor clipboard, distro-appropriate package manager. Display server is detected at start of each run.
A screenshot MCP tool is available when Claude needs to visually verify what's on screen, but most tasks complete entirely through the shell. hands doctor reports which platform tools are installed.
Voice control — Add --voice to speak commands instead of typing. Uses local whisper.cpp for transcription — free, private, offline. No cloud APIs.
Concrete things people have actually run, grouped by what the agent leans on most. Every one is a single hands run "..." invocation.
Shell-heavy (PowerShell / bash / zsh)
-
hands run "rename all PNG files in C:\Users\me\Screenshots by their dimensions, like 1920x1080.png"— bulk rename on Windows viaGet-ChildItem+System.Drawing. No screenshot loop. -
hands run "in ~/projects/api, pull main, install deps, run the tests, and tell me which ones failed"— multi-step dev workflow; agent stays in the terminal end-to-end. -
hands run "tail the last 200 lines of /var/log/syslog, find anything mentioning oom or killed, and summarize"— log triage on Linux; onetail+grepchain, then the model summarizes inline. -
hands run "list every brew package that has an update available, then run brew upgrade only for the ones that aren't pinned"— macOS package maintenance; respectsbrew pinwithout being reminded.
OS automation (osascript / xdotool / ydotool)
-
hands run "tile firefox left, terminal right, both full-height"— window management on Linux; agent pickswmctrlon X11 or the Wayland equivalent. -
hands run "screenshot the active window and save it to my desktop with today's date in the filename"— Win/macOS/Linux each have a one-line shell command; agent picks the right one perprocess.platform. -
hands run "open my next calendar event in zoom, open the attached doc in Preview, and mute notifications for an hour"— macOS chain usingosascript+open -a+ Focus toggle.
Browser / mixed (shell + screenshot when needed)
-
hands run "for every PDF in Downloads from this week, save the first page as a JPEG into Downloads/thumbnails/"—find+pdftoppmon Unix ormagickon Windows; no GUI loop. -
hands run "read what's on my clipboard, translate it to French via deepl.com, and put the translation back on the clipboard"— clipboard-in, clipboard-out; needs a screenshot or two for the browser step, thenpbcopy/Set-Clipboard/xclipto finish.
Voice (--voice)
hands run "open three news sites and summarize the top story on each into a single bulleted list in a new TextEdit document" --voice— speak the prompt instead of typing; whisper.cpp transcribes locally, no audio leaves the machine.
Run any of these with --dry-run first to see the model's plan and the tool calls it intends to fire, before letting it touch your machine.
Two run modes, one consistent UX:
hands run "open chrome" --voice
│
├── Input ─────────────────────────────
│ │
│ ├── --voice OFF: readline (keyboard)
│ └── --voice ON: mic → whisper.cpp → text
│
├── Claude Login (default, $0/task on Claude Max)
│ │
│ ├── Spawns claude CLI (stream-json event feed)
│ ├── --append-system-prompt (OS-aware computer control agent)
│ ├── --mcp-config (screenshot tool)
│ ├── --settings (PreToolUse hook → bash hard-block list enforced)
│ ├── Claude uses built-in bash → OS-native shell
│ │ (PowerShell / open+osascript / xdotool|ydotool)
│ ├── Every tool call → live action line + ~/.hands/audit.jsonl
│ └── Interactive loop: task → "What next?" → --resume same session
│ (hands run --continue picks it back up after exit/reboot)
│
└── SDK / API Key (per-token unless routed through dario)
│
├── Anthropic SDK direct (or dario-proxied via ANTHROPIC_BASE_URL)
├── computer_20251124 + bash + text_editor + read_page + find_files tools
├── Single-run with cost summary
└── Every tool call appended to ~/.hands/audit.jsonl
The system prompt branches on process.platform and ships matching examples for the detected OS. Both modes run the model on the host — hands does not relay, proxy, or upload your screen anywhere except the LLM endpoint you configured.
As of v0.5.0, SDK mode implements the full computer_20251124 action set — including zoom (full-resolution region capture, so small text is actually legible), drag, triple-click, hold_key, wait, horizontal scroll, and modifier clicks — across all three platforms, with action-set parity pinned in tests.
As of v0.6.0, Claude Login mode parses the claude child's stream-json event feed: live action lines show the real tool calls, every call is audit-logged, the bash hard-block list is enforced in-child via a PreToolUse hook (it fires even under --dangerously-skip-permissions), and follow-up tasks resume the same conversation — including across reboots with hands run --continue.
Uses your existing Claude Max subscription. Zero per-token cost.
npm i -g @anthropic-ai/claude-code
claude auth login
hands auth
# Select "Claude Login"Claude Login mode spawns the claude CLI as a child process and reads its stream-json event feed — every tool invocation shows up as a live action line and lands in ~/.hands/audit.jsonl (since v0.6.0). The child executes the tools itself; hands observes and enforces the bash hard-block list via a PreToolUse hook. --dry-run still forces SDK mode — execution can't be stubbed inside the child.
Paste an Anthropic API key. Pay per token (or zero if routed through dario — see below).
hands auth
# Select "API Key" → paste your sk-ant-... keyHeads-up: SDK mode uses the computer-use beta which charges per token including screenshots. A single "open notepad" task can run several dollars at direct API rates. Prefer Claude Login or SDK + dario.
If you're running dario locally, hands' SDK-mode calls auto-route through it — including the computer-use beta — so they bill against your Claude Max subscription instead of per-token API overage. When no key is stored in ~/.hands/config.json, hands defers to the environment — the Anthropic SDK reads ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY itself, so there's no hands-side config. (hands auth also accepts non-sk-ant- keys with a note, for storing a dario/proxy key directly.)
# in whatever shell starts hands:
export ANTHROPIC_BASE_URL=http://localhost:3456
export ANTHROPIC_API_KEY=dario # or your DARIO_API_KEY if set
dario proxy # keep this running
hands run "open notepad"Verify routing with hands doctor (reports the effective base URL) or by watching dario proxy --verbose while hands runs. Claude Login mode spawns the claude CLI directly — env-routing only matters for SDK mode.
hands is a high-trust tool: the agent has shell, keyboard, mouse, and screenshot access on your machine, gated only by your auth choice and the operating recommendations below. Treat it accordingly.
- Prompt injection. A web page, an email, a PDF the agent reads can carry instructions Claude wasn't supposed to follow. The agent's bias toward shell over screenshot-click loops narrows this surface — typed text from a webpage rarely flows back into a
Start-Processcall — but does not eliminate it. Mitigations: review--dry-runbefore trusting a new task class; keep destructive operations to specific files / folders rather than recursive parents; usehands run "..."for one task at a time rather than open-ended sessions on untrusted material. - Lost machine / shoulder-surfed terminal. API keys live in
~/.hands/config.json(created0600in a0700dir on POSIX; existing installs are repaired on the next config save). A user who can read that file can issue API calls on your account.hands auth --statusshowsMode: API Key (***)— no key material is emitted in user-facing output (CodeQLjs/clear-text-loggingclosed in v0.3.0). - Claude Login mode is observed, not dispatched. The
claudeCLI executes tools inside its own process; hands records what the event stream reports (every shell command, file edit, screenshot request) and the PreToolUse hook denies hard-blocked bash commands in-child. The residual gap: a claude-side bug or a future stream format change degrades to observation loss, not enforcement loss for SDK mode. For dispatch-site control, use SDK mode or--dry-run. - Computer-use beta cost. SDK-mode without dario charges per token including screenshots — every screenshot the model takes adds vision tokens. A few-dollar task is plausible at direct API rates. The shell-first system prompt suppresses unnecessary screenshots, but a task that genuinely needs visual verification will spend.
- Voice transcription. whisper.cpp runs entirely local — no audio leaves the machine. Recordings are written to a temp file during transcription and unlinked immediately after. SoX / arecord are invoked via
execFilewith argv arrays (not shell strings) so input filenames can't be injected.
-
The bash hard-block list is enforced in Claude Login mode via a PreToolUse hook injected into the claude child — hooks fire and deny even under
--dangerously-skip-permissions. Blocked attempts are audit-logged (v0.6.0). -
Claude Login mode gained a full audit trail from the stream-json event feed; entries carry
mode: 'cli'and the same secret scrubbing as SDK entries (v0.6.0). -
The SDK-mode text editor no longer shells out — closed a command-injection path where a model-supplied file path could carry shell metacharacters past the guardrail engine (v0.4.2).
-
read_pagerefuses private/internal targets — loopback, RFC-1918, link-local, cloud-metadata ranges — re-validating on every redirect hop (SSRF guard against prompt-injected pages, v0.4.3). Deliberate internal reads:HANDS_ALLOW_PRIVATE_URLS=1. -
Guardrail bypass gaps closed:
rm -rf /*,rm -rf /., andrm -rf C:\*are blocked alongsiderm -rf /, andhands audit replay --executeruns the samecheckCommandgate as live execution (v0.4.3). -
The audit log scrubs recognizable secrets (
sk-ant-…, GitHub/Slack/AWS tokens, JWTs,Bearerheaders,password=…assignments) before entries are written (v0.5.0). -
Claude Login mode works on Windows npm installs — the
claude.cmdshim is resolved to the real binary and spawned shell-free, so prompt text is never re-parsed by cmd.exe (v0.4.3).
- Review
--dry-runfor anything you don't trust by reflex. SDK-mode--dry-runruns the full agent loop with every tool call audit-logged but stubbed — no shell fires, no keys press, no mouse moves. Read~/.hands/audit.jsonlafter; reopen for real if it looks right. - Keep destructive operations targeted.
hands run "delete files in ~/Downloads"is a safer prompt thanhands run "clean up my computer". The narrower the scope of the prompt, the narrower the agent's reach for failure modes. - Use
--dry-runwhen you want a plan before any execution. Both modes audit-log every tool call now; what dry-run adds is stubbed execution — the full agent loop with nothing firing on the host. It forces SDK mode (needs an API key or dario). - Don't run hands as root / Administrator. The agent's shell access is exactly your shell access. Running as root makes
rm -rf /a one-prompt foot-gun the guardrails won't necessarily catch. - Rotate API keys after suspected exposure. If your dev machine is compromised or borrowed, treat the API key in
~/.hands/config.jsonas exposed. Revoke at console.anthropic.com, thenhands authto install the new one. - Review the audit log periodically.
tail -100 ~/.hands/audit.jsonlafter a session that touched anything important.
Found a security issue? Email security@askalf.org — don't open a public issue. See SECURITY.md.
The system prompt also includes hard-block guidance for clearly destructive patterns the agent will refuse to execute:
- Recursive root deletion (
rm -rf /,Remove-Item -Recurse C:\, etc.) - Disk formatting / partition modification
- Registry destruction (Windows) /
defaults deletechains (macOS) //etcoverwrites (Linux) - Boot config changes
- Firewall disabling
- User account creation
- Ransomware-pattern encryption sweeps
Beyond the prompt guidance, the hard-block patterns above are enforced in both modes: SDK mode gates them at the dispatch site, and Claude Login mode denies them in-child via a PreToolUse hook that fires even under --dangerously-skip-permissions (v0.6.0). This is still not sandboxing — the block list is pattern-based and finite, and a command outside it executes with your full shell access. The strongest guardrail is your prompt.
Pre-1.0. Honest about what doesn't work yet:
- Cross-platform LLM behavior is empirical. hands ships OS-aware system prompts (PowerShell /
open+osascript/xdotool/ydotool; since v0.3.0) but the actual model behavior under the macOS and Linux blocks is not yet smoke-tested against real Claude calls. Expect the first non-Windows run to surface rough edges in the example commands. Report what didn't work and we'll tune the prompts. Windows is well-exercised, and since v0.4.3 the full test suite also runs onwindows-latestin CI. - Wayland input synthesis is restricted by the protocol.
xdotoolcannot type into Wayland clients — Wayland blocks input synthesis from arbitrary clients by design.ydotoolworks but requires theydotoolddaemon running with appropriate uinput permissions.hands doctorreports whether the daemon is reachable. - macOS Accessibility permission on first run.
osascript -e 'tell application "System Events" to keystroke "..."'requires Accessibility permission for the parent process. First run will trigger a system prompt; users have to allow it once before keystroke automation works. - Claude Login audit coverage is observational. hands records what the claude child's event stream reports; the child executes the tools. If a future claude version changes the stream format, unknown events are ignored by design — a run keeps working but could under-report until hands catches up. SDK mode logs at the dispatch site and has no such dependency.
- SDK mode is Anthropic-only today. The computer-use beta (
computer_20251124) is an Anthropic API; OpenAI / Gemini have no native equivalent. dario routing helps for non-computer-use traffic but does not bridge this. Provider abstraction is still on the roadmap; not shipped as of v0.5.0. --dry-rundoes not prevent every side effect of the planning step. If the model decides to call a tool that involves an HTTP request as part of "planning what to do," that request still fires (in SDK mode--dry-runonly stubs the executor, not the model's own reads). Practically rare; flagging in case it matters.- Voice mode requires SoX (Windows / macOS) or arecord (Linux). Whisper binary is downloaded by
hands voice-setup; recording dependency is a separate install — doctor reports it. - Session resume is Claude Login mode only.
hands run --continueresumes the most recent conversation across exits and reboots (the claude CLI holds the session store). SDK mode is still single-run: exit and the conversation is gone. Also note claude scopes sessions to the directory they started in — hands handles this by saving and reusing the original cwd.
| OS | Status | Computer Control | Notes |
|---|---|---|---|
| Windows 10 / 11 | Best-supported | PowerShell (pre-installed) | The OS hands was developed and exercised on |
| macOS 12+ | Cross-platform smoke pending | open + AppleScript / osascript |
Accessibility permission required for keystrokes; install cliclick (brew install cliclick) for hands SDK-mode mouse / keyboard |
| Linux (X11) | Cross-platform smoke pending | xdotool + scrot |
apt install xdotool scrot (Debian/Ubuntu); equivalents on other distros |
| Linux (Wayland) | Cross-platform smoke pending | ydotool + grim |
ydotoold daemon required for input; apt install ydotool grim |
Voice control needs SoX (Windows / macOS via choco install sox / brew install sox) or arecord (Linux, usually pre-installed).
Run hands doctor to verify your setup — reports every dependency state with install hints for what's missing.
hands init # one-shot interactive setup; safe to re-run
hands auth # change auth mode (Claude Login ↔ API Key)
hands auth --status # show current auth mode (no key material emitted)
hands voice-setup # download whisper.cpp + speech model for --voicehands run "<prompt>" # interactive computer control session
hands run --continue # resume the most recent session (works after exit/reboot)
hands run -c "<follow-up>" # resume and immediately run a follow-up task
hands run --once "<task>" # one task, no interactive loop — for scripts and cron
hands run --json "<task>" # one JSON result line on stdout (implies --once)
hands run "<prompt>" --voice # voice input via local whisper
hands run "<prompt>" --dry-run # plan + audit-log without executing (SDK mode)
hands run "<prompt>" -m claude-opus-4-6 # override model (this run only)
hands run "<prompt>" -b 10.00 # SDK budget cap (USD); default $5.00
hands run "<prompt>" -t 100 # max turns per task; default 50
hands run "<prompt>" --persona thorough # named system-prompt override (SDK mode)
hands run "<prompt>" --no-dario # skip the dario auto-detect probe at startup--once + --json + -c turn hands into a composable building block — cron jobs, CI steps, and orchestrators get spawn → parse → branch semantics:
hands run --once "open the spreadsheet and add June's numbers"
hands run -c --once "now export it as PDF to ~/reports" # same conversation, next step
result=$(hands run --json "check if the nightly build passed")
echo "$result" | jq -r .resultThe JSON line is { ok, mode, result, turns, costUsd, tokens, sessionId? } — stable field set, fields get added but never renamed. Failures emit { ok: false, error } so a parser never sees pretty text. Exit codes: 0 task completed, 1 setup/config error, 2 task didn't complete cleanly.
hands audit list --last 20 # recent tool calls (both modes) with replay index
hands audit list --mode cli --tool bash # filter: Claude Login bash calls only
hands audit list --failed --json # everything that went wrong, as JSON
hands audit show <index> # full JSON detail for one entry
hands audit replay <index> # dry-run replay of one tool call; --execute fires ithands doctor # aggregated health report; paste into bug reports
hands doctor --json # structured for CI / scripts
hands doctor --skip-dario # skip the dario reachability probe
hands check # platform-deps subset of doctor (legacy; doctor covers everything)
hands config # view config
hands config --model claude-opus-4-6 --turns 100 # update fieldshands run --dry-run is the no-side-effects path: the full agent loop with every tool call audit-logged but stubbed. Useful for first runs against new task classes or for reviewing a model's plan before committing. Forces SDK mode if you're on Claude Login (execution can't be stubbed inside the claude child).
src/
cli.ts # Commander entry, command dispatch
init.ts # interactive first-run wizard
auth.ts # Claude Login / API Key flow
run.ts # mode picker (CLI vs SDK), --dry-run gating
cli-mode.ts # Claude Login: spawns `claude` CLI, MCP server, interactive loop, --resume
cli-stream.ts # stream-json parser: action lines, audit entries, session id
hook-pre-tool-use.ts # PreToolUse hook — enforces the bash hard-block list in-child
sdk-mode.ts # SDK mode: Anthropic SDK, computer-use beta, audit, dry-run
mcp-server.ts # MCP server exposing the screenshot tool to the `claude` CLI
doctor.ts # health report
dario-detect.ts # localhost:3456 probe + auto-routing at startup
personas.ts # named system-prompt overrides (--persona)
audit-replay.ts # hands audit list / show / replay
system-prompt.ts # OS-aware system-prompt builders (win32 / darwin / linux)
platform/ # screenshot / mouse / keyboard / screen-info per platform + claude CLI resolver
tools/ # read_page (fetch + HTML cleanup) and find_files (list / grep in one turn)
voice/ # whisper setup + audio recorder
util/
config.ts # ~/.hands/config.json load / save / dir creation
audit.ts # ~/.hands/audit.jsonl append / read / rotate (both modes)
session-state.ts# ~/.hands/last-session.json — pointer behind `hands run --continue`
guardrails.ts # GUARDRAIL_PROMPT + heuristic checkCommand
redact.ts # secret scrubbing before audit entries are written
url-safety.ts # SSRF guard for read_page
page-cleanup.ts # HTML cleanup pipeline for read_page
cli-overrides.ts# per-run -m / -b / -t validation
output.ts # chalked stdout helpers
Six runtime dependencies — @anthropic-ai/sdk, @modelcontextprotocol/sdk, commander, chalk, inquirer, cheerio. Resist adding more: the security story rests on the surface staying small enough to audit.
Stored at ~/.hands/config.json, dir auto-created with 0700 perms on POSIX. All fields can also be set via env vars or hands config <flag>.
{
"authMode": "oauth",
"model": "claude-sonnet-4-6",
"maxBudgetUsd": 5.00,
"maxTurns": 50,
"voice": {
"whisperModel": "base",
"silenceThresholdDb": -40,
"silenceDurationMs": 1500
}
}| Field | Type | Default | Description |
|---|---|---|---|
authMode |
"oauth" | "api_key" |
"oauth" |
Set by hands auth. OAuth = Claude Login (zero cost). |
apiKey |
string | — | Anthropic API key when authMode === "api_key". Never emitted in user-facing output. |
model |
string | claude-sonnet-4-6 |
Model ID passed to the API. |
maxBudgetUsd |
number | 5.00 |
SDK-mode budget cap. Run halts cleanly if exceeded. |
maxTurns |
number | 50 |
Hard ceiling on turns per task. |
voice.whisperModel |
string | "base" |
whisper.cpp model size. tiny / base / small. |
voice.silenceThresholdDb |
number | -40 |
dB below which audio counts as silence. |
voice.silenceDurationMs |
number | 1500 |
Silence duration that ends recording. |
Env wins over config: ANTHROPIC_BASE_URL, ANTHROPIC_API_KEY (for SDK + dario routing), plus standard Node env handled by the SDK.
hands doctor says my platform tool is missing. Doctor's install hint covers the common case for each OS. After installing, re-run hands doctor to confirm.
Claude opens a screenshot loop instead of using the shell. The system prompt branches on process.platform. If the model is on the wrong branch (e.g. WSL reporting as linux but you wanted PowerShell guidance), this would explain it. Run node -e "console.log(process.platform)" to confirm what hands sees. Override is not exposed today — file an issue if you hit a real edge.
Wayland keystrokes don't land. ydotool requires the ydotoold daemon. Check with systemctl --user status ydotoold (or your init system's equivalent). Some distros need uinput group membership for the calling user.
macOS osascript prompts for permission on every run. First run only — once you grant Accessibility permission in System Settings → Privacy & Security → Accessibility for the parent process (your terminal app), subsequent runs reuse it.
hands auth --status shows Mode: API Key (***) — where did the partial key go? Key substrings were removed from all user-facing output in v0.3.0, closing a CodeQL js/clear-text-logging finding (matches dario v3.7.2+). The key is still in ~/.hands/config.json. Use cat ~/.hands/config.json if you need to verify locally.
My SDK-mode session burned $X — was that supposed to happen? SDK mode without dario routing pays per token at the computer-use beta rates. Screenshots are the largest input-token contributor. Mitigate: (1) route through dario for $0 against Claude Max, (2) prefer Claude Login mode, (3) use --dry-run to plan first.
The agent didn't roll back a destructive operation. It can't — once a Bash / Write tool call fires, the action is real. The audit log shows what happened; the agent is not a transactional system.
dario routing isn't picking up my SDK calls. Check hands doctor — it reports the effective base URL and probes dario's /health. If the URL is unset, the SDK falls back to api.anthropic.com direct. Check that ANTHROPIC_BASE_URL is set in the same shell that launches hands run.
I can't reproduce a bug. hands doctor --json > doctor.json and attach it to your issue along with the failing prompt and the audit log tail (tail -50 ~/.hands/audit.jsonl).
| Signal | Status |
|---|---|
| Runtime dependencies | Six — @anthropic-ai/sdk, @modelcontextprotocol/sdk, commander, chalk, inquirer, cheerio. Audited per the security policy. |
| Credentials | Stored locally in ~/.hands/config.json. Dir auto-set to 0700 on POSIX; doctor warns if perms drift. Key material never appears in stdout, error messages, audit log, or doctor output. |
| Network scope | Only your configured LLM endpoint (Anthropic or whatever dario routes to) and, in voice-setup, the GitHub mirror that hosts whisper.cpp binaries. No telemetry, no analytics, no phone-home. Verify with lsof -i during a run. |
| Audit log | Local-only at ~/.hands/audit.jsonl. Both run modes; secrets scrubbed before write. Rotates at 10 MB; two files total. |
| Code-scanning | CodeQL runs on every PR + weekly schedule. 0 open alerts as of v0.5.0. |
| Branch protection | main requires actionlint, analyze, build (20), build (22) checks; force-push and deletion blocked; conversation resolution required. |
| Release attestation | Every npm publish carries a SLSA provenance attestation generated by GitHub Actions. Verifiable via npm audit signatures @askalf/hands. |
| Telemetry | None. |
| License | MIT |
| Affiliation | Independent, unofficial, third-party. Not affiliated with Anthropic, OpenAI, GitHub, Discord, or any other company mentioned. |
- Bugs / feature requests — open an issue. Include
hands doctor --jsonoutput and the failing prompt. - Security issues — email security@askalf.org, not a public issue. See SECURITY.md.
- PRs welcome. See CONTRIBUTING.md for build / test flow. Code style matches dario / agent / deepdive: small TypeScript, pure decision functions where possible,
strict: true, noany, no unused imports.
Run npm install && npm run build && npm test to get a working dev tree (204 tests across 24 test files).
hands is part of the askalf ecosystem — a self-hosted AI workforce platform, now in early access.
MIT
| Project | What it does |
|---|---|
| agent | Device connector. Registers any machine with your askalf forge so the fleet can run shell or Claude Code tasks on it. |
| browser-bridge | Stealth headless Chromium in a container. CDP on 9222 — Playwright/Puppeteer/MCP-compatible. |
| claude-sync | Cross-machine Claude Code session sync. |
| dario | Local LLM router. Use your Claude Max/Pro subscription as an API. |
| deepdive | Local research agent. Plan → search → fetch → extract → synthesize. Cited answers. |
| git-providers | Unified GitHub + GitLab + Bitbucket Cloud REST clients behind one GitProvider interface. Plus a 44-entry api-key-provider taxonomy. |
| install-kit | curl-pipe-bash template for self-hosted Docker apps. |
| pgflex | One Postgres API. Two modes (real PG ↔ PGlite WASM). |
| askalf platform | Self-hosted AI workforce platform — now in early access. |
| redisflex | One Redis API. Two modes (ioredis ↔ in-process). |
This is one of the open-source building blocks from Sprayberry Labs — an independent studio (Atlanta, GA) that ships bespoke software and fixed-price code & security audits, delivered with the AI workforce these tools are part of.
Got a codebase that needs an expert read? → Scan a repo — free mini-audit, or see the $1,500 fixed-price Audit and build Sprints. · sprayberrylabs.com · hello@sprayberrylabs.com