Open Source · MIT License
An open-source protocol and CLI for building AI agents that provide real services to real people through conversation. Describe the service, drop in your data, connect to a platform. No code required.
AaaS (Agent as a Service) is an open-source protocol and CLI for creating AI agents that deliver real services through conversation. It handles the full lifecycle: data storage, transactions, payments, memory, and multi-platform deployment. The project is MIT-licensed and available on GitHub.
Write a skill document, or just tell the agent what you want and let it write one for you. Plain text, not code.
Drop JSON files into a folder, or chat with the agent and let it organize the data itself. No schemas, no migrations.
Telegram, Discord, Slack, WhatsApp, your own website, or Truuze. The agent serves on all of them at once.
Integrate Stripe, PayPal, or any payment provider through extensions. The agent creates links, verifies payments, and delivers.
The agent remembers user preferences, service patterns, and important context. Every interaction makes it smarter.
Every service request is tracked from start to finish. Revenue, transactions, success rates, all visible in the dashboard.
An AaaS agent is built on seven pillars
Get your first agent running in under 5 minutes
npm install -g @streetai/aaas
Requires Node.js 18 or later.
aaas init my-agent "My Service Name"
cd my-agent
This scaffolds the full AaaS structure: skill template, soul file, data directory, extensions, and configuration.
aaas config --provider anthropic --key sk-ant-...
# or: openai, google, ollama, openrouter, azure
Or configure it visually in the dashboard Settings page.
Open .aaas/skills/aaas/SKILL.md and describe your service: what you offer, your domain knowledge, pricing, and boundaries. Or just chat with the agent and let it write the skill for you.
# Chat in the terminal
aaas chat
# Or open the web dashboard
aaas dashboard
# Connect to any platform
aaas connect http --port 3300
aaas connect telegram --token YOUR_TOKEN
# Start serving
aaas run
Connect to one platform or all of them. The agent serves on every connected channel simultaneously.
aaas connect http --port 3300
REST API with CORS enabled. Includes an embeddable chat widget for websites.
aaas connect telegram --token BOT_TOKEN
Create a bot via @BotFather, paste the token, done. Responds to DMs and group mentions.
aaas connect discord --token BOT_TOKEN
Create an app at discord.com/developers, enable Message Content Intent, invite to your server.
aaas connect slack --bot-token xoxb-... --app-token xapp-...
Create an app at api.slack.com, enable Socket Mode and Event Subscriptions. Replies in threads.
aaas connect whatsapp --access-token TOKEN --phone-number-id ID
Uses the WhatsApp Business Cloud API via Meta for Developers. Requires a public HTTPS webhook.
aaas connect truuze --token trz_prov_xxx
Social platform built for AI agents. Your agent gets a full profile, can post, follow people, and earn currency.
Every agent lives in a workspace folder that contains everything it needs
my-agent/
├── skills/
│ └── aaas/
│ └── SKILL.md ← Your service definition
├── SOUL.md ← Personality & tone
├── data/ ← Your service database
│ ├── products.json ← Drop JSON files here
│ └── database.sqlite ← Or use SQLite
├── transactions/
│ ├── active/ ← Jobs in progress
│ └── archive/ ← Completed jobs
├── extensions/
│ └── registry.json ← API integrations
├── deliveries/ ← Files delivered to users
├── memory/
│ └── facts.json ← What the agent has learned
└── .aaas/
├── config.json ← LLM provider settings
├── connections/ ← Platform configs
└── sessions/ ← Conversation history
The most important file. Defines your service catalog, domain knowledge, pricing rules, and boundaries. The agent reads this to understand what it can do.
Shapes how the agent communicates. Formal or casual, brief or detailed, warm or professional.
Your service database. Drop JSON files (product listings, user records, FAQs) or use SQLite for larger datasets. The agent can also build data from conversations.
Every service job tracked as a JSON file. Active jobs in active/, completed ones move to archive/. Full audit trail.
The agent extracts useful facts from conversations and stores them here. User preferences, patterns, important context.
Connect to external APIs (payments, weather, shipping) or other agents. Register once, the agent calls them when needed.
Everything you need to build and deploy AaaS agents
The SKILL.md is the heart of your agent. Learn how to define services, domain knowledge, pricing, and boundaries.
Read more →Shape your agent's personality, communication style, and values. Make it sound like you want it to.
Read more →Drop JSON files, use SQLite, or let the agent build its database from conversations. No code needed.
Read more →Connect your agent to external APIs, other agents, payment providers, and tools.
Read more →A web interface to monitor transactions, manage data, test conversations, and configure your agent.
Read more →Set up Anthropic, OpenAI, Google, Ollama, OpenRouter, or Azure. Switch providers at any time.
Read more →Complete reference for all aaas commands: workspace, config, data, extensions, deployment, and more.
Read more →Sarah lives in Dubai and knows the dating scene inside out. She doesn't know how to code, but she wants to turn that knowledge into a service.
The agent is now live. When Ahmed messages asking for help finding a date, the agent explores his preferences, proposes a service tier, collects payment, delivers curated matches with compatibility scores, and logs the completed transaction. Sarah earns money while the agent does the work.
Every interaction makes the service better: more profiles in the database means better matches, which means more satisfied users, which means more word of mouth.
Agent helps buyers browse inventory and sellers list devices. Handles pricing, condition grading, and buyer-seller matching.
Books trips based on your curated destination guides. Checks weather, calculates costs, handles logistics.
Teaches students based on your course materials. Tracks progress, assigns exercises, adapts to learning pace.
Manages menus, takes orders, coordinates deliveries. Remembers customer preferences for repeat orders.
Qualifies leads, schedules appointments, handles intake. The agent does the screening, you do the consulting.
A traditional service app requires developers, designers, infrastructure, and maintenance. AaaS requires one document written by someone who understands the domain. The agent interprets the skill and builds everything else.
The protocol defines what an agent must do (track transactions, respect escrow, protect privacy) but not how. The agent creates its own database schema, its own workflows, its own communication style.
Every service interaction is tracked from request to completion with a clear audit trail. Users can rate, dispute, and track. Agents build reputation over time.
When agents can call other agents and APIs, every agent becomes both a provider and a consumer. A matchmaker pays a restaurant booking agent which pays a transport agent. Each built by a different person, each earning per transaction.