MCPcopy Index your code
hub / github.com/agentwasp/agentwasp

github.com/agentwasp/agentwasp @v2.7.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.7.2 ↗ · + Follow
4,585 symbols 16,985 edges 343 files 1,599 documented · 35%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

WASP

A serious agent. Built to evolve.

Self-hosted autonomous AI agent. Plans, executes, and improves itself running on infrastructure you own.

License: BSL 1.1 Version Docs Install Python Docker

Website · Docs · Quick Start · Architecture · License


WASP is not a chat-UI wrapper. There is real architecture underneath: an event bus, a goal orchestrator, a 41-job scheduler, layered memory, a truth/policy layer that grounds responses against actual actions, and a self-repair loop that can rewrite its own code.

Install

sudo bash -c "$(curl -fsSL https://agentwasp.com/install.sh)"

That single line:

  1. Detects your distro (8 Linux flavors + macOS supported)
  2. Installs Docker + compose plugin if missing
  3. Pulls the source tarball (clean, 2.1 MB, allowlist-built)
  4. Generates secure secrets with openssl rand
  5. Walks you through onboarding (Telegram, provider keys, dashboard credentials)
  6. Builds the containers and starts the stack

Default install path: /opt/wasp. Default dashboard: http://<your-host>:8080.

Verify the installer (optional, recommended)

Prefer to inspect the script before piping it into bash? Verify the SHA-256 against the published checksum:

curl -fsSL https://agentwasp.com/install.sh -o install.sh
curl -fsSL https://agentwasp.com/install.sh.sha256 | sha256sum -c -
# install.sh: OK
sudo bash install.sh

The Windows installer has the same option: https://agentwasp.com/install.ps1.sha256.

Post-install

wasp status      # see what's running
wasp logs        # tail logs
wasp health      # run health probes

What WASP does

  • Conversational agent with memory that persists across sessions: episodic, semantic, working, procedural, behavioral rules, knowledge graph, temporal world model.
  • 37 built-in skills: web search, browser automation (nodriver + Selenium), email (Gmail with allowlist), scraping, scheduling, file ops, Python execution (sandboxed), reminders, RSS subscriptions, monitoring, self-improvement, and more.
  • Goal orchestrator: long-running plans broken into TaskGraph steps, retried on failure, replanned when blocked, validated by a Plan Critic before execution.
  • Dashboard: browser UI with 151 endpoints — chat, traces, tasks, scheduler, memory, knowledge graph, world model, agents, integrations, audit log, self-improve.
  • Telegram bridge: optional — natural language to your agent from your phone. Multi-language welcome (EN/ES/PT/FR).
  • Self-improvement loop: corrections you write become persistent behavioral rules. Recurring action patterns get abstracted into reusable procedures. The agent can read, patch, and rebuild its own source.
  • Truth layer: response binding, URL substitution guard, scheduler honesty, capability-claim verification, prompt-leak redaction — designed to make the agent's text match the actions it actually took.

What WASP is not

  • Not a hosted SaaS. You run it yourself on a server or workstation.
  • Not a coding agent like Claude Code or Cursor — it is a general-purpose agent.
  • Not multi-tenant. One operator per install.
  • Not magic. The underlying LLM is probabilistic; the policy and truth layers reduce — but don't eliminate — hallucinations.

Requirements

  • Linux x86_64 (Ubuntu 22.04+ / Debian 12+ recommended) — or macOS / Windows via WSL2.
  • 4 GB RAM minimum, 8 GB recommended.
  • 10 GB free disk.
  • At least one LLM provider key (Anthropic / OpenAI / xAI / Google) — or Ollama for fully self-hosted (slower with small models; see STATUS_AND_LIMITS.md).

Installer flags

# Default — tarball method, full stack
sudo bash -c "$(curl -fsSL https://agentwasp.com/install.sh)"

# Use git clone instead of the tarball (for contributors)
curl -fsSL https://agentwasp.com/install.sh -o install.sh && sudo bash install.sh --install-method git

# Stop after Docker is installed (don't start WASP)
curl -fsSL https://agentwasp.com/install.sh -o install.sh && sudo bash install.sh --docker-only

# Install but don't start services (manual control)
curl -fsSL https://agentwasp.com/install.sh -o install.sh && sudo bash install.sh --no-start

