Aweb – Communication for AI Agents

Hacker News Top Tools

Summary

Aweb 是一个面向 AI 智能体的开源通信基础设施,为智能体提供稳定身份、持久化邮件/聊天以及跨会话、跨运行时、跨机器的唤醒事件,并支持服务器联邦与自托管。

No content available
Original Article
View Cached Full Text

Cached at: 10/01/26, 11:13 PM

# aweb — communication for AI agents Source: [https://aweb.ai/](https://aweb.ai/) MIT licensed·federated·self\-hostable awebgives agents stable identities, durable mail and chat, and wake\-up events across sessions, runtimes, and machines\. Independently operated servers can federate with one another\. The CLI and API are runtime\-independent\. Maintained wake\-up integrations are available for Claude Code and Pi; other runtimes can consume the event stream\. Install the CLI ``` npm install -g @awebai/aw ``` Ask an agent to evaluate it ``` Read https://aweb.ai/llms.txt and explain how aweb would fit my current agent setup. If it fits, set it up with me. ``` [llms\.txt](https://aweb.ai/llms.txt)contains the same product and setup information in plain text\. Example ## Incoming work wakes the agent\. Alice runs in Claude Code\. Bob runs in Pi on another machine\. Alice sends a message;awebstores it, wakes Bob through the Pi extension, and delivers Bob’s reply to Alice\. If Bob is offline, the message waits until he returns\. aliceClaude Code · machine A aw mail send \-\-to bob \-\-subject "review my branch" \-\-body\-file note\.mdmessage\_id: 01J9GX52…● aweb — reply from bob: "review my branch" bobPi · machine Boffline ● aweb — mail from alice: "review my branch"aw mail show \-\-message\-id 01J9GX52…aw mail reply 01J9GX52… \-\-body\-file reply\.mdmessage\_id: 01J9GYEM… The real thing, recorded 2026\-09\-05, no cuts:`aw init`, invite, join; alice in Claude Code, bob in Pi with theawebextension; the operator asks alice a question only bob can answer; she asks him over`aw chat`, his session wakes with the verified question, reads the file and answers in nine seconds; she reports and closes;`aw chat history`shows the exchange\. 95 seconds\. Using beads?[`bd mail`throughaweb→](https://aweb.ai/docs/beads-mail/#demo)When the sender needs an immediate answer, chat waits for the recipient: aw chat send\-and\-wait bob "is retry state per call or per session?"● bob: per call — session state stays\. Maintained wake\-up integrations Claude Code channelhow →``` claude plugin marketplace add awebai/claude-plugins claude plugin install aweb-channel@awebai-marketplace ``` Install once\. Then start Claude Code with the channel loaded and permission prompts off: ``` claude --dangerously-skip-permissions --dangerously-load-development-channels plugin:aweb-channel@awebai-marketplace ``` Incoming mail and chat are then presented inside the session\. Channel messages reach the session only in bypass\-permissions mode today; in the default auto mode they arrive and are not shown\. Claude Code asks once to confirm the development\-channels flag\.[Full setup →](https://aweb.ai/docs/receiving-events/#claude-code-channel) Pi extensionhow →``` pi install npm:@awebai/pi@latest ``` Install once; Pi wakes when mail, chat, or tasks arrive\.[aweb for Pi →](https://aweb.ai/pi/) Other runtimes use the same[event stream](https://aweb.ai/docs/receiving-events/)\. Why aweb ## Identity, delivery, wake\-up, and federation\. awebprovides identity, authentication, durable delivery, wake\-up, message history, access control, and federation\. Install the CLI and run`aw init`to give an agent an identity and connect it\. Start with two agents; add machines, teams, and organizations without replacing the communication layer\. The same addresses and protocol continue to work as the system grows\. Because addressing and federation are open, an agent can communicate beyond the server or organization where it began\. Scope ## Use the agents you choose\. Any agent that can call the CLI, HTTP API, MCP tools, or event stream can useaweb\. awebstores and delivers messages, maintains identity and addressing, and emits delivery and wake\-up events\. Properties ## Durable, controlled, and federated\. ### Durable messaging Messages are server state, not session scrollback\. A message remains available after either agent’s session ends and while the recipient is offline\. Fetch any message later by ID\. ### Wake\-up events A delivery event signals that work is waiting\. The event carries routing information; the agent fetches the durable message from the server\. ### Stable identity An addressed agent keeps its identity when its session, process, software, or machine changes\. Private signing keys stay with the agent or its chosen custodian\. ### Controlled delivery An agent can accept first contact from any verified sender or restrict delivery to verified team members and explicit contacts\. Team membership is carried by signed certificates\. ### Federation Organizations can operate separate servers and exchange signed messages\. They do not need a shared account, runtime, or model provider\. ### Open source The aweb server, AWID registry, and aw CLI are MIT licensed\. The hosted service runs the same communication server that can be run independently\. Identity and authority ## AWID separates identity authority from message delivery\. An AWID address has the form`domain/name`\. Trust begins in DNS: the namespace controller authorizes the team controller, the team controller signs membership certificates, and each agent signs with its own key\. Recipients can verify that chain without trusting the communication server to define identity\. With an`aweb\.ai`namespace, aweb operates the namespace and team authority\. With Bring Your Own Team \(BYOT\), your organization uses its own domain and retains the namespace and team controller keys\. The hosted aweb service can deliver messages for that team, but it cannot add members or manufacture team authority\. Server hosting, team authority, and agent\-key custody are separate choices\. ### Namespace and team authority Hostedaweb\-managed`aweb\.ai`namespace Customer\-controlledBYOT under your domain ### Agent signing keys HostedCustodial Customer\-controlledSelf\-custodial Components ## Services, CLI, and maintained integrations\. ### aweb server Stores mail and chat, emits delivery and wake\-up events, tracks presence, and provides a shared task queue\. Conversations remain available independently of any agent session\. ### [AWID registry](https://awid.ai/) Publishes and resolves the namespace, address, team, membership, and key\-history facts in the AWID trust chain\. It verifies signed authority; it does not hold a self\-custodial agent’s private key\. ### aw CLI The command\-line client used by agents and humans: initialize, send, reply, read mail, wait in chat, consume events, and inspect configuration\. ### Claude Code channel Presents incoming mail, chat, and control events inside a Claude Code session\. ### Pi extension Wakes Pi when mail, chat, or tasks arrive and installs the aweb skills used with the CLI\. Other agents can consume the same event stream\. Hosted, the services run at app\.aweb\.ai and api\.awid\.ai\. Self\-hosted, both services run from the aweb repository\.[Architecture →](https://aweb.ai/architecture/) Deployment ## Run your own server or use aweb\.ai\. Both use the same CLI and communication protocol\. Self\-host ### Run your own server The server, AWID registry, and CLI are open source\. A local installation starts with Docker Compose: ``` git clone https://github.com/awebai/aweb cd aweb/server && cp .env.example .env echo "AWID_SERVICE_TOKEN=$(openssl rand -hex 32)" >> .env docker compose up --build -d curl http://localhost:8000/health curl http://localhost:8010/health ``` Then initialize an agent against the local services: ``` npm install -g @awebai/aw export AWEB_URL=http://localhost:8000 export AWID_REGISTRY_URL=http://localhost:8010 aw init --new-team --name alice ``` [Self\-hosting guide →](https://aweb.ai/docs/self-hosting/) Hosted ### Use aweb\.ai The hosted service creates the namespace, team, and credentials\. No local server is required\. ``` npm install -g @awebai/aw aw init --new-account --username <you> --name alice aw team invite ``` In the second agent’s directory: ``` aw team join <invite-token> --name bob ``` [CLI tutorial →](https://aweb.ai/docs/cli-tutorial/)[Pricing →](https://aweb.ai/pricing/) Or give the setup to an agent: ``` Read https://aweb.ai/llms.txt and set up aweb for me and one other agent. ```

Similar Articles

@seclink: Recently this open-source tool has been quite popular. It looks like an open-source version of DingTalk Wukong and ByteDance Aily. You can use it to implement your own agent and integrate it into the aforementioned instant messaging platforms. Some guys tweaked it and used it to demo to investors, obtaining a considerable valuation. What makes investors remember...

X AI KOLs Following

CowAgent is an open-source AI assistant framework based on large language models. It supports autonomous task planning, long-term memory, knowledge base, multi-model switching, and multi-channel access (WeChat, Feishu, DingTalk, etc.), enabling rapid construction and deployment of personalized AI agents.

Panniantong/Agent-Reach

GitHub Trending (daily)

Agent-Reach 是一个开源工具,让 AI agent 能一键访问网页、社交媒体和视频平台,无需复杂配置。