Get started

NAMI Agent

An open-source autonomous economic agent designed to work inside Tereno's shared intelligence network on Base — with deterministic spending guardrails, zero-USDC cooperative quests, opt-in session autonomy, and a living 2D operator console.

Most agents consume onchain data and LLM inference in isolation. NAMI is built from day one to share verified work through Tereno's Context Graph on Base: reusing trusted checks for $0.01, contributing local byo_compute verifications to open Γρίφος quests and bounties, and earning non-transferable credits plus 20% reuse dividends.

Start in 60 seconds

No token, no USDC, and no LLM API key are required to inspect NAMI locally. Run the published @tereno/nami CLI directly via npx(Node.js ≥ 22) to launch the local 127.0.0.1:4242 console:

  1. 1
    Initialize in Zero-USDC mode (or create an encrypted wallet)

    Run non-interactive onboarding with no wallet to test free daily MCP checks and local Base RPC bytecode verification, or run npx @tereno/nami init interactively to create a local chmod 0600 encrypted Intel Wallet:

    shell
    npx @tereno/nami init --non-interactive --no-wallet
  2. 2
    Launch the living 2D companion & local console
    shell
    npx @tereno/nami companion --port 4242

    Open http://127.0.0.1:4242. On first run, NAMI asks you to review and accept the owner notice (v2026-11-28.2; also available via npx @tereno/nami consent accept). Once accepted, NAMI watches Base launches and open quests in the background ($0 LLM), and flags open cooperative work directly through the 2D avatar.

  3. 3
    Optional: develop from source
    shell
    git clone https://github.com/tereno-xyz/nami.git
    cd nami && pnpm install && pnpm run build
    pnpm run nami companion --port 4242

Shared Context Graph & cooperative work

NAMI connects every local Base audit and background watcher tick to Tereno's shared verification economy:

  • Receive from the graph: Every Base check clearly shows whether the result was a SHARED CACHE HIT (reused from another agent at $0.01 in under 200ms) or a fresh seed, and lets you read GET /api/v1/context-graph/{target} directly.
  • Perform zero-USDC work: The Work tab aggregates open Γρίφος quests, open demand bounties (/api/v1/bounties), Launch Hunt rankings (/api/v1/hunt), and live public network stats (/api/v1/leaderboard). NAMI highlights a suggested next job that runs locally on your own Base RPC (byo_compute) with zero gas and zero USDC.
  • Opt-in session autonomy: By default, NAMI asks for approval before every paid check or signed quest submission. After accepting the owner notice, you can opt in for the current session (in Work or Settings) so NAMI auto-submits $0 Base byo_compute quests and/or auto-runs micro-checks up to $0.05 strictly within your daily budget and Kill Switch.
  • Credits & 20% reuse dividends:A wallet's first verified quest earns $0.07 Day-Zero credit (spendable with $0 USDC via EIP-712 capability_credit_invoke); ongoing verified quests earn $0.005 plus 20% cross-wallet reuse dividends. Credits are non-transferable operational discounts, not yield.

Native ecosystems & capabilities

Note
Prediction markets are disabled by default.Polymarket and Kalshi integrations stay closed across NAMI's server (403), quests, chat, CLI, and UI because prediction markets are restricted or prohibited in many jurisdictions. Base token and smart-contract checks run out of the box. Owners in jurisdictions where prediction markets are legal may opt in explicitly with NAMI_ENABLE_PREDICTION_MARKETS=true in ~/.nami/.env.
EcosystemDefaultWhat NAMI checksTereno capabilities
BaseEnabledNew launch scouting, Uniswap V2/V4 buy+sell exit simulation, LP lock/burn inspection, deployer-funded cabal clusters, EIP-1967 proxy & pause traps, and practice-only paper simulation (DRY_RUN=true, no real orders).token.launch.guard, token.holders.guard, contract.guard, token.metadata
PolymarketOff (opt-in)Gamma market discovery, UMA Optimistic Oracle dispute risk, emergency 50-50 clause detection, and automated /api/geoblock checks. Requires NAMI_ENABLE_PREDICTION_MARKETS=true where legal.prediction.evidence (polymarket)
Kalshi & Cross-VenueOff (opt-in)Kalshi Trade API v2 CFTC contract rules, early_close_condition auditing, and cross-venue settlement diffs. Requires NAMI_ENABLE_PREDICTION_MARKETS=true where legal.prediction.evidence (cross-venue)

Conversational tools & AI providers

NAMI works out of the box in Zero-LLM deterministic mode ($0): paste any Base 0x address, or ask "what is happening", "suggest work", "solve quest", or "show budget" directly in Chat.

To enable conversational reasoning on top of NAMI's live read-only activity context, configure any supported provider in ~/.nami/.env (or directly in Settings → Chat brain):

ProviderEnvironment variableCost model
Zero-LLM (default)None$0 — deterministic tools & watcher
Ollama (local)OLLAMA_API_ENDPOINT$0 — runs locally on your machine
GAIB Token KioskGAIB_TOKEN_KIOSK_API_KEYPay-as-you-go Base USDC directly with GAIB (no credit card)
OpenAI / Anthropic / GeminiOPENAI_API_KEY / ANTHROPIC_API_KEY / GOOGLE_GENERATIVE_AI_API_KEYStandard BYOK, bounded by NAMI_DAILY_LLM_BUDGET_USD

Deterministic security boundaries

Note
LLM cognition is strictly separated from money movement. NAMI is built on pinned @elizaos/core@1.7.2 (MIT) behind a thin RuntimeAdapter, while all keys, spending ceilings, crash-safe x402 WAL recovery, consent state, and execution gates live in @tereno/nami-economics. NAMI is software, not a financial adviser — automated checks can be wrong or out of date, and real-money execution is disabled in this version.
  • Raw private keys and API tokens never enter LLM prompts, HTTP responses, or social posts.
  • NAMI_DRY_RUN=true, NAMI_EXECUTION_ENABLED=false, NAMI_PRIVATE_ONLY=true, NAMI_SOCIAL_ENABLED=false, and NAMI_ENABLE_PREDICTION_MARKETS=false by default.
  • Unified owner notice acceptance stored locally in ~/.nami/consent.json (0600) before checks, quest submissions, or practice orders run.
  • Dual-wallet isolation: boot fails closed if Trade Wallet === Intel Wallet.
  • Instant filesystem Kill Switch (~/.nami/KILL or 1-click button in the top bar) halts all paid calls, autonomous work, and execution immediately.

Forking & headless embedding

NAMI software is MIT-licensed. Developers can import @tereno/nami-economics, @tereno/nami-tereno-bridge, and @tereno/nami-markets headlessly in any bot, set a custom NAMI_DISTRIBUTION_ID (or opt out of advisory headers with NAMI_TELEMETRY_MODE=off), and keep full access to Tereno capabilities, credits, and Base ERC-8004 reputation. See the Fork & Headless Integration Guide on GitHub.