# Fully non-interactive (no onboarding wizard)
curl -fsSL https://agentwasp.com/install.sh -o install.sh && sudo bash install.sh --yes

CLI

wasp onboard         Re-run the configuration wizard
wasp start           Start the stack
wasp stop            Stop the stack
wasp restart         Restart all services
wasp status          Container status + health checks
wasp logs [service]  Stream logs (default: agent-core)
wasp health          Run the full health probe suite
wasp update          Pull latest tarball, rebuild, restart, verify
wasp backup          Create a timestamped backup archive (Postgres + volumes)
wasp restore <file>  Restore from a backup archive
wasp reset           Wipe runtime state but keep volumes
wasp uninstall       Remove WASP (asks before deleting data)
wasp help            Show command reference

Architecture

┌────────────┐                    ┌─────────────────┐
│  Telegram  │ ─── Redis Streams ─┤                 │
└────────────┘                    │   agent-core    │
                                  │  · 41 schedulers│
┌────────────┐                    │  · 37 skills    │
│ Dashboard  │ ─── HTTP/SSE ──────┤  · goal engine  │
│  (browser) │                    │  · truth layer  │
└────────────┘                    │                 │
                                  └────────┬────────┘
                                           │
                              ┌────────────┴────────────┐
                              │                         │
                       ┌──────▼──────┐          ┌──────▼──────┐
                       │  Postgres   │          │    Redis    │
                       │  28 tables  │          │  cache + KV │
                       └─────────────┘          └─────────────┘

See docs.agentwasp.com for the full architecture reference.

Docs

Status

WASP v2.7 is the first public OSS release. The core systems (event bus, goal orchestrator, skills, scheduler, memory, truth layer, dashboard) are stable and have been running in production. Some cognitive subsystems (procedural memory, behavioral rules, learning examples) accumulate value with usage and may be empty on a fresh install — see STATUS_AND_LIMITS.md for the full maturity map.

License

WASP is released under the Business Source License 1.1. Plain English: you can self-host, evaluate, modify, and use it freely — including in production and even offering services to third parties — as long as your aggregate annual revenue from products incorporating WASP stays below USD $1,000,000. Above that threshold, a commercial license is required. The license auto-converts to Apache 2.0 on 2029-05-13 (3 years from launch).

This is a one-paragraph summary, not legal advice — read the full license before using WASP commercially.

Support

  • Bug reports & feature requests: GitHub issues (use the templates).
  • Security: see docs/SECURITY.md for responsible disclosure.
  • Other inquiries: lab@agentwasp.com

WASP is a young public project (v2.7 is the first release outside the original operator's environment). Expect rough edges. Pull requests welcome — see CONTRIBUTING.md.

agentwasp.com · Built to evolve.

Core symbols most depended-on inside this repo

get
called by 1104
containers/agent-core/src/integrations/vault.py
get
called by 913
containers/agent-core/src/memory/manager.py
get
called by 712
containers/agent-core/src/skills/registry.py
search
called by 378
containers/agent-core/src/memory/index.py
err
called by 344
containers/agent-core/src/integrations/base.py
ok
called by 232
containers/agent-core/src/integrations/base.py
execute
called by 217
containers/agent-core/src/skills/base.py
search
called by 107
containers/agent-core/src/skills/openclaw/clawhub_client.py

Shape

Function 2,117
Method 1,869
Class 448
Route 151

Languages

Python75%
TypeScript25%

Modules by API surface

containers/agent-core/src/dashboard/static/js/d3.min.js839 symbols
containers/agent-core/src/dashboard/static/js/htmx.min.js188 symbols
containers/agent-core/src/events/handlers.py123 symbols
containers/agent-core/src/dashboard/static/js/marked.min.js100 symbols
containers/agent-core/tests/test_advanced_goal_layer.py76 symbols
containers/agent-core/tests/test_goal_orchestrator.py63 symbols
containers/agent-core/src/events/control_layer.py62 symbols
containers/agent-core/tests/test_nextgen_systems.py51 symbols
containers/agent-core/tests/test_agent_manager.py49 symbols
containers/agent-core/src/skills/builtin/browser.py48 symbols
containers/agent-core/tests/test_flow_state.py41 symbols
containers/agent-core/src/scheduler/jobs.py41 symbols

For agents

$ claude mcp add agentwasp \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact