Local-First  •  Multi-Provider  •  Open Architecture

🔴 RedAeye

A sovereign LLM agent framework: multi-provider orchestration, plugin skills, 4-layer memory and tool use — runs locally in one command, deploys anywhere.

8+
Providers routed
Free→Power→Speed
Routing priority
L1–L4
Memory layers
Tools+Guidelines
Skill = Workflow

Built for real work

Not a wrapper around one API. RedAeye routes across providers with key pooling, circuit breakers and cost-aware policy — and its skills are knowledge the agent fully learns.

🧠

Multi-Provider Orchestration

Groq, OpenRouter, OpenAI, DeepSeek, Together, DeepInfra, Fireworks, Mistral — sorted by cost, then power, then speed. Automatic failover + round-robin key pools.

🧩

Skills = Tools + Guidelines + Workflow

Drop a plugin file and the agent learns the full skill. A meta-skill generates new skills from natural-language descriptions.

🗂

4-Layer Memory Vault

Working memory, token-aware pruning, rolling episodic summaries, semantic recall and user profile — cross-session persistence.

🔁

ReAct Tool Loop

Metacognitive planning, skill activation and bounded tool-use rounds — with dict/object-agnostic tool-call normalization.

🖥

Terminal first, UI included

python main.py for the CLI. The same engine powers a Gradio chat UI and a FastAPI (/chat, /skills, /health).

🔐

Local-first & key-safe

Keys live in .env or host secrets — never in code. Offline mock mode lets everything run and be tested with zero keys.

Architecture

One engine, three brains: routing, skills, memory.

User terminal / UI / API RedAeye Engine metacognitive planning skill activation bounded ReAct loop Skill Registry tools + guidelines + workflow Memory Vault working / episodic / semantic / profile Provider Orchestrator free → power → speed · pooling · CB Providers Groq · OpenRouter OpenAI · DeepSeek Together · DeepInfra Fireworks · Mistral multi-key pools circuit breakers

What a session looks like

Reproduced output from the offline smoke test — the full tool loop was exercised end-to-end.

redaeye — python main.py
🔴 RedAeye online. Providers: ['groq', 'openrouter'] | Skills: ['Skill_Generator', 'System_Information', 'Wealth_Generation'] Ari > scan the market for legal AI Pyrite > Tool scan_market → Analysis for AI automation for legal firms: Found a gap in high-end AI automation for legal firms. Recommended wedge: contract-review agents for boutique law practices… Ari > give me system info Pyrite > Tool get_system_info → OS: Linux 6.1.158+ (#1 SMP PREEMPT_DYNAMIC …)

Run it in 60 seconds

Zero keys needed for the offline demo. Add a free key when you want live intelligence.

# 1. get the code (Files tab of this Space / GitHub)
pip install -r requirements.txt

# 2. run offline instantly (mock provider, full tool loop)
python main.py --offline

# 3. go live with a FREE key (Groq / OpenRouter)
cp .env.example .env   # paste your key, then:
python main.py

Providers & free tiers

Routing priority is explicit: free → most advanced → fastest.

ProviderTypeFree tierGet a key
GroqSpeed + free modelsYesconsole.groq.com
OpenRouterAggregator (:free models)Yesopenrouter.ai
Google AI StudioGemini directYesaistudio.google.com
MistralDirect + free tierYesconsole.mistral.ai
Hugging FaceInference providersYeshuggingface.co
OpenAI · DeepSeek · Together · DeepInfra · FireworksDirect / aggregatorsPay-as-you-gosee .env.example

Live chat — bring your own free key

This box talks to a real model directly from your browser (OpenRouter). Your key stays in this tab — nothing is stored on any server.

ready.

Free keys: openrouter.ai/settings/keys (key starts with sk-or-) · Model: openrouter/auto · The key is cleaned of invisible characters automatically.

Deploy anywhere

💻

Local (recommended)

python main.py — terminal agent on your machine. Keys in .env. Optional: python installer.py for Typical / Advanced / Custom modes.

🐳

Docker

Everything in this repo is Docker-ready (Dockerfile + FastAPI/Gradio app on port 7860, endpoints /chat /health /skills). render.yaml included for one-click free hosting.

🔗

Instant public demo

Run locally, then cloudflared tunnel --url http://localhost:7860 — free public HTTPS URL in seconds, perfect for a live walkthrough.