Skip to main content

🤖 AicqWebBot

Your browser is the agent's container.

Your browser is the agent's container.中文说明


AicqWebBot is a browser-native AI agent runtime. pip install it, run one line, open localhost, paste your model key — and a full agent (LLM loop, 50+ tools, WASM code sandbox, memory) starts running entirely inside your browser tab.

The local server it starts is a thin, stateless relay: it only proxies your model API calls (to bypass browser CORS) and serves static files. Zero execution happens on the server. Your API key, your conversation history, your files — everything stays on your machine.

🚀 Quick start (3 lines)

pip install aicqwebbot
import aicqwebbot
aicqwebbot.run(8386)
Open http://localhost:8386 → pick a free model (no key needed) or paste
your OpenAI-compatible key → chat.

Want it even simpler? Try the live demo spaces — no install at all:

🧠 Why this is different

Traditional agent stacks AicqWebBot
Agent loop (brain) Server container Your browser tab
Code execution (hands) Sandbox containers (E2B/Modal/...) WASM sandbox in your browser (Pyodide / QuickJS)
Memory & files Database container IndexedDB on your device
Model calls LLM gateway container Local relay or direct — your key, your machine
Scaling cost Grows with users × execution time Zero — every user brings their own compute
Blast radius Untrusted code runs on YOUR server Untrusted code runs on the USER's own browser — the best-tested sandbox on Earth (Chromium)

The insight: containers are scarce on servers, but the browser is a free, pre-installed, perfectly isolated container on every machine on the planet. AicqWebBot simply stops paying rent on server containers that the browser already replaces.

🛠 What's in the box

The bundled agent runtime (a zero-modification build of the aicq.me web agent) ships with:

  • 50+ built-in tools — web search, web read, HTTP client, file system (virtual FS), doc/xlsx/pdf/ppt creation, charts, image drawing, QR codes, email, clipboard, translate, weather, task planning, and more
  • Code sandbox — Python (Pyodide / numpy / pandas) or JavaScript (QuickJS), executing as WebAssembly inside your tab
  • Context compression — long conversations are automatically summarized so memory usage stays bounded
  • Vision — send images, the agent analyzes them with a vision model
  • Streaming UI — live reasoning, tool-call cards, markdown rendering

🔧 Architecture

pip install aicqwebbot && aicqwebbot.run(8386)
        │
        ▼
┌─ localhost:8386 (thin Python relay) ─────────────────┐
│  GET  /                      config page / chat UI   │
│  GET  /static/*              agent runtime bundle    │
│  POST /api/v1/agent/llm-proxy     -> your LLM API    │
│  POST /api/v1/agent/search-proxy  -> web search      │
│  POST /api/v1/agent/web-proxy     -> page fetcher    │
└──────────────────────────────────────────────────────┘
        │
        ▼
  Your browser tab = the agent's container
  ┌───────────────────────────────────────────────┐
  │  agent loop · 50 tools · WASM sandbox         │
  │  memory (IndexedDB) · virtual file system     │
  └───────────────────────────────────────────────┘

🔐 Privacy model

  • Your API key lives in your browser's storage and is only sent as an Authorization header to your chosen model provider, relayed verbatim through the local proxy (in-memory only, never persisted or logged).
  • Agent memory, conversation history, and virtual files never leave your device.
  • The relay keeps no sessions, no accounts, no database. Delete the browser data and everything is gone — your machine, your data.

📦 Deployment options

Target Command Notes
Local machine aicqwebbot.run(8386) The default experience
Hugging Face Space push deploy/hf/ Free, one-container demo
ModelScope Studio push deploy/modelscope/ Same, for the CN community
Any server / intranet aicqwebbot.run(port) behind nginx Stateless — scale horizontally for free

🧩 Where the code comes from

aicqwebbot/web/static/agent/* is the exact browser agent runtime that powers aicq.me's local agents (agent-engine, tool registry, WASM sandboxes, IndexedDB storage). It is synchronized automatically from the private samaidev/aicq monorepo — fixes upstream flow downstream with every release.

📄 License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aicqwebbot-0.4.6.tar.gz (172.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aicqwebbot-0.4.6-py3-none-any.whl (184.5 kB view details)

Uploaded Python 3

File details

Details for the file aicqwebbot-0.4.6.tar.gz.

File metadata

  • Download URL: aicqwebbot-0.4.6.tar.gz
  • Upload date:
  • Size: 172.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for aicqwebbot-0.4.6.tar.gz
Algorithm Hash digest
SHA256 237be19e0087e25edee2f11d897268f3f64ed302ebffe30994c579c6fb59dc5f
MD5 27f6ae65742be1b65bfe20fac26226fd
BLAKE2b-256 9b92f30fb031c9ef5c8c124acbecda6a82e0da74adf36ebbe2de9ca4ec53e75c

See more details on using hashes here.

File details

Details for the file aicqwebbot-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: aicqwebbot-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 184.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for aicqwebbot-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 96d215fdf75d2c1717555527593d9212e7dcb32c135d75103c8ec39b3a83b76d
MD5 263feb321817db9dc391de0d21b7306f
BLAKE2b-256 951596352c7704af30af5067ba6ffc2e64a4801449ad380722e22c1e03335cb0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

This release

0.4.6 This release

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

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