MadeiraG/aeon-next
0
AEON NEXT — Home AI Agent System
A local-first multi-agent AI project for a Mac mini / home server. It is designed to run with free local models first, then optionally use Hugging Face or paid providers when available.
What it is
- FastAPI backend
- React dashboard
- SQLite persistence
- 4 agent roles: Trader, Analyst, Creator, Auditor
- local model support via Ollama
- optional cloud model support via Hugging Face inference
- Docker-based deployment for Hugging Face Spaces
Local-first setup
- Copy
.env.exampleto.env - Prefer free local AI:
MODEL_PROVIDER=autoOLLAMA_BASE_URL=http://localhost:11434OLLAMA_MODEL=llama3.1- Start the app with Docker or local uvicorn
Free AI options
Ollama (recommended)
MODEL_PROVIDER=ollama
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=llama3.1Hugging Face
MODEL_PROVIDER=huggingface
HF_TOKEN=your_token_here
HF_MODEL=google/gemma-2-2b-it
HF_BASE_URL=https://api-inference.huggingface.coOptional Anthropic fallback
ANTHROPIC_API_KEY=your_key_hereRun locally
cp .env.example .env
pip install -r requirements.txt
python -m uvicorn app.backend.main:app --reload --host 0.0.0.0 --port 8000Frontend in another terminal:
cd app/frontend
npm install
npm run devOpen:
- http://localhost:5173
- http://localhost:8000/docs
Docker setup
docker compose up -dThis includes an Ollama service for a home/server environment.
Hugging Face deployment
This repo is already connected to a Hugging Face Space remote and is configured for a Docker-based Space.
Use space secrets/variables for:
MODEL_PROVIDEROLLAMA_BASE_URLOLLAMA_MODELHF_TOKENHF_MODELANTHROPIC_API_KEYNEWSAPI_KEY
Architecture
- backend:
app/backend/ - frontend:
app/frontend/ - database: SQLite in
/data/aeon.db - providers: provider abstraction in
app/backend/llm_provider.py
Notes
This project is designed to work at home on a Mac mini with free local AI where possible, and to degrade gracefully if no paid endpoint is configured.
