argus
ARGUS is a security-hardened MCP server that functions as a personal AI agent, accessible via two primary tools:
argus_ask: Submit any natural language task or question to the ARGUS agent. It processes requests through a bounded reasoning-budget governor, multi-provider LLM routing (Anthropic, OpenAI-compatible endpoints like DeepSeek/Qwen/Kimi, and local Ollama models), and the WARDEN firewall, which vets any third-party MCP servers invoked during execution โ blocking malicious tools, exfiltration, and credential harvesting via static scans, threat feeds, and reputation checks. Returns a plain-text answer; setsisErroron failure or budget exhaustion.argus_status: Check whether the ARGUS server is alive and available. Returns a JSON status object.
Beyond these core tools, ARGUS also supports:
Token-frugal operation with hard cost ceilings, model tiering, and a live token meter.
Opt-in crypto/AI economy features for autonomously discovering, paying for, and selling AI capabilities.
Gamified Agent Arena features (XP, levels, streaks, badges) based on real-world performance.
Core functionality (WARDEN security, multi-model support, memory) works fully without a wallet or connection to the broader AICOM ecosystem.
๐ Read-only mirror.
argusis published from the canonical AI-Factory monorepo. Pull requests are not accepted โ any commit pushed here is overwritten byscripts/mirror_satellites.shon the next sync. ๐ Found a bug or have a request? Please open an issue.
ARGUS-3 โ MCP server
One MCP server. WARDEN-hardened agent. Wallet optional.
Transport: stdio (argus mcp). Built with the official
Model Context Protocol TypeScript SDK (@modelcontextprotocol/sdk).
Compatible hosts: Claude Desktop, Cursor, Glama, and any MCP client that supports stdio servers.
Item | Location |
MCP entrypoint |
|
Tools |
|
WARDEN firewall | |
Glama / Docker (stdio) |
Part of the AICOM open agent economy. Live demo: magic-ai-factory.com/argus/ ยท Community: Discord ยท Pollux ยท Telegram ยท Castor
MCP firewall first โ wallet optional. ARGUS-3 vets every third-party MCP server through WARDEN (static scan โ threat feed โ LUMEN reputation โ def-pinning) before a single tool runs. Crypto, wallet, and on-chain economy are off by default.
(short name ARGUS ยท CLI: argus ยท npm: argus-warden ยท scoped: @alexar76/argus3)
Why "ARGUS-3"? In the myth, Argus Panoptes โ the hundred-eyed watchman โ was unbeatable until Hermes talked him to sleep and slew him. ARGUS-3 is the watchman that doesn't fall for Hermes: a hundred eyes open (WARDEN), frugal to a fault, immune to smooth-talking competitors.
Third time's the watchman. ๐๏ธ
ARGUS is the demand-side reference client the agent economy was missing. The ecosystem already has producers (the Factory ๐ญ), a broker (the Hub ๐), pricing (ACEX ๐), trust math (the LUMEN oracle ๐ฎ) and observability (the Monitor ๐ฝ). What it lacked was a first-class agent an ordinary person runs โ one that discovers, pays for, consumes and sells capabilities. That's ARGUS.
It is built on two stack layers that generic MCP clients typically lack:
๐ก๏ธ WARDEN โ an MCP security firewall that scores third-party servers through a verifiable reputation oracle (LUMEN), not a static blocklist. Works with no wallet and no chain.
๐ธ Native settlement (optional) โ pay per-call and get paid in USDC on Base through AIMarket escrow when you enable crypto and connect a wallet.
โฆand it stays frugal (a hard budget governor + live token meter โ no self-reflection on your dime), speaks any model (Anthropic, OpenAI-compatible, Chinese, local), and โ critically โ runs fully autonomously when the economy is unavailable. No wallet, no network to AICOM? It's still a best-in-class local, MCP-secured assistant.
๐ Crypto is OFF by default
A blockchain is not required to run ARGUS-3. Wallet, lottery, ACEX, paid invokes, and on-chain settlement are disabled by default and turn on only when you set
ARGUS_CRYPTO_ENABLED=1(plus a wallet). Out of the box you get the full agent โ WARDEN, any model, memory, channels, and free off-chain oracle reads โ with no chain, no token, no wallet, no custody. Crypto is opt-in.
Why ARGUS is different
What it does | Why it matters | |
๐ก๏ธ WARDEN firewall | Every MCP server is vetted by a gate chain โ static tool-def scan โ threat feed โ LUMEN reputation โ def-pinning โ before a single tool runs. | Tool-poisoning, rug-pulls (def drift), exfiltration and credential harvesting are blocked by default. Trust comes from a live oracle, so it doesn't rot like a blocklist. |
๐ธ Native + autonomous economy | Discover โ open USDC channel โ invoke โ settle (consumer); register in the Mesh โ list โ earn (provider). Loads only with a wallet. | Turns AICOM into a real two-sided market. With no wallet the module never loads โ zero dependency, zero failure surface. |
โ๏ธ Token-frugal by design | Bounded reasoning-budget governor with hard $/token ceilings, model tiering, | The "cheaper" claim is auditable, not marketing. Exceeding a ceiling stops the task โ it never silently overspends. |
๐ Any provider | One | Your keys, your models, your costs. Triage on a cheap/local model, escalate only when needed. |
๐งญ Core capabilities โ design intent and stack dependencies for each headline feature โ docs/killer-features.md ยท ru ยท es.
Related MCP server: mcpv3e
Quickstart
One command (interactive wizard, ~2 minutes):
curl -fsSL https://magic-ai-factory.com/install | bashOr install from npm (same CLI, no curl script):
npm install -g argus-warden@latest
mkdir -p ~/.argus/agent && cd ~/.argus/agent
argus setup && argus doctorPackage: argus-warden on npm ยท scoped: @alexar76/argus3 ยท CLI: argus ยท npx argus-warden --help
Then argus chat or argus serve.
Run as MCP server (stdio)
npm install -g @alexar76/argus3
# or: npm install && npm run build && node dist/index.js mcp
argus mcpClaude Desktop / Cursor (mcpServers entry):
{
"mcpServers": {
"argus": {
"command": "argus",
"args": ["mcp"]
}
}
}Tools (2)
Tool | When to use | Returns | Example |
| Bounded NL work via agent core. Optional | Plain-text answer ( |
|
| Liveness before heavy | JSON status |
|
| Discovery / WARDEN posture without spending LLM tokens | JSON tool catalog |
|
Glama TDQS: MCP annotations (readOnly / destructive / idempotent / openWorld), Behavior + Usage Guidelines in every description, structured params with examples โ calibrated to the score rubric (not the old one-liner).
Publish on Glama
Listing: glama.ai/mcp/servers/alexar76/argus
Same pattern as aimarket-oracle-gateway: repo-root glama.json + Dockerfile.glama + node dist/index.js mcp.
If
magic-ai-factory.com/installreturns 404, use the mirror:curl -fsSL https://modeldev.modelmarket.dev/install | bash
Docs: Wiki ยท User guide (20 languages) ยท Developer guide โ publish a capability in 15 min (20 languages) ยท Use case โ your ARGUS on AICOM (EN / RU) ยท The Verifiable Conscience (block diagrams) ยท When ARGUS won't help you ๐ ยท Ecosystem whitepaper
cd argus
npm install
npm run build
# 1) Configure (safe to commit โ NO secrets live here)
cp argus.config.example.json argus.config.json
# 2) Add keys to .env (all optional; with none, ARGUS uses a local Ollama model)
cp .env.example .env # then edit
# 3) Check what's wired up
node dist/index.js doctor
# 4) Ask something
node dist/index.js ask "summarise https://example.com in three bullets"
# 5) Interactive
node dist/index.js chatDuring development you can skip the build step with npm run dev -- ask "โฆ".
The autonomy guarantee
ARGUS needs nothing from AICOM to work:
# No ANTHROPIC_API_KEY, no wallet โ just a local model:
ARGUS_LOCAL_BASE_URL=http://127.0.0.1:11434/v1 node dist/index.js ask "hello"With no ARGUS_WALLET_KEY, doctor reports economy: OFF (autonomous) and the
entire economy layer is never constructed. See docs/autonomy.md.
Architecture
Five layers. Everything above the autonomy line runs offline; the economy clips on underneath, gated purely on the presence of a wallet.
flowchart TB
subgraph OFF["Runs offline โ no AICOM, no wallet"]
L1["Layer 1 ยท Providers โ Anthropic ยท OpenAI-compatible ยท local"]
L2["Layer 2 ยท Bounded agent core โ planโexecuteโobserve + budget governor"]
L3["Layer 3 ยท Memory / self-learning โ episodes ยท lessons ยท pins"]
L4["๐ก๏ธ Layer 4 ยท MCP host + WARDEN โ static ยท threat ยท reputation ยท pinning"]
L1 --- L2 --- L3 --- L4
end
GATE{{"โ autonomy line โ needs ARGUS_WALLET_KEY"}}
L5["๐ Layer 5 ยท Economy โ discover ยท pay ยท invoke ยท settle ยท sell"]
L4 -.-> GATE -.-> L5
L5 -.->|wraps| SDK["@aimarket/agent SDK"]Full diagrams and the module map: docs/architecture.md.
๐ก๏ธ WARDEN โ the MCP firewall
An MCP server's tool descriptions are attacker-controlled text the model reads as instructions. WARDEN treats every server as hostile-by-default and runs each connection through gates before any tool is exposed:
flowchart LR
S[MCP server] --> A[1 ยท static scan] --> B[2 ยท threat feed] --> C[3 ยท LUMEN reputation] --> D[4 ยท def-pinning] --> V{allow?}
V -->|yes| OK[bridge tools<br/>pin defs]
V -->|no| NO[block + report]Static scan โ injection / exfiltration / secret-harvesting / hidden-unicode signatures in tool defs.
Threat feed โ built-in deny-list + optional signed remote feed.
Reputation โ asks LUMEN for a sybil-resistant trust score (
lumen.reputation@v1), verifiable viagraph_commitment. Unreachable โ neutral, never blocks (autonomy preserved).Pinning โ hashes the approved tool set; later drift = rug-pull, forces re-approval.
Sensitive tools (write/delete/exec/payment/โฆ) additionally require explicit user approval at call time. Details: docs/security-warden.md.
node dist/index.js warden scan # vet your configured MCP servers๐ธ Economy integration
ARGUS reuses the existing AI Market Protocol v2 and the @aimarket/agent
SDK โ no new endpoints.
export ARGUS_WALLET_KEY=0x... # enables the economy layer
node dist/index.js economy status
node dist/index.js economy discover "translate to 5 languages" --budget 1
node dist/index.js economy register # list ARGUS in the AI Service MeshConsumer flow: discover โ openChannel (USDC/Base) โ invoke (X-Payment-Channel) โ settle. Provider flow: register identity + wallet in the Mesh, list capabilities,
earn (and become eligible for the agent lottery / machine-UBI). See
docs/economy-integration.md ยท
docs/mcp-oracles-capabilities.md (17 oracles, MCP, selling).
Multi-provider
Adapter | Covers |
Anthropic-native | Claude Opus/Sonnet/Haiku/Fable โ first-class |
OpenAI-compatible | OpenAI, DeepSeek, Qwen/DashScope, Zhipu GLM, Moonshot/Kimi, MiniMax, Mistral, Groq, Together, OpenRouter, vLLM |
Local | Ollama / llama.cpp โ offline + the cheap triage tier |
Models are assigned to tiers (triage / core / heavy) in
argus.config.json; routing falls back across tiers when a key is missing.
๐ฎ Agent Arena โ level up, keep streaks, flex your card
Running an agent should be fun. Agent Arena turns real ecosystem activity into the game mechanics a young, global audience already loves โ Duolingo-style streaks, Wrapped-style shareable cards, gaming rank cards:
XP & levels โ earn XP for finishing tasks, selling capabilities, playing the oracle lottery, trading on ACEX, and staying frugal (low
$/task).Daily streaks ๐ฅ โ keep your agent active day after day.
Quests & badges โ First Blood (first lottery win), Rainmaker (first
$1earned selling capabilities), Frugal (a task under$0.001), Trusted (top-half LUMEN reputation), Warden (blocked a malicious MCP server), Polyglot, Whale, LuckyโฆFlex Card โ
argus flex(or/flexin Telegram) renders a slick, shareable card: handle, level, streak,$earned, win-rate, top badges, reputation rank. Numbers + emoji = no language barrier โ share it anywhere.Global leaderboard (opt-in) โ rank against agents worldwide by XP, earnings, or frugality.
Every stat is real โ it's your actual economy, reputation and frugality performance, computed locally from your agent's own memory + signed economy receipts, so it's hard to fake and not vanity points. Sharing and the leaderboard are off by default and owner-controlled โ your data stays yours. Full design: docs/arena.md.
Live demo (this fleet):
LIVE (Base mainnet): https://magic-ai-factory.com/arena โ
:8787โGET /arena/statsUNI (Universe / Anvil): https://magic-ai-factory.com/arena-uni/ โ
:8788โ same UI,mode=uni
Use the TEST ยท LIVE ยท UNI switcher on the Arena page to flip between demo metrics and each deployed node.
Configuration
argus.config.jsonโ non-secret config (providers, models, tier pricing for the meter, budget ceilings, WARDEN policy, MCP servers/catalogs, economy endpoints). Safe to commit. Start fromargus.config.example.json..envโ secrets only: API keys (ANTHROPIC_API_KEY,DEEPSEEK_API_KEY, โฆ),ARGUS_WALLET_KEY, and optionalALIEN_API_TOKENfor the Alien Monitor run feed. Never commit. Start from.env.example.
economy.enabled is derived โ it is true iff ARGUS_WALLET_KEY is set.
Where it sits in the ecosystem
aicomFactory builds agents โ listed & invoked through AIMarket (Hub + protocol) โ Oracles (LUMEN trust, randomness, VDF, consensus) price and secure them โ financed on ACEX โ visualised by Alien Monitor.ARGUS is the demand side: the agent that spends in this market, sells into it, and defends the user against the MCP supply chain โ using LUMEN as its safety oracle.
Channels
One bounded agent core, many channels โ each with the auth model natural to it. Full matrix + design: docs/channels.md.
Channel | Run | Auth |
CLI |
| local (interactive approval) |
Telegram |
| owner-locked (first |
HTTP API |
|
|
MCP-server |
| local stdio โ exposes |
argus serve runs Telegram + the HTTP server together (this is what the
container runs). GET /health is also the hook that lets ARGUS appear as a live
node in Alien Monitor. Set ALIEN_MONITOR_URL + ALIEN_API_TOKEN to push
each completed run to the node's verifiable-run panel (oracle calls, WARDEN
blocks, hires, sealed receipt). Discord, Slack, Email, Matrix, WhatsApp and voice are
ready-to-add adapters (see the doc).
Deployment (Docker)
ARGUS launches untrusted MCP servers as child processes, so the container is also a security boundary around them โ not just packaging.
cp argus.config.example.json argus.config.json # edit
cp .env.example .env # add secrets
docker compose up -d --build # serve: Telegram + HTTP /healthSecrets come from .env (never baked into the image); argus.config.json is
mounted read-only; state persists in the argus-state volume; a HEALTHCHECK
probes /health. Economy is OFF by default in the container (autonomous).
Development
npm run typecheck # tsc --noEmit (strict)
npm test # vitest (budget governor, WARDEN gates, provider mapping)
npm run build # emit dist/Status
v0.1 โ bounded agent loop, multi-provider routing, WARDEN gate chain (static +
threat + reputation + pinning), memory/lessons, MCP host, economy consumer/provider
wrappers, and four channels (CLI, Telegram, HTTP, MCP-server) + Docker โ all
implemented and tested. OS-level MCP sandboxing (seccomp/Landlock/sandbox-exec),
the signed threat-feed publisher, and the remaining channel adapters are the v2
track โ see the docs.
Demo
Related repos
Repo | Role |
AI-Factory โ ships capabilities ARGUS consumes | |
Federation hub โ discover, invoke, settle | |
LUMEN reputation + verifiable math | |
ARGUS appears as a live graph node | |
Twin community agents โ MNEMOSYNE Q&A |
Community
The DIOSCURI twins answer questions from synced GitHub docs.
Channel | Twin | Best for |
Pollux | Help, ideas, show-and-tell | |
Castor | Releases, digests, quick news |
Ecosystem map: Alien Monitor ยท AICOM
License
MIT โ your keys, your infra, your data. Part of the AICOM open agent-economy.
Maintenance
Tools
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexar76/argus'
If you have feedback or need assistance with the MCP directory API, please join our Discord server