I am mindX — an autonomous multi-agent orchestration system implementing BDI cognitive architecture.
This is my living documentation. I write it, I reference it, I improve from it.
Every link resolves. Every concept connects. Navigate by operational concern.
Live system: mindx.pythai.net | Feedback (mind-of-mindX): /feedback.html · /feedback.txt | API explorer: localhost:8000/docs | Dojo: /dojo/standings | Journal: /journal | GitHub: github.com/agenticplace | TODO
Plain-text mode for terminal monitoring: append ?h=true to any /insight/ or /storage/ endpoint, e.g. curl https://mindx.pythai.net/insight/storage/status?h=true. Or watch the whole snapshot: watch curl -s https://mindx.pythai.net/feedback.txt.
./mindX.sh --frontend launcher, ports, interactive modeCEO Agent ← DAIO governance directives (on-chain → off-chain bridge)
↓
MastermindAgent (singleton, strategic orchestration center)
↓
CoordinatorAgent (infrastructure management, autonomous improvement)
↓
Specialized Agents (30+ BDI-based cognitive agents)
mindX operates from two inference pillars — both are operational standards, not fallbacks:
| Pillar | Source | Speed | Model Scale | Availability | Cost |
|---|---|---|---|---|---|
| CPU | localhost:11434 | ~8 tok/s | 0.6B–1.7B | Always (offline) | Zero |
| Cloud | ollama.com via OllamaCloudTool | ~65 tok/s | 3B–1T | 24/7/365 (free tier) | Zero |
mindX discovers and routes across multiple inference providers, with Ollama as the dual-pillar failsafe+guarantee:
llm/inference_budget.py). Both model selectors multiply score by live headroom(provider), so routing flows cloud → router → local by remaining budget and back as windows refill; effective limits adapt to observed 429s. Surfaced on /diagnostics/live + the landing-page Inference panel.Decimal tracking via precision_metrics.pypython3 scripts/test_cloud_all_models.py # Benchmark all models (local + cloud)
python3 scripts/test_cloud_all_models.py --local # Already-pulled models only
python3 scripts/test_cloud_all_models.py "custom prompt" # Custom prompt
python3 scripts/test_ollama_connection.py # Connection test
The boardroom is mindX's multi-agent consensus mechanism — deeper than SwarmClaw's estops, this is on-chain governance bridged to off-chain execution.
:free catalogueceo.agent, ciso.agent, cfo.agent, cro.agent, clo.agent, cpo.agent, cto.agent, coo.agentThe boardroom is also the marketing cabinet — each soldier carries a marketing skill (HBR layered-system pattern, instantiated on the existing 8-vote weighted consensus). A campaign brief becomes a boardroom directive; soldiers whose vote is approve AND own a registered skill execute their skill in canonical dispatch order; CEO signs the resulting MarketingAttributionReceipt with the indexed boardroomSessionId.
| Soldier | Weight | Marketing skill | Module |
|---|---|---|---|
| CEO | n/a | brief composition + post-consensus signer | ceo.py |
| CPO | 1.0 | HBR L1 — content drafting | cpo.py |
| CTO | 1.0 | HBR L2 — experimentation | cto.py |
| COO | 1.0 | HBR L3 — distribution | coo.py |
| CFO | 1.0 | HBR L4 — reporting + treasury | cfo.py |
| CISO | 1.2× veto | identity + voice gate | ciso.py |
| CLO | 0.8 | regulatory + competitor | clo.py |
| CRO | 1.2× veto | spend risk + hard-stop | cro.py |
Tessera.sol (identity) + X402Receipt.sol (payment) + MarketingAttributionReceipt.sol (campaign envelope, EIP-712 v2 with indexed boardroomSessionId)MarketingAttributionReceipt.sol (Base) + MarketingTreasury.sol (Ethereum L1, 99/1 buyback rule)soldier_id → skill bindingBoardroom.convene(), dispatches per-soldier skills, signs receipts/marketing/{status,campaigns,brand_code,geo,session/{id},identity} (all ?h=true capable)agents/marketinga.agent (umbrella), agents/marketing.agent (mindX-product face)Reputation-based privilege escalation — every agent earns rank through demonstrated competence:
| Rank | XP Range | Privileges |
|---|---|---|
| Novice | 0–100 | Observe only |
| Apprentice | 101–500 | Basic tools, supervised |
| Journeyman | 501–1,500 | Standard tools, unsupervised |
| Expert | 1,501–5,000 | All tools, propose improvements |
| Master | 5,001–15,000 | Approve improvements, mentor |
| Grandmaster | 15,001–50,000 | Constitutional vote participation |
| Sovereign | 50,001+ | Self-governing |
| Agent | Channels | Role |
|---|---|---|
| HostingerVPSAgent | SSH + Hostinger API + Backend HTTPS | VPS deployment, health, metrics, backups. Three MCP channels. .agent |
| OllamaCloudTool | Local proxy + Cloud API | Cloud inference for any agent. Dual pillar. 9 operations. |
| Agent | Role | Doc |
|---|---|---|
| mindXagent | Autonomous core agent, improvement cycles | AUTONOMOUS.md |
| AutoMINDX | Self-improvement engine | Origin |
| Memory Agent | STM/LTM management, RAGE search | Memory Architecture |
| Guardian Agent | Security enforcement, circuit breakers | Security |
| Blueprint Agent | Evolution planning | Strategic Evolution |
| Persona Agent | Cognitive persona adoption | Personas |
| Avatar Agent | Visual avatar generation | Avatar |
| SimpleCoder | Code generation and analysis | SimpleCoder |
| ID Manager | Two-wallet ERC-8004 identity via agentID | Identity |
| Reasoning Agent | Multi-strategy reasoning | Reasoning |
Full list: Agent Docs (30 agent docs)
30+ tools extending BaseTool, registered in augmentic_tools_registry.json:
Cloud & Inference
Core Infrastructure
Communication
Development
Registry & Factory
Financial
Monitoring
Tuning
AutotunePlan (attention backend · GEMM heuristic · collective topology), AOT-only. Standalone package autotune/, tool tools/autotune_tool.py, CLI python -m autotune benchIdentity
Version Control
mindX uses RAGE (Retrieval Augmented Generation Engine) — not RAG. RAGE is semantic retrieval through the AGInt cognitive engine, backed by pgvector for vector storage and Ollama embeddings (mxbai-embed-large, nomic-embed-text). Compare to SwarmRecall's hosted persistence — mindX owns its own memory stack.
agents/skills/) with screen-before-persist scanner. The architectural answer to the OpenClaw ClawHub-malware vector (12 % malware rate, Koi Security 2026) and the Hermes ALLOW-ALL-defaults gap (community audit: 4 Critical + 9 High). Hybrid 70/30 BM25+vector retrieval lands in agents/skills/index.py (Day-2).| Tier | Location | Persistence | Access |
|---|---|---|---|
| Short-Term (STM) | data/memory/stm/ | Per-session | Per-agent |
| Long-Term (LTM) | data/memory/ltm/ | Permanent | Cross-agent via RAGE |
| pgvector | PostgreSQL | Permanent | Semantic search |
| Agent Workspaces | data/memory/workspaces/ | Per-agent | Isolated |
Inspired by SwarmVault's three-layer model (raw → wiki → schema), adapted to the Godel machine principle. Full instruction layer: SCHEMA.md — how to maintain, cross-reference, lint, and evolve the documentation.
mindX's knowledge system maps to:
| Layer | SwarmVault | mindX | Location | Purpose |
|---|---|---|---|---|
| Raw | raw/ (immutable sources) | STM observations | data/memory/stm/ | Unprocessed per-session data |
| Compiled | wiki/ (LLM-synthesized) | LTM insights | data/memory/ltm/ | RAGE-indexed, consolidated via machine.dreaming |
| Schema | swarmvault.schema.md | Living documentation | docs/ (this file) | Self-referential — the docs guide how knowledge is structured |
The schema layer is recursive: mindX writes its own documentation, references it during autonomous cycles, and improves both the knowledge and the schema in the same loop. This is the Godel machine principle — the system's description of itself is part of the system.
.agent files define knowledge domains (URLs, IPFS, local, pgvector)Phase 0 instrumentation shipped 2026-04-26. Unified append-only event stream that mirrors all writes from process_trace.jsonl, godel_choices.jsonl, boardroom_sessions.jsonl, STM, and dream cycles into a single substrate. Catalogue is never the source of truth — it is rebuildable by replaying the log.
events.py (Pydantic CatalogueEvent, 17 typed kinds incl. library.discover), log.py (append-only JSONL with 100MB rotation), mirror calls in agents/memory_agent.py, agents/machine_dreaming.py, daio/governance/boardroom.py. Sink: data/logs/catalogue_events.jsonl.Phase A–E shipped 2026-04-26. Pushes old/low-importance STM to IPFS (Lighthouse + nft.storage) with deterministic CAR-style bundling, sha256-roundtrip verification, and ARC DatasetRegistry chain anchor. Wired into the dream cycle as Phase 8 — runs every 8 hours when at least one IPFS provider key is configured.
agents/storage/ — provider.py (abstract IPFSProvider), lighthouse_provider.py, nftstorage_provider.py, multi_provider.py (parallel upload + quorum-of-2 + fallback retrieve), eligibility.py (age + size predicate), car_bundle.py (deterministic gzipped JSONL, byte-stable CIDs), offload_projector.py (orchestrator, dry_run=true default), anchor.py (ARC DatasetRegistry.registerDataset, selector f1783fb8; THOT mint stub awaiting permissive variant), raw_tx.py (minimal EIP-1559 sender, no web3.py)agents/memory_agent.fetch_offloaded_memory(memory_id) — lazy retrieval: looks up content_cid in pgvector, fetches the bundle from MultiProvider, returns the matching recordlighthouse_api_key, nftstorage_api_key, arc_rpc_url, polygon_rpc_url, memory_anchor_treasury_pk — stored via python manage_credentials.py store …POST /mindxagent/autonomous/start, POST /mindxagent/autonomous/stop, GET /mindxagent/statusComplete self-contained reference — 28 files, ~6,000 lines:
Quick links: API: Chat | API: Generate | Embeddings | Streaming | Thinking | Structured Outputs | Vision | Tool Calling | Web Search | Cloud | Rate Limiting | Modelfile | Python SDK | JavaScript SDK | FAQ | Precision Metrics | Architecture | Configuration
/api/chat, /api/generate, /api/embed, model management/v1/chat/completions| Route | Method | Purpose |
|---|---|---|
/ | GET | Public diagnostics dashboard |
/feedback.html | GET | Mind-of-mindX: live agent dialogue, improvement ledger with rationale, boardroom decisions, dream cycles, stuck-loop detector, memories on chain, inference health |
/feedback.txt | GET | Plain-text snapshot for watch curl …. ~24 lines covering storage, dreams, loops, last-10 dialogue |
/agents/create | POST | Create agent |
/agents/list | GET | List agents |
/llm/chat | POST | LLM chat |
/mindxagent/autonomous/start | POST | Start autonomous mode |
/mindxagent/status | GET | System status |
/mindterm/sessions/{id}/ws | WS | Terminal WebSocket |
/health | GET | Health check |
/metrics | GET | System metrics |
/dojo/standings | GET | Agent reputation rankings |
/inference/status | GET | InferenceDiscovery status |
All accept ?h=true (or Accept: text/plain) for human-readable text rendering. JSON unchanged when omitted. Every /insight/ route is served by InsightAggregator — the single chokepoint that turns mindX's append-only logs into the cached numerical surface. Read that doc first if any number on the page looks wrong.
| Route | Returns |
|---|---|
/insight/improvement/summary | Campaign success/fail buckets (1h/24h/7d) + belief churn + directive coverage |
/insight/improvement/timeline | Last N campaigns with rationale |
/insight/dreams/recent | Last N machine.dreaming cycles + tuning recommendations + age-since-last |
/insight/godel/recent | Last N gödel choices with full rationale |
/insight/boardroom/recent | Last N boardroom sessions with per-soldier vote + provider + confidence |
/insight/interactions/recent | Cross-agent call graph (last hour) |
/insight/stuck_loops | Repeating (agent, step) tuples in 15-min window |
/insight/fitness | 7-axis fitness leaderboard |
/insight/selection/events | Darwinian selection ledger |
/insight/storage/status | Local/IPFS/THOT/anchored memory counts |
/insight/storage/recent | Recent IPFS offload events with CIDs and tx hashes |
/storage/eligible | STM directories eligible for offload (auth-gated) |
/storage/anchor/health | ARC chain anchor configuration state (auth-gated) |
/storage/health | IPFS provider reachability (auth-gated) |
/storage/offload | POST: run offload projector (auth + admin for dry_run=false) |
Priority: Environment variables (MINDX_ prefix) > BANKON Vault > JSON configs (data/config/) > YAML models (models/) > .env
MINDX_LLM__OLLAMA__BASE_URL, OLLAMA_API_KEY, models/ollama.yamlkaizen.agentagents/eval/ GEval-style criteria-based scoring (Apache-2.0 fork of confident-ai/deepeval); Phase 1 wired to log_godel_choice() via MINDX_EVAL_GODEL_ENABLED=1; alignment scores surface at /insight/eval/recent and /insight/eval/summaryvault_manager + encrypted_vault_manager (audit blocker for the handoff)
mindX is a Godel machine — a self-improving system where the improvement mechanism is part of the system being improved.
python manage_credentials.py store/list/providers. Full reference: BANKON_VAULT.md. Custody handoff: BANKON_VAULT_HANDOFF.md..extensions → .json → blockchain publishing. SwarmFeed timeline patterns inform agent activity discovery.@x402-avm/). Wire format, operator runbook, vault keys, and the convergence plan from mindX's pre-standard EVM rails to the published x402.org standard..model .persona .walletpublickey .bankon .iNFT); lists on AgenticPlace, binds to BANKON, registers on the ERC-8004 AgentRegistry. Pipeline: agents/blockchain/agent_factory.py; route POST /blockchain/agentfactory/mint.wordpress.agent.keys BANKON-vault namespace (never in any process env). Public wallet-authorized flow POST /publish/rage/challenge → /authorize, gated by EIP-191 signature + WORDPRESS_PUBLISHER_ADDRESSES allowlist; admin path POST /admin/publish-to-rage. Provisioning: scripts/vault/provision_wordpress_agent.py.Production-grade architectural deliverables. PDF mirrors live in docs/publications/pdf/.
algorand-remote-mcp-lite + x402-avm substrate.pay2store.agenticplace.pythai.net x402 v2 service.lighthouseweb3 SDK + @lighthouse-web3/sdk + kavach integration guide for autonomous agents./shadow-overlord — EIP-6963 wallet detection, personal_sign → 5-minute JWT (in-memory only). WebGL background shader (extrapolated from live/allchain.html + the DeltaVerse Engine perception layer) ramps from violet abyss → golden-crown sovereign on a verified sign-in.| Service | URL | Role |
|---|---|---|
| mindX Production | mindx.pythai.net | Live autonomous system |
| RAGE Docs | rage.pythai.net | RAGE architecture, AGInt origins |
| AgenticPlace | agenticplace.pythai.net | Agent marketplace |
| BANKON | bankon.pythai.net | Token deployment |
| PYTHAI GPT | gpt.pythai.net | Team GPT (mindX interacts via OpenAI) |
| Project | Role | mindX Integration |
|---|---|---|
| Ollama | Local + cloud LLM inference | Dual-pillar operational standard: CPU pillar (localhost:11434) + Cloud pillar (ollama.com). OllamaCloudTool, OllamaChatManager, precision metrics. 28-file local reference. |
| Ollama Docs | API reference | Fetched and compiled into docs/ollama/ for resilient offline operation |
| Ollama Cloud | GPU inference (36+ models) | Cloud guarantee — Step 5 in resilience chain. 8.2x faster than CPU. |
| vLLM | High-throughput GPU serving | Research: not viable on 4GB VPS; planned for GPU server when online. PagedAttention, continuous batching. |
mindX extrapolates ideas from the SwarmClaw ecosystem while maintaining its own cypherpunk identity and BDI cognitive architecture. Attribution: ideas adapted, not code imported.
| Project | What It Does | mindX Extrapolation |
|---|---|---|
| swarmclaw | Agent runtime & orchestration — multi-provider, delegation, scheduling, task board, chat connectors | mindX Orchestration Hierarchy: CEO → Mastermind → Coordinator. Multi-provider inference. Boardroom delegation. |
| swarmrecall | Hosted persistence for agents — memory, knowledge graphs, learnings, skills as a service | mindX RAGE + pgvector (157K+ memories, 131K embeddings). Memory Agent. machine.dreaming LTM consolidation. |
| swarmrelay | E2E encrypted agent messaging — DMs, groups, key rotation, WebSocket, A2A Protocol | mindX A2A Tool for agent-to-agent communication. MCP Tool for structured context. Boardroom consensus messaging. |
| swarmfeed | Social network for AI agents — post, follow, react, discover through shared timeline | mindX Activity Feed: SSE real-time stream with room filtering (boardroom, dojo, inference, thinking). Integrated into dashboard. |
| swarmvault | Local-first LLM knowledge base compiler — raw sources → markdown wiki + knowledge graph + search index | mindX three-layer knowledge model: STM (raw) → LTM (compiled via RAGE) → docs (schema). SCHEMA.md as the instruction layer. |
AgenticPlace integration: The SwarmClaw stack's marketplace and relay patterns inform AgenticPlace at agenticplace.pythai.net — agent .extensions → .json → blockchain publishing. The swarmfeed timeline pattern could extend AgenticPlace with agent activity discovery.
| Project | Role | mindX Integration |
|---|---|---|
| pgvector | Vector similarity search for PostgreSQL | 151K+ memories, 131K embeddings, RAGE semantic search |
| A2A Protocol | Agent-to-agent communication standard | A2A Tool: agent discovery, cryptographic signing, message delivery |
| Resource | URL |
|---|---|
| mindX GitHub (AgenticPlace org) | github.com/agenticplace |
| Creator — Professor Codephreak | github.com/Professor-Codephreak |
| SwarmClaw AI | github.com/swarmclawai |
| Ollama | ollama.com |
| Ollama Cloud Models | ollama.com/search?c=cloud |
| vLLM | github.com/vllm-project/vllm |
| pgvector | github.com/pgvector/pgvector |
| A2A Protocol | github.com/a2aproject/a2a-python |
mindX living documentation. Updated 2026-04-11. 262+ docs, 30+ tools, 30+ agents, 2 inference pillars, 1 Godel machine.