Let the agent work. Keep the receipts.

An open-source coding agent on your machine. Watch every tool call and diff as it happens, and what it cost.

OpenAgentd on the desktop, in the linkly project: the agent's tool calls and its reply on the left, the uncommitted Git diff on the right
A real session in the linkly demo project, at desktop and phone size, with its receipt.
Download for macOS
curl -fsSL https://openagentd.dev/install.sh | sh
Use it from your phone

Homebrew: brew install --cask lthoangg/tap/openagentdRead the script

Use the models you already pay for. Sign in with your GitHub Copilot, OpenAI Codex, or Grok Build subscription, or use your own keys.

  • Anthropic
  • Google Gemini
  • GitHub Copilot
  • OpenRouter
  • Ollama
  • DeepSeek
  • NVIDIA
  • OpenCode

18 built-in providers, including OpenAI, AWS Bedrock, and xAIConnect a model

Nothing happens off-screen

A real session, replayed: the prompt, every tool call with its timing, the failing test, the fix, and the bill.

How it works

shopfrontcheck_stock duplicate SKU cart lines fix

check_stock only looks at one cart line at a time, so two lines with the same SKU can both pass even when the total is over stock. Fix it, add a test that fails before the fix, and run pytest.

Grep: Searching check_stock (*.py)326mspattern: check_stock
Glob: Finding **/*.py286mspattern: **/*.py
Read: inventory.py375mssrc/shopfront/inventory.py
Read: test_inventory.py68mstests/test_inventory.py
Read: cart.py51mssrc/shopfront/cart.py

The cause is clear: check_stock compares each line against stock independently, so repeated SKUs never add up. I'll add the failing test first, confirm it fails, then fix.

Patch: test_inventory.py+111.8stest_check_stock_sums_quantities_across_lines_with_the_same_sku
Shell: Confirm new test fails before fix893ms1 failed, 2 passedDID NOT RAISE OutOfStock

The test fails as expected. Now the fix: aggregate requested quantity per SKU before comparing.

Patch: inventory.py+8-51.5ssrc/shopfront/inventory.py
Shell: Run full test suite560ms10 passedpytest -q

check_stock now sums quantities per SKU before comparing against stock, so two lines with the same SKU can no longer both pass when their combined quantity exceeds what's available.

claude-haiku-5-511s$0.0035

GitChanges (2)

No changes yet

src/shopfront/inventory.py+7-4

11 lines unchanged

12

13

14def check_stock(cart: Cart, stock: Mapping[str, int]) -> None:

15 """Raise OutOfStock for the first line item the warehouse cannot fill."""

15 """Raise OutOfStock for the first SKU whose total cart quantity exceeds stock."""

16 requested: dict[str, int] = {}

17 for item in cart.items:

17 available = stock.get(item.sku, 0)

18 if item.quantity > available:

19 raise OutOfStock(item.sku, item.quantity, available)

18 requested[item.sku] = requested.get(item.sku, 0) + item.quantity

19 for sku, quantity in requested.items():

20 available = stock.get(sku, 0)

21 if quantity > available:

22 raise OutOfStock(sku, quantity, available)

tests/test_inventory.py+11

Made for real repositories

Every feature has its own page, with diagrams and the limits written down.

All features
  • Steer the agent

    Step in before, during, and after a turn, without starting over.

  • Agent teams

    The lead agent hands work to helper agents that run in the background, then collects their reports.

  • Web preview

    The agent opens your dev server, reads its console, and clicks through the page.

  • Scheduler

    Run prompts once, on an interval, or on cron, and update tasks in place.

  • Denied paths

    Block paths such as .env files from the agent's file tools with glob patterns.

  • MCP servers and skills

    Connect Model Context Protocol servers and add skills the agent loads when it needs them.

Away from your desk

The iOS and Android apps connect to OpenAgentd on your computer, so the work still happens there.

Download on the App StoreAndroid APK

Remote controlBeta

Remote control lets your phone reach your computers away from home, end-to-end encrypted, and notifies you on a locked phone when agents finish.

  1. Sign in with Google. OpenAgentd reads only your email address.
  2. Sign in on your phone. Same Google account, under Settings > Remote control.
  3. Add your other devices. Open OpenAgentd on the new one, then tap Scan on your phone.

Get startedAbout Remote control

Don't take our word for it. Read the code.

OpenAgentd is open source. Hand the question to your agent, or open the files that answer it.

Questions

All questions
Does my code leave my machine?

Your prompts, and the files the agent reads for them, go to the model provider you choose. Sessions, telemetry, and settings stay on your computer. With a local model through Ollama, nothing leaves it.

What does it cost?

OpenAgentd is free and open source under Apache 2.0. You pay your model provider for what you use, or nothing with local models.

Do I need an account?

No. OpenAgentd works fully without one, on your own network or through your own tunnel (an HTTPS proxy or VPN). Remote control, which lets your phone reach your computers away from home, uses an optional OpenAgentd account you sign in to with Google. It is in beta and open to any Google account.

Can I use it from my phone?

Yes. The iOS and Android apps connect to OpenAgentd on your computer, so the work still happens there. In the desktop app, open Settings > Switch computer, turn on Allow devices on your network to connect, and scan its QR code with the phone, or enter the address and access key it shows. Or run the CLI server with an access key. With Remote control (optional, in beta), the iPhone also reaches your computers away from home.

Start your first session

Free and open source, on macOS, Windows, Linux, iOS, and Android.

Download for macOS
curl -fsSL https://openagentd.dev/install.sh | sh

Questions? Talk to usDiscordFacebook group@lthoangg