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 → 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
  • Free anonymous models — no API key at all: OpenCode Zen free models (0.4.10+). Calls egress from your machine via the local relay — never from any server
  • 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

Metadata

Release files for aicqwebbot 0.4.10

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

Source distribution (sdist)

Source distribution for aicqwebbot 0.4.10
File Size Uploaded Provenance
aicqwebbot-0.4.10.tar.gz 189.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aicqwebbot 0.4.10
File Interpreter ABI Platform
aicqwebbot-0.4.10-py3-none-any.whl Python 3 none any Details

Total release size: 392.6 kB

Release files / aicqwebbot-0.4.10.tar.gz

Download URL aicqwebbot-0.4.10.tar.gz
Size 189.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6a7b6704b5967ea1e0b90392211fd4f0e7205684d9fc88a7427cef10a9afc07b
BLAKE2b-256 checksum
How to use checksums
a3707809ad793cd80d15156c0da8033d424aa9295e2dfe7db143252ccf10ce3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / aicqwebbot-0.4.10-py3-none-any.whl

Download URL aicqwebbot-0.4.10-py3-none-any.whl
Size 202.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c70fa43a560b41480bbf663fc7ca8a0be456a0415775c6b92b54042ea5307b49
BLAKE2b-256 checksum
How to use checksums
6d4a14105e941ec2aa8d907a3980e554984c527611d2f5930ff29f90703139c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for aicqwebbot 0.4.10

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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