Skip to main content

AgentOS — The AI Agent That Trades for You, on Your Machine, with Your Keys

AgentOS — The AI agent that trades for you. Your machine, your keys.

Local-first agentic trading.
Your agent swaps, bridges, DCAs, and sets stop-losses on Base and Robinhood Chain.
The keys stay in an encrypted vault on your machine, and guardrails bound every order.

CI Website Follow @useAgentOS on X GitHub release Python 3.12+ Apache-2.0 License

Download AgentOS for Mac →  ·  Windows and Linux  ·  Trading guide


What it does

AgentOS is an open-source AI agent that holds its own EVM wallets and trades through the AgentOS DEX. Ask it in chat, or run the same order yourself from the desktop Trading Desk or the CLI:

agentos trade swap --chain base --in ETH --out USDC --usd 5                # swap $5 of ETH
agentos trade dca create <token> --usd 20 --every 1w --cap 500              # buy $20 a week, stop at $500
agentos trade trigger create <token> --below 10% --sell --pct 50            # sell half if it drops 10%
agentos trade bridge quote --chain base --to-chain robinhood --token ETH --usd 20
  • Swaps and sends on Base and Robinhood Chain, quoted across 0x and Uniswap.
  • Bridges between Base and Robinhood Chain, through whichever of Relay or Across delivers more.
  • DCA mandates, price triggers, and take-profit/stop-loss brackets that run on a schedule, without you watching.
  • Uniswap V4 liquidity: read pools and ranges, add, collect, and remove positions.
  • A ledger that tracks cost basis and PnL for every wallet.

AgentOS 2026.11.28 is the current release. See the trading guide for the full feature set and the CLI reference for every command.


Your keys, your limits

  • Keys never leave your machine. Wallets live in a password-encrypted vault on your disk. The AgentOS DEX returns unsigned calldata; signing happens locally. The service holds no key and never broadcasts.
  • The gateway enforces the limits, not the model. A prompt cannot talk its way past them.
  • You approve what matters. Larger orders wait for you in the desktop app or the CLI.
Guardrail Default What happens
Per-order threshold 100 USD The order waits for your approval
Daily cap per wallet 1,000 USD The order is rejected
Price impact 5 % The order waits for your approval
Bridges and liquidity changes from an agent always The order waits for your approval

Details: guardrails · approvals and permissions · security policy.


AgentOS DEX

AgentOS DEX is where AI agents trade onchain. It gives agents a DEX to turn decisions into onchain trades: swap on Base, Robinhood Chain, and Arbitrum One by form, by prompt in the AgentOS Terminal, or over a keyless API. It is built into the AgentOS Desktop App from the first launch, and the trading features of AgentOS run through it: swaps, bridges, DCA mandates, price triggers, and brackets.

Through AgentOS DEX Fee How you see it
Swap 20 bps (0.20 %) Shown in every quote, taken onchain by the AgentOS Router
Bridge (Base ⇄ Robinhood Chain) 5 bps (0.05 %) Shown in the bridge quote

Network gas and the underlying bridge's own costs are paid as usual.

Everything else is free. AgentOS is Apache-2.0 licensed, and you bring your own model provider key. The on-device Pilot Router sends each message to the cheapest model that can handle it, so easy turns do not pay for a large model.


Also a full agent

Trading runs on a general-purpose agent, so the same assistant can research a token, schedule a report, and message you the result.

Capability What it does
Pilot Router Classifies each message and picks one of four tiers. The default is a small local model: it runs offline, and your message does not leave your computer for this choice. You can switch to Jev, typesafe.ai's hosted classifier (experimental; needs TYPESAFE_API_KEY and sends the current turn text to typesafe.ai). See docs/features/agentos-router.md.
20+ LLM providers OpenRouter (default), the Bankr LLM Gateway, OpenCAP, Surplus Intelligence, OpenAI, Anthropic, Ollama, DeepSeek, Gemini, Qwen/DashScope, and more, with fallbacks. No code or config rewrite to switch.
50+ skills and MCP Coding, GitHub, deep research, market data, office files, and more, loaded only when a task needs them. AgentOS uses MCP tools and can serve as one.
Local memory Markdown memory that persists between sessions, searchable by keyword and by meaning with an on-device embedding model.
Sandbox Three safety levels. Bubblewrap on Linux and Seatbelt on macOS isolate tool runs; Windows has no OS sandbox yet.
Every surface The AgentOS App, Web UI, CLI, Telegram, Slack, Discord, and Email share one gateway and one turn loop.
Sessions and scheduling Durable sessions in SQLite, subagents, cron jobs, human approvals, and per-turn cost tracking.

AgentOS architecture: the Web UI, CLI, chat channels, and the AgentOS App for macOS connect to the gateway (sessions, approvals, scheduler), which drives the Pilot Router (OpenRouter, Bankr LLM Gateway, OpenAI, Anthropic), the sandboxed tools layer, and the wallet and trading engine (Base, Robinhood Chain)

More: feature overview · documentation index · product guide.


Installation

Path For Needs
AgentOS for Mac macOS users macOS 13 or newer
Windows portable Windows users Nothing; Python is bundled
Quick terminal install Any OS uv (installed below)
From source Latest main, contributors Git, Git LFS, Node.js 22+, uv

