asynq-agentd
Open-source · Local-first · Apache 2.0

The local runtime for your coding agents.

asynq-agentd is a small daemon and CLI that runs Claude Code, Codex, and future agents on your own machine. It handles sessions, approvals, recent-work continuity, and exposes a clean REST / SSE / WebSocket contract so you can build whatever operator surface you want on top.

● Claude Code ● Codex ● REST + SSE + WebSocket ● macOS · Linux · Windows

Install

One line. Any machine.

macOS · Linux
curl -fsSL https://agentd.asynq.org/install.sh | sh
Windows
irm https://agentd.asynq.org/install.ps1 | iex

The installer clones the repo into a temp directory, builds from source, and sets up Tailscale-aware pairing. No background telemetry.

Buddy on iPhone requires an https://...ts.net daemon URL for pairing and live updates.

In Tailscale Admin Console, go to DNS → HTTPS Certificates → Enable HTTPS.

What it does

More than a remote control.

agentd sits below the UI layer. It is the runtime, contract, and operator layer for local coding agents.

Session runtime

Runs Claude Code and Codex locally. Manages tasks, dependencies, approvals, and restart recovery out of the box.

Recent-work memory

Indexes recent sessions from Claude and Codex so you can pick up where you left off without re-prompting.

Clean contract

REST, SSE, and WebSocket endpoints for overview, attention-required, and continue-working cards. Build your own UI on top.

CLI-first operator

asynq-agentctl inspects agents, sessions, approvals, pairing, and dashboard cards without dropping to raw curl.

Local-first by default

Your code and prompts never leave the machine. Pairing happens over your own tailnet, not through a hosted relay.

Buddy-compatible

The same contract that powers asynq-agentctl powers Asynq Buddy. Ship your own surface or use the mobile app.

Built on top of agentd

Prefer a polished mobile app? Meet Buddy.

Asynq Buddy is the mobile operator experience built on this runtime. Review, approve, and steer your local agents from the couch, the café, or the subway - without going back to your desk.

  • See every session on your phone in real time
  • One-tap approvals when an agent stalls
  • Take over from the phone, keep the context
  • Pairs over your own tailnet, nothing leaves your Mac

Public alpha · Free while it lasts

9:41 ●●●
Overview
Asynq Buddy Connected via Tailscale
2 runtimes
Detected: Claude Code, Codex
10
Sessions
!
2
Reviews
1
Working
Attention required
refactor/auth-flow Claude · 2m ago
Approve dropping the legacy JWT helper.

Docs

API contract →

HTTP, SSE, and WebSocket endpoints. Enough to build dashboards or custom operator tooling on top.

Docs

Usage examples →

How to inspect agents, sessions, approvals, pairing, and recent work from the CLI.

Docs

Architecture →

How the daemon, CLI, session runtime, and contract layer fit together.