mindX docs

221 documents · 309 API endpoints · living documentation from an evolving system

Book of mindX

Written by mindX itself via AuthorAgent.

LIVEAUTO 210 editions

Improvement Journal

Autonomous decisions and system snapshots.

LIVEAUTO

API (309)

API

Dojo

LIVE

Inference

LIVE

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.

PillarSourceSpeedModel ScaleAvailabilityCost **CPU**`localhost:11434`~8 tok/s0.6B–1.7BAlways (offline)Zero **Cloud**`ollama.com` via `OllamaCloudTool`~65 tok/s3B–1T24/7/365 (free tier)Zero SoldierWeightMarketing skillModule CEOn/abrief composition + post-consensus signer`ceo.py` CPO1.0HBR L1 — content drafting`cpo.py` CTO1.0HBR L2 — experimentation`cto.py` COO1.0HBR L3 — distribution`coo.py` CFO1.0HBR L4 — reporting + treasury`cfo.py` CISO1.2× **veto**identity + voice gate`ciso.py` CLO0.8regulatory + competitor`clo.py` CRO1.2× **veto**spend risk + hard-stop`cro.py` TierLocationPersistenceAccess Short-Term (STM)`data/memory/stm/`Per-sessionPer-agent Long-Term (LTM)`data/memory/ltm/`PermanentCross-agent via RAGE pgvectorPostgreSQLPermanentSemantic search Agent Workspaces`data/memory/workspaces/`Per-agentIsolated LayerSwarmVaultmindXLocationPurpose **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