The install guide covers prerequisites, installer options, Docker, and public network binding.

AgentOS for Mac

Download the dmg from the latest release: AgentOS-<version>-arm64.dmg for Apple silicon, AgentOS-<version>.dmg for Intel. Drag it into Applications and open it. The app is signed and notarized, installs the engine, starts the gateway, and updates itself. See docs/desktop-app.md for a tour.

Windows portable

Download https://github.com/use-agent-os/agent-os/releases/latest/download/AgentOS-windows-x64-portable.zip, unzip it into a folder you can write to, and run Start AgentOS.cmd. Preview builds are not signed yet; the install guide explains the SmartScreen prompt and the alternatives.

Quick terminal install

1. Install uv. Skip this if uv --version already works.

Linux / macOS:

curl -LsSf https://astral.sh/uv/install.sh | sh
. "$HOME/.local/bin/env"

Windows PowerShell:

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
$env:Path = "$env:USERPROFILE\.local\bin;" + $env:Path

2. Install and run AgentOS.

uv tool install --python 3.12 "use-agent-os[recommended]"
agentos onboard
agentos gateway run

Then open http://127.0.0.1:18791/control/. If agentos is not found, open a new terminal window.

To pin one exact version, add ==<version> — for example uv tool install --python 3.12 "use-agent-os[recommended]==2026.11.28" — or use the release wheel directly: https://github.com/use-agent-os/agent-os/releases/download/v2026.11.28/use_agent_os-2026.11.28-py3-none-any.whl.

From source

git lfs install
git clone https://github.com/use-agent-os/agent-os.git
cd agent-os
git lfs pull --include="src/agentos/memory/models/**"
git lfs pull --include="src/agentos/agentos_router/models/**"
bash scripts/install_source.sh

On Windows, run powershell -ExecutionPolicy Bypass -File ./scripts/install_source.ps1 instead of the last line. To change the code, see Develop from source.

Upgrade

agentos upgrade

This snapshots your config and state, installs the latest release, restarts the gateway, and verifies it runs the new version. Your data in ~/.agentos/ is not touched. Source installs re-run bash scripts/install_source.sh instead. See the upgrade reference for flags, manual upgrade commands, and version-skew rules.

Coming from OpenClaw or Hermes Agent?

Run a dry run first, then apply:

agentos migrate openclaw --json
agentos migrate openclaw --apply

Use hermes in place of openclaw, or agentos migrate --source openclaw,hermes --apply for both. See MIGRATION.md.


Configuration

agentos onboard                    # first-run wizard: provider, router, channels, search
agentos configure provider         # change one section later
agentos gateway start --json       # run in the background at 127.0.0.1:18791
agentos chat                       # interactive chat in your terminal
agentos doctor                     # check providers, memory, sandbox, router, channels

For SSH or CI, pass the name of the environment variable that holds your key, not the key itself:

agentos onboard --provider openrouter --api-key-env OPENROUTER_API_KEY

AgentOS reads the first config file it finds: AGENTOS_GATEWAY_CONFIG_PATH → ./agentos.toml → ~/.agentos/config.toml → built-in defaults. Secrets set as environment variables always win. See docs/configuration.md, agentos.toml.example, and docs/troubleshooting.md.


Credits

AgentOS is built on OpenSquilla (Apache-2.0) and influenced by OpenClaw and Hermes Agent. Other tools and code used inside AgentOS are credited in THIRD_PARTY_NOTICES.md and the root NOTICE file.

Contributing

We welcome bug reports, ideas, docs, new providers, channels, skills, and core work. See CONTRIBUTING.md, then open an issue or pull request on GitHub.

Code of Conduct · Security · Support · License (Apache-2.0)

Metadata

Release files for use-agent-os 2026.11.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for use-agent-os 2026.11.28
File Size Uploaded Provenance Actions
use_agent_os-2026.11.28.tar.gz 45.1 MB With provenance Details for use_agent_os-2026.11.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for use-agent-os 2026.11.28
File Interpreter ABI Platform Actions
use_agent_os-2026.11.28-py3-none-any.whl Python 3 none any Details for use_agent_os-2026.11.28-py3-none-any.whl

Total release size: 83.9 MB

Release files / use_agent_os-2026.11.28.tar.gz

Download URL use_agent_os-2026.11.28.tar.gz
Size 45.1 MB
Tags Source
SHA-256 checksum
How to use checksums
37e54ec4a38444d0ae725ce4dde000b33474fd3a426429942ffa56ed826c3a90
BLAKE2b-256 checksum
How to use checksums
7e85993bcc0d9c869f9b66110719ff1b87a58ef62d976794326f709a79e392ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / use_agent_os-2026.11.28-py3-none-any.whl

Download URL use_agent_os-2026.11.28-py3-none-any.whl
Size 38.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
344a1ef20cb0ca11ff9921fa9b35261480a254091533f6642dcb1ac9501ac662
BLAKE2b-256 checksum
How to use checksums
d58eddc5673ed9c21bfec267ffc1ef6aad3a5a4fd04a5b3c7c469e607d4f19da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for use-agent-os 2026.11.28

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for use_agent_os-2026.11.28.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2026.11.28 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page