Turn any web app into an API. Chrome extension captures browser traffic, auto-generates schemas, lets AI replay APIs directly. No official API needed.
Turn any web app into an API. Chrome extension captures browser traffic, auto-generates schemas, lets AI replay APIs directly. No official API needed.
Turn any web app into an API. No official API needed. No browser automation.
Neo is a Chrome extension that passively captures every API call your browser makes, learns the patterns, and lets AI (or you) replay them directly.
AI agents operating web apps today have two options, both bad:
| Approach | Pain |
|---|---|
| Official APIs | Most SaaS doesn't have one, or only exposes 10% of features |
| Browser automation | Screenshot → OCR → click. Slow, fragile, breaks on every UI change |
Neo is the third way. Every web app already has a complete internal API — the frontend calls it every time you click something. Neo captures those calls and makes them replayable.
v2: Now with UI automation. Neo v2 adds an accessibility-tree-based UI layer — snapshot, click, fill, type, press, hover, scroll, select, screenshot, get, wait. When an API exists, use it directly. When it doesn't, Neo can drive the UI through the same CLI. One tool, both layers.
Browse normally → Neo records all API traffic → Schema auto-generated → AI replays APIs directly
→ Or drives UI via a11y treeThe Chrome extension intercepts every fetch() and XMLHttpRequest — URLs, headers, request/response bodies, timing, even which DOM element triggered the call.
Run neo-schema on a domain to auto-generate its API map: endpoints, required auth headers, query parameters, response structure, error codes.
Run API calls inside the browser tab's context via Chrome DevTools Protocol. Cookies, CSRF tokens, session auth — all inherited automatically. No token management needed.
| Browser | Type | Best for |
|---|---|---|
| Chrome / Chromium | Full browser | API capture + UI automation (default) |
| Lightpanda | Headless (Zig) | AI agents, scraping — 11x faster, 9x less memory |
git clone https://github.com/4ier/neo.git
cd neo && npm install && npm run build
npm link # makes `neo` available globallyLoad the extension:
chrome://extensionsextension/dist/# Install Lightpanda
curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux
chmod +x lightpanda && sudo mv lightpanda /usr/local/bin/
# Configure Neo to use Lightpanda
# In ~/.neo/config.json:
# { "chromePath": "/usr/local/bin/lightpanda", "browserType": "lightpanda", "cdpPort": 9222 }
neo start # launches Lightpanda CDP server
neo connect # attach to it
neo open https://example.com
neo snapshot # full a11y treeAll commands go through a single CLI: neo .
Requires a browser with CDP (Chrome DevTools Protocol) enabled.
…Neo isn't just for Chrome. Any app with CDP support works — including Electron apps:
# Launch VS Code with CDP and connect
neo launch code --port 9230
neo snapshot # See VS Code's accessibility tree
neo click @14 # Click a menu item
# Or connect to an already-running Electron app
neo connect --electron slack
# Inject Neo's capture script into any CDP target
neo inject --persist # Survives page navigation
neo inject --tab slack # Target specific tabSessions are saved automatically. Switch between them with --session:
neo --session vscode snapshot
neo --session chrome api x.com HomeTimelineNeo v2 adds a full UI interaction layer built on the accessibility tree — no screenshots, no coordinates, no pixel-matching:
# 1. Take a snapshot — each interactive element gets a @ref
neo snapshot
# @1 button "Sign in"
# @2 textbox "Search"
# @3 link "Pricing"
# 2. Interact by @ref
neo click @1
neo fill @2 "AI agents"
neo press Enter
neo screenshot results.png --fullThis gives AI agents a fast, semantic way to interact with any UI. Combine with API capture for a dual-channel approach: use APIs when they exist, fall back to UI when they don't.
The bridge creates a persistent WebSocket channel between the extension and CLI. The extension auto-connects to ws://127.0.0.1:9234 and streams every capture in real-time. In interactive mode, you can query the extension directly: ping, status, capture.count, capture.list, capture.domains, capture.search, capture.clear.
…# 1. Browse X normally — Neo captures GraphQL mutations
neo schema show api.x.com
# 2. Find the CreateTweet endpoint
neo capture search "CreateTweet" --method POST
# 3. Replay with the original auth (cookies inherited automatically)
neo replay abc123 --tab x.com
# 4. Or craft a new call with auto-detected auth headers
neo exec "https://x.com/i/api/graphql/.../CreateTweet" \
--method POST --auto-headers \
--body '{"variables":{"tweet_text":"Hello from Neo!"},...}'Neo's trigger tracking maps UI interactions to API calls:
neo schema show github.com
# Output includes:
# POST /repos/:owner/:repo/star (3x, 280ms)
# ← click button.js-social-form "Star" (3x)neo capture watch api.openai.com
# 14:23:01 POST 200 /v1/chat/completions (1230ms)
# 14:23:05 SSE_MSG 200 /v1/chat/completions (0ms) [sse]neo-capture-v01 database)The interceptor ignores noise automatically:
Neo runs entirely locally — no external servers, no telemetry, no data leaves your machine.
What Neo captures: Every fetch/XHR/WebSocket call your browser makes on every website. This is powerful but invasive by design.
Auth header redaction (v1.1.0+): Auth header values (Bearer tokens, CSRF tokens, cookies, session IDs) are redacted at capture time before storage. IndexedDB only stores header names, not values. When --auto-headers executes an API call, it fetches live auth headers from the browser in real-time via CDP — never replays stored credentials.
What you should know:
| Aspect | Detail |
|---|---|
| Capture scope | `` — Neo sees traffic on every website, including banking, email, medical portals |
| Content script | Runs in MAIN world (shares JS context with pages) to intercept fetch/XHR |
| CDP port | CLI requires Chrome on port 9222 — any local process can connect to this port |
| Response bodies | Stored in IndexedDB (truncated to 100KB) — may contain personal data from API responses |
| Schema files | Store only endpoint structure (paths, header names, response shapes) — no credentials or user data |
| Export | neo capture export redacts auth by default; --include-auth requires explicit opt-in |
Recommendations:
neo capture domainsneo capture clear banksite.comNeo is a developer tool that trades privacy surface for capability. Use it knowingly.
neo CLI with subcommandsneo replay re-executes captured callsneo api with schema lookup + auto-authneo flows discovers API call sequencesneo deps finds response→request data flowneo doctor for setup verificationneo export-skill generates SKILL.mdneo mock generates local HTTP server from schema--all)neo label)neo workflow)neo connect, neo sessions, --session flagneo launch, neo connect --electronneo tab list/switch targetsneo inject with --persist and --tabsnapshot, click, fill, type, press, hover, scroll, select, screenshot, get, waitMIT
No open issues yet, or sync has not completed.