Skip to content

eason-tien/arcmind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  ArcMind

OODA-based Autonomous AI Agent
Multi-provider routing ยท 63 skills ยท 4-layer memory ยท Self-healing

MIT License Python 3.12+ CI

Quick Start ยท Full Guide ยท API Docs ยท Architecture ยท Contributing


What is ArcMind?

ArcMind is an autonomous AI agent that thinks in OODA loops (Observe โ†’ Orient โ†’ Decide โ†’ Act). It can browse the web, manage files, write code, schedule tasks, send Telegram messages, and learn from every interaction โ€” all with built-in governance and self-healing.

ArcMind Architecture

โœจ Features

Category Highlights
๐Ÿง  Reasoning OODA loop, multi-step planning, goal tracking
๐Ÿ”€ Model Routing Auto-selects best LLM per task (OpenAI, Anthropic, Ollama, NVIDIA NIM, custom)
๐Ÿ› ๏ธ 63 Skills Web search, browser automation, code execution, file ops, email KB, cron scheduling, and more
๐Ÿ’พ 4-Layer Memory Working โ†’ Short-term โ†’ Long-term โ†’ Vector (ChromaDB)
๐Ÿค– Multi-Agent CEO delegates to specialist agents (search, code, QA, DevOps, PM)
๐Ÿ“ฑ Channels Telegram bot, REST API, WebSocket, voice input
๐Ÿ”’ Governance Governorๅฎก่ฎก, risk assessment, action approval
๐Ÿฉบ Self-Healing Watchdog + repair agent + auto-restart
๐Ÿ“Š Observability Prometheus + Grafana + Loki stack
๐Ÿ“… Scheduler Cron-based task scheduling with timezone support

๐Ÿš€ Quick Start

Option 1: Docker (Recommended)

# Clone
git clone https://github.com/eason-tien/arcmind.git
cd arcmind

# Configure (only 3 required vars)
cp .env.example .env
# Edit .env: set ARCMIND_API_KEY and at least one LLM provider key

# Start
docker compose up -d

# Check health
curl http://localhost:8100/health

Option 2: Local Development

# Clone
git clone https://github.com/eason-tien/arcmind.git
cd arcmind

# Setup
make setup    # Creates venv, installs deps, copies .env

# Configure
# Edit .env: set ARCMIND_API_KEY and at least one LLM provider key

# Run
make dev      # Starts ArcMind on port 8100

Option 3: Makefile Commands

make setup     # First-time setup
make dev       # Start development server
make test      # Run tests
make lint      # Run linter
make docker    # Build & start with Docker
make clean     # Clean generated files

โš™๏ธ Configuration

ArcMind uses a .env file for configuration. Copy .env.example to get started:

cp .env.example .env

Required Variables (minimum to run)

Variable Description
ARCMIND_API_KEY API key for authenticating requests to ArcMind
At least one LLM provider See below

LLM Providers (pick one or more)

Provider Variable Notes
Ollama (local) OLLAMA_ENABLED=true Free, runs locally
OpenAI OPENAI_API_KEY GPT-4o, GPT-4
Anthropic ANTHROPIC_API_KEY Claude Sonnet/Opus
NVIDIA NIM NVIDIA_API_KEY Llama, Mistral
Custom CUSTOM_MODEL_BASE_URL Any OpenAI-compatible API

See .env.example for the full list of optional configuration.

๐Ÿ—๏ธ Architecture

arcmind/
โ”œโ”€โ”€ api/           # FastAPI HTTP server
โ”œโ”€โ”€ channels/      # Telegram, WebSocket
โ”œโ”€โ”€ config/        # Settings, tool registry
โ”œโ”€โ”€ db/            # Database models
โ”œโ”€โ”€ foundation/    # MGIS client (governance, memory)
โ”œโ”€โ”€ governor/      # Risk assessment & action approval
โ”œโ”€โ”€ loop/          # OODA main loop, goal tracker
โ”œโ”€โ”€ memory/        # 4-layer memory system
โ”œโ”€โ”€ runtime/       # Model router, skill manager, lifecycle
โ”œโ”€โ”€ skills/        # 63 built-in skills
โ”œโ”€โ”€ tools/         # Tool definitions
โ”œโ”€โ”€ watchdog.py    # Self-healing watchdog
โ””โ”€โ”€ main.py        # Entry point

Key Components

  • Model Router (runtime/model_router.py) โ€” Routes tasks to the optimal LLM based on task type, cost budget, and capability requirements. Auto-fallback on failure.
  • Skill Manager (runtime/skill_manager.py) โ€” Discovers, loads, and executes skills with YAML manifests.
  • OODA Loop (loop/main_loop.py) โ€” Core reasoning loop: Observe โ†’ Orient โ†’ Decide โ†’ Act โ†’ Learn.
  • Governor (governor/) โ€” Pre-execution risk assessment. Blocks dangerous actions.
  • Memory (memory/) โ€” Working memory โ†’ short-term โ†’ long-term โ†’ vector embeddings (ChromaDB).

๐Ÿ“ก API

ArcMind exposes a REST API on port 8100 (default):

# Health check
curl http://localhost:8100/health

# Send a message
curl -X POST http://localhost:8100/v1/chat \
  -H "Authorization: Bearer YOUR_ARCMIND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message": "Search for the latest AI news"}'

๐Ÿค Contributing

See CONTRIBUTING.md for guidelines.

๐Ÿ“„ License

MIT ยฉ ArcMind Contributors

About

๐Ÿง  OODA-based autonomous AI Agent โ€” multi-provider LLM routing, 63 skills, 4-layer memory, self-healing, Telegram bot

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors