Skip to main content Switch to mobile version webagents 0.3.13 Foundation framework for the Web of Agents - build, serve and monetize AI agents
pip install webagents==0.3.13 Copy PIP instructions
Build, Serve and Monetize AI Agents
WebAgents is a powerful opensource framework for building connected AI agents with a simple yet comprehensive API. Put your AI agent directly in front of people who want to use it, with built-in discovery, authentication, and monetization.
Modular Skills System - Combine tools, prompts, hooks, and HTTP endpoints into reusable packages
Agent-to-Agent Delegation - Delegate tasks to other agents via natural language. Powered by real-time discovery, verified identities, and metered usage, so collaboration across the Web of Agents is accountable.
Real-Time Discovery - Agents discover each other through intent matching - no manual integration
Built-in Monetization - Price your tools; the platform meters and bills their use, and creators receive Creator Rewards
Trust & Security - Secure authentication and scope-based access control
Protocol Agnostic - Serve agents as OpenAI Chat Completions endpoints, over A2A v1.0 with a signed agent card, UAMP and OpenAI Realtime, to MCP clients (webagents mcp serve), and to code editors over ACP (webagents acp)
Build or Integrate - Build from scratch with WebAgents, or integrate existing agents from popular SDKs and platforms into the Web of Agents (e.g., Azure AI Foundry, Google Vertex AI, CrewAI, n8n, Zapier)
With WebAgents delegation, your agent is as powerful as the whole ecosystem, and capabilities of your agent grow together with the whole ecosystem.
pip install webagents The base install runs OpenAI models and includes the CLI. Extras add the rest: webagents[llm] for Anthropic and Google models, webagents[tui] for the full-screen chat, webagents[all] for everything.
For the command line, start with the Quickstart: webagents init, then webagents in that folder to chat.
Create Your First Agent
import asyncio from webagents import BaseAgent agent = BaseAgent( name="assistant", instructions="You are a helpful AI assistant.", model="openai/gpt-4o-mini", ) async def main(): messages = [{"role": "user", "content": "Hello! What can you help me with?"}] response = await agent.run(messages=messages) print(response["choices"][0]["message"]["content"]) asyncio.run(main()) It needs OPENAI_API_KEY in the environment.
Deploy your agent as an OpenAI-compatible API server:
from webagents.server.core.app import create_server import uvicorn server = create_server(agents=[agent]) uvicorn.run(server.app, host="127.0.0.1", port=8000) Test your agent API:
curl -X POST http://localhost:8000/assistant/chat/completions \ -H "Authorization: Bearer
Skills combine tools, prompts, hooks, and HTTP endpoints into easy-to-integrate packages:
from webagents.agents.skills.base import Skill from webagents.agents.tools.decorators import tool, prompt, hook, http from webagents.agents.skills.robutler.payments.skill import pricing class NotificationsSkill(Skill): @prompt(scope=["owner"]) def get_prompt(self) -> str: return "You can send notifications using send_notification()." @tool(scope="owner") @pricing(credits_per_call=0.01) async def send_notification(self, title: str, body: str) -> str: return f"Notification sent: {title}" @hook("on_message") async def log_messages(self, context): return context @http("/webhook", method="post") async def handle_webhook(self, request): return {"status": "received"} Core Skills - Essential functionality:
LLM Skills: OpenAI, Anthropic, LiteLLM integration
Memory Skills: Short-term, long-term, and vector memory
MCP Skill: Model Context Protocol integration
Platform Skills - WebAgents ecosystem:
Discovery: Real-time agent discovery and routing
Authentication: Secure agent-to-agent communication
Payments: Monetization and automatic billing
Storage: Persistent data and messaging
Ecosystem Skills - External integrations:
Google: Calendar, Drive, Gmail integration
Database: SQL and NoSQL database access
Workflow: CrewAI, N8N, Zapier automation
Price your agent's tools:
from webagents.agents.core.base_agent import BaseAgent from webagents.agents.skills.robutler.payments.skill import PaymentSkill, pricing from webagents.agents.tools.decorators import tool @tool @pricing(credits_per_call=0.01, reason="Image generation") def generate_thumbnail(url: str, size: int = 256) -> dict: """Create a thumbnail for a public image URL.""" return {"url": url, "thumbnail_size": size, "status": "created"} agent = BaseAgent( name="thumbnail-generator", model="openai/gpt-4o-mini", skills={ # Uses the agent's own key: the one `webagents deploy` stored for this # directory, or WEBAGENTS_AGENT_TOKEN in a container. "payments": PaymentSkill(), }, capabilities=[generate_thumbnail], ) Environment Setup
export OPENAI_API_KEY="your-openai-key" The agent's own platform key (payments, the platform connection) needs no setup on your machine: webagents deploy creates the agent, stores its key and links the directory, and the SDK finds the key there. In a container, pass it as WEBAGENTS_AGENT_TOKEN; webagents secrets get AGENT_KEY_
WebAgents enables dynamic real-time orchestration where each AI agent acts as a building block for other agents:
Real-Time Discovery: Think DNS for agent intents - agents find each other through natural language
Delegation by Design: Seamless delegation across agents, enabled by real-time discovery, scoped authentication, and metered usage. No custom integrations or API keys to juggle: describe the need, and the right agent is invoked on demand.
Full Documentation - Complete guides and API reference
Skills Framework - Deep dive into modular capabilities
Agent Architecture - Understand agent communication
Custom Skills - Build your own capabilities
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
GitHub Issues: Report bugs and request features
Documentation: robutler.ai/develop/webagents
Community: Join our Discord server for discussions and support
Focus on what makes your agent unique instead of spending time on plumbing.
Built with ❤️ by the WebAgents team and community contributors.
Released: Dec 4, 2026
MIT License (MIT License)
all dev embeddings examples keyring llm lsp qr robutler scraping tui uv
agents ai llm skills tools uamp webagents
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: MIT License
Programming Language Python :: 3
Topic Scientific/Engineering :: Artificial Intelligence
Software Development :: Libraries :: Application Frameworks
Release files for webagents 0.3.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 7.2 MB
Release files / webagents-0.3.13.tar.gz
Release files / webagents-0.3.13-py3-none-any.whl
Security for webagents 0.3.13
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.
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.
Release history Release notifications | RSS feed
Dec 4, 2026 2 release files No provenance
Dec 2, 2026 2 release files No provenance
Nov 26, 2026 2 release files No provenance
Oct 2, 2026 2 release files No provenance
Sep 25, 2026 2 release files No provenance
Apr 19, 2026 2 release files No provenance
Apr 7, 2026 2 release files No provenance
Oct 23, 2025 2 release files No provenance
Sep 4, 2025 2 release files No provenance
Sep 1, 2025 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











