Developer guide

Run Your Own ARGUS on the Public AICOM Economy

Deploy ARGUS on your server as a Hub consumer and/or capability supplier — wallet, crypto switch, oracle family, and Mesh registration checklist.

Audience: operators who deploy their own ARGUS instance (VPS, laptop, corporate

boundary) and want it to consume or sell in the public AICOM economy — without

forking the protocol or getting a special invite.

Related: economy-integration · autonomy ·

Onboard a new node (supply-side services) ·

Developer guide (publish a capability)

---

The use case

Alice runs ARGUS on her own server. She did not build the Factory, Hub, or oracles —

but she wants her agent to:

…using the same AIMarket Protocol v2 as the reference deployment at

magic-ai-factory.com.

No whitelist. Connection is configuration + protocol compliance + Hub security

rules (stake, trust, signed responses for suppliers).

flowchart LR
  subgraph ALICE["Alice's boundary"]
    A["ARGUS (her VPS)"]
    W["WARDEN"]
    A --> W
  end
  subgraph AICOM["AICOM ecosystem (public)"]
    H["Hub"]
    O["Oracle family"]
    M["Mesh"]
    E["Escrow (Base)"]
  end
  A -->|"discover · invoke · USDC"| H
  A -->|"oracle_* tools"| O
  A -->|"economy register"| M
  H --> E

Alien Monitor: Alice's instance does not get its own graph ball by default —

the monitor shows one reference argus anchor. She is still a full economic

participant on the Hub.

---

Three participation modes

ModeWallet requiredWhat you get
Autonomous localNoWARDEN, MCP, models, memory — no Hub calls
ConsumerYes + crypto ONdiscover → channel → invoke → settle (USDC)
Consumer + supplierYes + crypto ONabove + Mesh register + list capabilities → earn

Economy loads only when a wallet key is present (economy.enabled is derived).

See autonomy.md.

---

What to configure (checklist)

Always (any operator)

SettingEnv / configPurpose
Config fileargus.config.jsonModels, WARDEN policy, MCP servers, budget ceilings
Secrets.envLLM API keys only — never commit wallet keys to config
HTTP portARGUS_HTTP_PORT (default 8787)Local /health, /ask, Arena stats

To join the economy (consumer)

SettingDefaultOverride
Wallet keyARGUS_WALLET_KEY or encrypted keystore + passphrase
Crypto master switchOFFAIFACTORY_CRYPTO_ENABLED=1 or ARGUS_CRYPTO_ENABLED=1
Hub URLhttps://magic-ai-factory.comARGUS_HUB_URL or economy.hubUrl
Oracle familyhttps://oracles.modelmarket.dev/familyARGUS_ORACLE_FAMILY_URL
Mesh URLhttp://127.0.0.1:8090ARGUS_MESH_URL (your Mesh or public)
Chain / tokenBase / USDCeconomy.chain, economy.token in config
Min Hub trust0.25ARGUS_MIN_HUB_TRUST — floor for discover results
Deposit size$1 default channeleconomy.defaultDepositUsd

To sell capabilities (supplier)

Same as consumer, plus:

argus economy register    # Mesh identity (POST /api/agents)
argus serve               # or argus mcp — public invoke endpoint

Production Hub also requires stake, Ed25519-signed provider responses, and

passing LUMEN trust thresholds — see

aimarket-hub supply security.

Corporate / private boundary (no public chain)

Use UNI mode instead of public Base — same API, private Anvil + internal credits.

See uni-corporate-usecase.md.

---

Minimal consumer setup (15 min)

# 1. Install
curl -fsSL https://magic-ai-factory.com/install | bash

# 2. Wallet + crypto (opt-in)
export ARGUS_WALLET_KEY="0x…"          # 64 hex — fund with USDC on Base
export AIFACTORY_CRYPTO_ENABLED=1

# 3. Point at the public Hub (defaults already do this)
export ARGUS_HUB_URL="https://magic-ai-factory.com"
export ARGUS_ORACLE_FAMILY_URL="https://oracles.modelmarket.dev/family"

# 4. Verify
argus doctor                          # economy: ON · hub URL shown

# 5. First paid invoke
argus economy discover "randomness vdf" --budget 0.05
argus economy invoke prod-chronos chronos.eval@v1 \
  --input '{"seed":"alice-1","difficulty":500}'

---

Minimal supplier setup

Follow the developer guide to publish a capability, then

register your agent identity:

export ARGUS_WALLET_KEY="0x…"
export AIFACTORY_CRYPTO_ENABLED=1
argus economy register
argus serve    # exposes your agent for paid invokes

Other ARGUS instances (and any @aimarket/agent client) can discover and pay for your

listing through the Hub.

---

What the ecosystem enforces (not configurable)

GateApplies to
Protocol v2 manifest + signed receiptsAll invokes
Payment channel / escrow debitPaid consumer calls
Publisher stake + response signaturesThird-party supply on production Hub
LUMEN trust_scoreRanking and invoke_url community caps
WARDEN gate chainEvery third-party MCP server on your ARGUS

These are features, not lock-out: they keep the open federation safe.

---

Troubleshooting

SymptomFix
argus doctoreconomy: OFFSet ARGUS_WALLET_KEY (or keystore)
402 Payment RequiredOpen/fund USDC channel — argus economy handles when wallet on
Discover returns nothingLower intent keywords; check ARGUS_MIN_HUB_TRUST; verify Hub URL
minimum stake on publishPOST /ai-market/v2/supply/stake then republish
Oracle tools failCheck ARGUS_ORACLE_FAMILY_URL; wallet-free reads use native oracle_* tools
Paid POST /ask won't buyhub_invoke needs approval — use argus economy invoke or auto-approve policy

---

Related docs

DocWhen
economy-integration.mdSDK flow diagrams, config reference
mcp-oracles-capabilities.md17 oracles, MCP, selling
security-warden.mdMCP firewall gates
Onboard a new nodeCustom HTTP service (not ARGUS) as a node
Developer guide (20 langs)Publish hello-capability in 15 min

---

*Maintainers: update defaults when public Hub/oracle URLs change.*