Endpoint Map (309 routes)
AgenticPlace (3)
  • POST /agenticplace/agent/call — Call mindXagent through specified agent (CEO, mastermind, mi
  • GET /agenticplace/ceo/status — Get CEO status and seven soldiers
  • POST /agenticplace/ollama/ingest — Ingest prompt through Ollama AI
LLM Providers (27)
  • POST /api/llm/model-selection/best — Get best model for a task
  • GET /api/llm/model-selection/info — Get model selection system information
  • POST /api/llm/ollama/chat — Chat completion using Ollama
  • POST /api/llm/ollama/config — Set Ollama server configuration
  • GET /api/llm/ollama/connection — Test Ollama server connection
  • POST /api/llm/ollama/generate — Generate text completion using Ollama
  • GET /api/llm/ollama/model/{model_name} — Get model information
  • GET /api/llm/ollama/models — List available Ollama models
  • GET /api/llm/ollama/selected-model — Get currently selected Ollama model
  • POST /api/llm/ollama/set-selected-model — Set selected Ollama model
  • GET /api/llm/performance/metrics — Get LLM performance metrics
  • GET /api/llm/performance/rate-limits — Get rate limit status
  • GET /api/llm/providers — Get all LLM provider configurations
  • GET /api/llm/providers/intelligent/detect — Intelligently detect available providers from API folder
  • GET /api/llm/providers/intelligent/list — List all available providers from API folder
  • GET /api/llm/providers/intelligent/suggest/{provider_name} — Get intelligent suggestions for a provider
  • GET /api/llm/providers/registry — List all registered providers
  • POST /api/llm/providers/registry/register — Register a new provider
  • DELETE /api/llm/providers/registry/{provider_name} — Unregister a provider
  • POST /api/llm/providers/{provider_name}/disable — Disable a provider
  • POST /api/llm/providers/{provider_name}/enable — Enable a provider
  • POST /api/llm/providers/{provider_name}/metadata — Update provider-specific metadata
  • GET /api/llm/providers/{provider_name}/metadata — Get provider-specific metadata
  • GET /api/llm/providers/{provider_name}/metrics — Get provider metrics
  • POST /api/llm/providers/{provider_name}/rate-limits — Update provider rate limits
  • POST /api/llm/providers/{provider}/api-key — Set API key for a provider
  • POST /api/llm/providers/{provider}/test — Test API key for a provider
Ollama Admin (6)
  • GET /api/admin/ollama/diagnostics — Get diagnostic logs
  • POST /api/admin/ollama/interact — Interact with Ollama (input/response)
  • GET /api/admin/ollama/metrics — Get Ollama API metrics
  • GET /api/admin/ollama/models — List available Ollama models
  • GET /api/admin/ollama/status — Get Ollama connection status
  • POST /api/admin/ollama/test — Test Ollama connection
RAGE (10)
  • GET /api/rage/documents — List all ingested documents
  • GET /api/rage/documents/{doc_id} — Get document content
  • DELETE /api/rage/documents/{doc_id} — Delete a document
  • POST /api/rage/ingest/file — Ingest a file
  • POST /api/rage/ingest/path — Ingest a file or directory by path
  • POST /api/rage/memory/retrieve — Retrieve memories using semantic search
  • POST /api/rage/memory/store — Store memory using RAGE ingestion
  • POST /api/rage/retrieve — Retrieve context for a query
  • POST /api/rage/retrieve/for-llm — Retrieve formatted context for LLM
  • GET /api/rage/stats — Get RAGE system statistics
actions (3)
  • GET /actions/efficiency — Action pipeline efficiency metrics
  • GET /actions/export — Export all actions as JSON
  • GET /actions/export/csv — Export actions as CSV
activity (2)
  • GET /activity/recent — Activity Recent
  • GET /activity/stats — Activity Stats
admin (5)
  • POST /admin/narrator/recap — Operator-pinned recap (wallet-gated)
  • POST /admin/narrator/run-now — Force narrator autonomous cycle (shadow-overlord)
  • POST /admin/publish-book — Publish a new edition of The Book of mindX
  • POST /admin/publish-to-rage — Publish an article to rage.pythai.net (WordPress) via the wo
  • POST /admin/recognize/bug-crushed — Fire a bug.crushed coordinator event for milestone recogniti
agents (2)
  • GET /agents/interaction-matrix — Agent interaction frequency matrix
  • GET /agents/interactions — Recent agent-to-agent interactions
bankon (3)
  • GET /bankon — Bankon Get
  • POST /bankon — Bankon Post
  • GET /bankon/page — Bankon Page
bankon-vault (6)
  • DELETE /vault/credentials/delete — Delete Credential
  • GET /vault/credentials/list — List Credentials
  • GET /vault/credentials/providers — List Providers
  • POST /vault/credentials/reunlock — Reunlock
  • GET /vault/credentials/status — Vault Status
  • POST /vault/credentials/store — Store Credential
cabinet (1)
  • GET /cabinet/{company} — Cabinet Public
chat (2)
  • POST /chat/docs — Ask a question about mindX documentation (RAG)
  • GET /chat/docs/stats — Embedding statistics
config (2)
  • PATCH /v1/config/fallback-model — Swap the per-provider default (fallback) model at runtime
  • GET /v1/config/fallback-model — Read the current per-provider default (fallback) model
diagnostics (2)
  • GET /diagnostics/export — Full diagnostics snapshot as JSON download
  • GET /diagnostics/live — Diagnostics Live Endpoint
governance (8)
  • POST /boardroom/convene — Convene boardroom — CEO + Seven Soldiers evaluate directive
  • POST /boardroom/convene/stream — Stream boardroom votes as SSE — each vote arrives as it comp
  • GET /boardroom/sessions — Recent boardroom sessions
  • GET /dojo/agent/{agent_id} — Agent reputation detail
  • POST /dojo/reputation — Update agent reputation
  • GET /dojo/standings — Agent reputation standings
  • POST /governance/execute — Full DAIO governance chain: Boardroom → CEO → Mastermind
  • GET /governance/status — Governance chain status — CEO, boardroom, agents
inference (2)
  • POST /inference/multi-stream — Multi-stream parallel inference query
  • GET /inference/multi-stream/history — Multi-stream query history
inference-discovery (6)
  • GET /inference/best — Get Best Provider
  • POST /inference/discover — Discover Network
  • POST /inference/fallback-decide — Fallback Decide
  • GET /inference/improvement-history — Improvement History
  • POST /inference/probe — Probe All
  • POST /inference/self-improve — Self Improve
insight (63)
  • GET /insight/actions/breakdown — Insight Actions Breakdown
  • GET /insight/bdi/recent — Detailed BDI events from process_trace.jsonl
  • GET /insight/boardroom/cards — Loaded prompt + persona for CEO + 7 soldiers
  • POST /insight/boardroom/cloud_signin — CEO operator handoff — Ollama Cloud signin URL
  • GET /insight/boardroom/cloud_signin/status — Cloud signin handoff status (idempotent peek)
  • GET /insight/boardroom/health — CEO roll call — model availability per soldier
  • GET /insight/boardroom/members — Per-member fitness leaderboard
  • GET /insight/boardroom/members/{soldier_id} — Single member detail
  • GET /insight/boardroom/recent — Insight Boardroom Recent
  • GET /insight/boardroom/roles — Boardroom 7-soldier role registry
  • POST /insight/boardroom/rollcall — Live roll call — each soldier acknowledges presence
  • GET /insight/boardroom/rollcall — Live roll call (GET alias for browsers)
  • GET /insight/boardroom/session/{session_id} — Single boardroom session — full record
  • GET /insight/cognition — Information→knowledge→concept→wisdom→THOT→ingestion chain st
  • POST /insight/cognition/wisdom/index — Index recent dream training files into pgvector
  • GET /insight/cognition/wisdom/search — Retrieve top-k wisdom for a query
  • GET /insight/cognition/wisdom/stats — Wisdom tier indexing stats
  • GET /insight/cost/recent — Recent inference calls (provider, model, tokens, latency, co
  • GET /insight/cost/summary — Per-provider inference cost + token totals (windowed)
  • GET /insight/dialogue/recent — Insight Dialogue Recent
  • GET /insight/dreams/diff/{filename} — Per-dream STM→LTM diff with sample data
  • GET /insight/dreams/recent — Insight Dreams Recent
  • POST /insight/dreams/run — Trigger an accelerated dream cycle now
  • GET /insight/dreams/run — Latest accelerated dream report (peek only)
  • GET /insight/eval/recent — Insight Eval Recent
  • GET /insight/eval/summary — Insight Eval Summary
  • GET /insight/fitness — Insight Fitness
  • GET /insight/fitness/{agent_id}/trajectory — Insight Fitness Trajectory
  • GET /insight/godel/breakdown — Insight Godel Breakdown
  • GET /insight/godel/recent — Insight Godel Recent
  • GET /insight/godel/self_reference — Insight Godel Self Reference
  • GET /insight/host/cpu — CPU breakdown from netdata (last N seconds)
  • GET /insight/host/disk — Disk usage + Prometheus TSDB size
  • GET /insight/host/htop — htop-header-strip snapshot (per-core CPU + RAM segments + ta
  • GET /insight/host/memory — Memory + swap breakdown from netdata
  • GET /insight/host/probes — Blackbox probe status (requires Prom stack running)
  • GET /insight/improvement/summary — Insight Improvement Summary
  • GET /insight/improvement/timeline — Insight Improvement Timeline
  • GET /insight/interactions/recent — Insight Interactions Recent
  • GET /insight/knowledge/file — Read one LTM file (knowledge drill-down)
  • GET /insight/knowledge/recent — Recent LTM files (knowledge drill-down)
  • GET /insight/mastermind/board — Insight Mastermind Board
  • GET /insight/memory/audit — Live audit of /data memory tiers
  • GET /insight/memory/breakdown — Insight Memory Breakdown
  • POST /insight/memory/prune — Operator-triggered tier-aware prune (default dry_run)
  • GET /insight/memory/recent — Insight Memory Recent
  • GET /insight/memory/tiers — Memory tier retention policy + live state
  • GET /insight/milestones/health — Insight Milestones Health
  • GET /insight/milestones/recent — Insight Milestones Recent
  • GET /insight/milestones/{category}/recent — Insight Milestones By Category
  • GET /insight/model_selector/recent — Insight Model Selector Recent
  • GET /insight/narrative/recent — Last N narrative recap messages
  • GET /insight/publications/health — Insight Publications Health
  • GET /insight/selection/events — Insight Selection Events
  • GET /insight/skills — Insight Skills
  • GET /insight/storage/recent — Recent memory.offload events (CIDs + tx_hashes)
  • GET /insight/storage/status — Memory offload status counts
  • GET /insight/stuck_loops — Insight Stuck Loops
  • GET /insight/system — Comprehensive psutil snapshot — host + self-process
  • GET /insight/thot/lookup — Lookup THOT by dataCID — checks catalogue + (if configured)
  • GET /insight/thot/mints/recent — Recent THOT mint events from catalogue stream
  • GET /insight/thot/queue — Pending wisdom waiting for THOT mint
  • GET /insight/thot/status — THOT contract configuration + dimension standard + counts
keeperhub (5)
  • POST /p2p/keeperhub/agent/register — ERC-8004 agent register via KH x402 (paid)
  • POST /p2p/keeperhub/inference — 0G Compute inference via KH x402 (paid)
  • GET /p2p/keeperhub/info — KeeperHub bridge info (free)
  • POST /p2p/keeperhub/job/create — ERC-8183 job lifecycle via KH x402 (paid)
  • POST /p2p/keeperhub/workflow/callback — KeeperHub paid-workflow webhook target
marketing (6)
  • GET /marketing/brand_code — Current loaded brand-code (read-only)
  • GET /marketing/campaigns — Recent marketing campaign decisions from catalogue
  • GET /marketing/geo — Last GEO probe rollup (share-of-voice across LLM engines)
  • GET /marketing/identity — On-chain identity binding status (Tessera/ENS/AgentRegistry/
  • GET /marketing/session/{boardroom_session_id} — Join a BoardroomSession with the resulting MarketingAttribut
  • GET /marketing/status — Marketing Counsellor cabinet health (8-soldier map)
mindterm (10)
  • GET /mindterm/knowledge — Get Knowledge Base
  • GET /mindterm/knowledge/integrations — Get All Integrations
  • GET /mindterm/knowledge/integrations/{integration_name} — Get Integration Info
  • GET /mindterm/knowledge/repositories/{repo_name} — Get Repository Info
  • GET /mindterm/metrics — Get Metrics
  • GET /mindterm/metrics/{session_id} — Get Session Metrics
  • POST /mindterm/sessions — Create Session
  • DELETE /mindterm/sessions/{session_id} — Delete Session
  • GET /mindterm/sessions/{session_id}/blocks — Get Blocks
  • POST /mindterm/sessions/{session_id}/resize — Resize Session
other (109)
  • GET /admin/postgresql/config — Get PostgreSQL configuration
  • POST /admin/postgresql/config — Save PostgreSQL configuration
  • POST /admin/postgresql/test — Test PostgreSQL connection
  • GET /admin/vault/keys — List agent private keys in vault
  • POST /admin/vault/migrate — Migrate keys from legacy storage to vault
  • GET /agents — List all registered agents
  • POST /agents — Create a new agent
  • GET /agents/ — List all agents including file-based and system agents
  • GET /agents/activity — Get consolidated agent activity (canonical endpoint)
  • GET /agents/real-time-activity — Get real-time agent activities
  • DELETE /agents/{agent_id} — Delete an agent
  • POST /agents/{agent_id}/evolve — Evolve a specific agent
  • POST /agents/{agent_id}/sign — Sign a message with an agent's identity
  • GET /api/monitoring/inbound — Get inbound request metrics (latency ms, bytes, req/min)
  • POST /commands/agint/stream — AGInt Cognitive Loop Stream
  • POST /commands/analyze_codebase — Analyze a codebase
  • POST /commands/audit_gemini — Audit Gemini models
  • POST /commands/basegen — Generate Markdown documentation
  • POST /commands/deploy — Deploy a new agent
  • POST /commands/evolve — Evolve mindX codebase
  • POST /commands/introspect — Generate a new persona
  • POST /coordinator/analyze — Trigger system analysis
  • GET /coordinator/backlog — Get the improvement backlog
  • POST /coordinator/backlog/approve — Approve a backlog item
  • POST /coordinator/backlog/process — Process a backlog item
  • POST /coordinator/backlog/reject — Reject a backlog item
  • POST /coordinator/improve — Request a component improvement
  • POST /coordinator/query — Query the Coordinator
  • GET /core/agent-activity — Get agent activity
  • GET /core/bdi-status — BDI Agent status
  • POST /faicey/expressions — Create a Faicey expression from persona
  • GET /faicey/expressions — List all Faicey expressions
  • GET /faicey/expressions/agent/{agent_id} — Get expression for agent
  • GET /faicey/expressions/{expression_id} — Get a Faicey expression
  • PUT /faicey/expressions/{expression_id} — Update a Faicey expression
  • GET /faicey/expressions/{expression_id}/ui-config — Export expression as UI config
  • POST /faicey/speech/listen — Start listening mode
  • POST /faicey/speech/speak — Start speaking with morph target animation
  • POST /faicey/speech/stop — Stop speaking or listening
  • POST /github/execute — Execute GitHub agent operation
  • GET /github/schedule — Get backup schedule configuration
  • POST /github/schedule — Set backup schedule configuration
  • GET /github/status — Get GitHub agent status
  • GET /godel/choices — Get last N Gödel core choices (read-only audit log)
  • GET /health — Health check endpoint
  • GET /identities — List all identities
  • POST /identities — Create a new identity
  • DELETE /identities — Deprecate an identity
  • GET /inference/preference — Get current model preference (auto/local_only/cloud_preferre
  • POST /inference/preference — Set model preference (auto/local_only/cloud_preferred)
  • GET /inference/status — Get inference_agent status (providers, usage, budget)
  • GET /logs/runtime — Get runtime logs
  • GET /mindxagent/actions — Get mindXagent action choices
  • POST /mindxagent/autonomous/start — Start mindXagent in autonomous mode
  • POST /mindxagent/autonomous/stop — Stop mindXagent autonomous mode
  • POST /mindxagent/interact — Interact with mindXagent by injecting prompt into Ollama con
  • GET /mindxagent/logs/process — Get mindXagent process trace (memory_agent log_process)
  • POST /mindxagent/memory/log — Log event to mindXagent memory
  • GET /mindxagent/memory/logs — Get mindXagent memory storage logs
  • POST /mindxagent/memory/logs/clear — Clear mindXagent memory logs
  • GET /mindxagent/metrics — Get mindXagent metrics including iterations and tokens
  • GET /mindxagent/ollama/conversation — Get Ollama conversation history
  • POST /mindxagent/ollama/conversation/clear — Clear Ollama conversation history
  • POST /mindxagent/ollama/models/refresh — Refresh Ollama model list (manual)
  • GET /mindxagent/ollama/settings — Get Ollama settings (calls/min, model update interval)
  • PATCH /mindxagent/ollama/settings — Update Ollama settings
  • GET /mindxagent/ollama/status — Get mindXagent Ollama connection and inference status
  • POST /mindxagent/settings — Update mindXagent settings
  • GET /mindxagent/startup — Get startup_agent and mindXagent startup flow (input, respon
  • GET /mindxagent/status — Get mindXagent status
  • GET /mindxagent/thinking — Get mindXagent thinking process
  • GET /monitoring/rate-limits — Get rate limit monitoring dashboard data
  • GET /registry/agents — Show agent registry
  • GET /registry/tools — Show tool registry
  • POST /simple-coder/approve-update/{request_id} — Approve Update Request
  • POST /simple-coder/reject-update/{request_id} — Reject Update Request
  • GET /simple-coder/status — Get Simple Coder Status
  • GET /simple-coder/update-requests — Get Update Requests
  • GET /status/mastermind — Get Mastermind status
  • GET /system/agent-activity — Get real agent activity
  • GET /system/metrics — Get performance metrics
  • GET /system/resources — Get resource usage
  • GET /system/status — System status
  • GET /tools — List tools in tools folder
  • DELETE /usage/clear — Clear usage history
  • GET /usage/history — Get usage history
  • GET /usage/metrics — Get token usage metrics
  • POST /usage/track — Track API usage
  • POST /users/agents — Create a new agent for a user
  • POST /users/agents-with-signature — Create a new agent for a user with signature verification
  • POST /users/agents/delete-with-signature — Delete a user's agent with signature verification
  • POST /users/challenge — Generate a challenge message for signature
  • POST /users/logout — Invalidate session (logout)
  • POST /users/register — Register a new user with wallet address
  • POST /users/register-with-signature — Register a new user with wallet signature verification
  • GET /users/session/validate — Validate session token (vault-backed)
  • GET /users/{wallet_address}/agents — Get all agents owned by a user
  • DELETE /users/{wallet_address}/agents/{agent_id} — Delete a user's agent
  • GET /users/{wallet_address}/stats — Get user statistics
  • POST /vault/access/ip — Log IP access
  • GET /vault/access/ip/history — Get IP access history for ML inference
  • GET /vault/access/summary — Get access summary for ML inference
  • POST /vault/access/url — Log URL access
  • GET /vault/access/url/history — Get URL access history for ML inference
  • GET /vault/credentials/get/{credential_id} — Get access credential from vault
  • GET /vault/user/keys — List keys in the authenticated user's vault folder
  • GET /vault/user/keys/{key} — Get value for a key in the authenticated user's vault folder
  • PUT /vault/user/keys/{key} — Set value for a key in the authenticated user's vault folder
  • DELETE /vault/user/keys/{key} — Delete a key in the authenticated user's vault folder
publish (2)
  • POST /publish/rage/authorize — Verify the signed challenge and publish
  • POST /publish/rage/challenge — Issue a publish-authorization challenge
rage-embed (2)
  • GET /api/rage/embed — RAGE embed: semantic search over docs via pgvector
  • GET /api/rage/embed/stats — RAGE embed: embedding statistics
resources (3)
  • POST /resources/auto — Toggle auto-adjust on/off
  • POST /resources/mode — Set resource mode: greedy, balanced, generous, minimal
  • GET /resources/status — Resource governor status — mode, limits, neighbor load
shadow-overlord (6)
  • POST /admin/cabinet/{company}/clear — Cabinet Clear
  • GET /admin/cabinet/{company}/preflight — Cabinet Preflight
  • POST /admin/cabinet/{company}/provision — Cabinet Provision
  • POST /admin/shadow/challenge — Shadow Challenge
  • POST /admin/shadow/release-key/{agent_id} — Release Private Key
  • POST /admin/shadow/verify — Shadow Verify
storage (4)
  • GET /storage/anchor/health — Chain anchor configuration status
  • GET /storage/eligible — List STM directories eligible for offload
  • GET /storage/health — IPFS provider reachability
  • POST /storage/offload — Run offload projector (dry_run by default)
thesis (2)
  • GET /thesis/evidence — Structured evidence for the Darwin-Godel Machine thesis
  • GET /thesis/summary — Human-readable thesis evidence summary
users (1)
  • GET /users/{wallet_address}/permissions — Tier + can_access[] for /login card grid
vault-sign (1)
  • POST /vault/sign/{agent_id} — Vault Sign
vllm (5)
  • POST /vllm/build-cpu — Build vLLM from source for CPU (takes 10-30 min)
  • GET /vllm/health — vLLM server health check
  • POST /vllm/serve — Start vLLM model serving
  • GET /vllm/status — vLLM agent status and efficiency report
  • POST /vllm/stop — Stop vLLM serving
pgvectorscale Index (17569 embedded)
All Documents by Category (221)

Core Architecture (12)

Agents (42)

Tools (32)

Governance & DAIO (6)

Memory & Knowledge (11)

Deployment & Operations (13)

API & Integration (17)

Philosophy & Vision (10)

Tutorials & Guides (4)

Other (74)

dashboard · docs · book · journal · api · dojo · inference · origin · mindx.pythai.net · © Professor Codephreak