Skip to content
cd ..~/abhay/projects/deskaway.md · 3.8K · case study 09 of 09

9 files open · click a tab, or use prev / next at the bottom of the page

// case 09 — Agent platform · 2026

DeskAway.md

Start a task on your Windows desktop from your phone; an agent plans it, and you approve anything that can't be undone.

> In early build: the wire protocol is defined; planner, relay and clients are in progress.

MY ROLESolo: architecture and build
TIMELINESep 2026 — now
TEAMJust me
STACK
PythonTypeScript.NETKotlinJSON SchemaTerraformAWS
deskaway · run #1 · awaiting approval
$ task: "tidy downloads into folders by type"
agent task → ordered checklist
tier how reversible is each step?
WAIT step 4 can't be undone → approval sent to phone
desktop executes · journal records every step
FAIL step 6 failed → replan from step 6
status: early build — protocol defined, rest in progress
$
PIPELINE
1Phone
2Relay
3Planner
4Approval
5Windows host
REPOS8
CLIENTS.NET · Kotlin
STATUSearly
in design
// 01 — context

the problem_

cat problem.md

Computer-use agents usually assume you are sitting in front of the screen. DeskAway is for when you are not: you start a task from your phone, the desktop does the work, and the phone is where you watch it and approve the steps that matter.

That makes trust the product. Every step is classified by how reversible it is, nothing final runs without approval, and a failed step leads to a new plan, not a guess.

## constraints
  • You are away from the desk
  • Final steps need approval
  • One wire contract
  • Four codebases
  • Cloud relay
  • Two-month V1
./my-role.sh --verbose

abhay@os ~ % what did I actually do?

  1. 01Designed the system as eight repositories: protocol, relay, agent, desktop, android, infra, docs and landing page.
  2. 02Defined the wire envelope and connection messages in JSON Schema, with generated Python types.
  3. 03Laid out the agent service: task to checklist, how reversible each step is, and replanning when a step fails.
  4. 04Wrote the threat model and a 50-day V1 implementation plan.

[ ok ] exit 0 · 4 tasks · owner: abhay

// 02 — results

what moved_

Three numbers I'd put on a slide. Measured in production, not in a benchmark I wrote the night before.

REPOS8components in the systemProtocol, relay, agent, desktop, android, infra, docs, landing page.
STATUSearlyprotocol definedWire envelope and connection messages are done.
PLAN50 daysto V1Five phases of ten build days.
// 03 — architecture

how it fits_

The agent is the only part that talks to a model, and it never executes anything itself. The desktop executes; the phone approves.

open architecture.excalidraw — deskaway
PHONE
Android appstart · watch · approve
socket
CLOUD
Relaypairing · sessions
Agentplanning only
steps
DESKTOP
Windows host.NET · executes
Journalevery step
request / write pathresponse / events backschemas are the source of truth
// 04 — key decisions

git blame me_

adr-001.md
CHOSE

One schema repo for the wire contract

REJECTED

Types written in each client

TRADE-OFF

Codegen to set up, but four languages can't drift apart.

adr-002.md
CHOSE

A planner that never executes

REJECTED

One agent that plans and acts

TRADE-OFF

An extra hop, but the component that talks to a model can't touch the machine.

adr-003.md
CHOSE

A reversibility tier per step

REJECTED

Approving every step

TRADE-OFF

Steps must be classified, but you approve only what can't be undone.

// 05 — under the hood

the good bit_

vim deskaway-protocol/schemas/envelope.v1.jsonJSON Schema
1{
2 "$id": "https://deskaway.dev/protocol/schemas/envelope.v1.json",
3 "description": "The envelope is the outside of every message: everything the relay needs to route it without opening the payload.",
4 "$defs": {
5 "uuidV4": {
6 "description": "Enforced by pattern rather than format so every language checks it identically.",
7 "type": "string",
8 "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
9 },
10 "runId": {
11 "description": "The run this message belongs to, or the nil UUID when it belongs to none.",
12 "anyOf": [{ "$ref": "#/$defs/uuidV4" }, { "$ref": "#/$defs/nilUuid" }]
13 }
14 }
15}
NORMAL deskaway-protocol/schemas/envelope.v1.json15 lines · utf-8

The one part that exists today: the wire contract every component speaks. Patterns instead of formats, so TypeScript, Python, C# and Kotlin all check a message the same way.

less lessons.txt

If I built it again, I'd change…

  1. L1Schedule the slow things firstThe plan flags the Windows code-signing certificate (1–3 weeks) as the biggest schedule risk, to order on day 1.
  2. L2Plan the slackThe V1 plan names what gets cut first if the schedule slips.
  3. L3Write the threat model earlyDeciding what must never happen shaped the protocol before the code.

lessons.txt (END) — press q to quit

// 06 — timeline

git log --since_

Sep 2026 — now

git log --reverse --format=milestone deskaway
  1. 01Sep 2026PlanRepo structure and V1 implementation plan.
  2. 02Sep 2026ProtocolWire envelope and connection messages.
  3. 03NowBuildRelay, planner and clients.
cd ~/work./contact — itsabhay@abhay.si