Forge is a local, privacy-first Windows OS automation agent designed to help individuals control their computers using voice commands and hand gestures.
By tying together local reasoning models (Hermes 2 Pro via LM Studio) and multimodal visual verification (Moondream, PyTesseract), Forge provides hands-free, intelligent operation of the Windows desktop.
graph TD
User(("🗣️ User Request")) --> UI["💻 Ecosystem Control Center"]
%% The Brain Injection
UI --> Macro["🏗️ Macro Orchestrator\n(Logic & Loops)"]
Macro -->|Dynamic Sub-Tasks| Planner{"🧠 ARIA Planner\n(Hermes 8B)"}
%% Memory Systems
SkillDB[("📚 Semantic Memory\n(RAG / skills.json)")] -.->|Injects Skills| Planner
EpisodicDB[("🧠 Episodic Memory\n(User Preferences)")] -.->|Injects OS Context| Planner
Plugins[("🔌 Dynamic Plugins\n(src/plugins/)")] -.->|Injects Capabilities| Planner
Planner -->|JSON Action Plan| AgentLoop(("⚙️ Central Agent Loop"))
AgentLoop -->|Execute| ExecMgr["⚡ Execution Manager\n(PyAutoGUI / TTS)"]
AgentLoop -->|Verify| VistaWait["👁️ VISTA Moondream\n(smart_wait_for_completion)"]
VistaWait -.->|Wait Condition Met ✓| AgentLoop
%% OS Level Execution
ExecMgr --> TargetApp["🖥️ Target App\n(Windows OS)"]
ExecMgr --> OCRClick["👀 OCR click_text"]
OCRClick --> TargetApp
ExecMgr --> TTS["🗣️ Asynchronous TTS"]
TTS --> TargetApp
- 🧠 Multi-Stage Agentic Reasoning: Uses Hermes 2 Pro 8B to convert complex voice instructions into structured JSON plans. Uses a Macro Orchestrator to break down massive tasks into logical loops.
- 👁️ VISTA (Visual Verification): Uses a local Moondream vision model to verify OS states before proceeding (e.g., waiting for an app to load).
- 🎯 Coordinate OCR: Bypasses rigid UI rules by finding and clicking the exact
(x, y)coordinates of any text on the screen using PyTesseract. - 📚 Semantic & Episodic Memory: Self-heals by learning successful workflows and permanently storing user preferences and facts across sessions.
- 🗣️ Asynchronous Local TTS: Talks back naturally using a non-blocking background voice synthesizer.
- 🔌 Dynamic Plugin Architecture: Extensible design. Drop a
.pyscript intosrc/plugins/, and the AI instantly learns how to use it. - 🔒 100% Local & Private: No cloud APIs required. Your screen and data stay on your machine.
- LM Studio: Download and run LM Studio. Load a function-calling model like
Hermes-2-Pro-Llama-3-8B-GGUFand start the local server on port1234. - Ollama (Vision): Install Ollama and run
ollama pull moondream.
For visual capabilities to work, you must install Tesseract:
- Windows: Download and install the Tesseract-OCR executable. Ensure the installation path is added to your Windows Environment Variables.
- Clone the repository:
git clone https://github.com/Anikesh0415/Forge.git cd Forge - Activate your virtual environment and install dependencies:
python -m venv venv .\venv\Scripts\activate pip install -r requirements.txt
- Start your local model servers (LM Studio on port
1234, Ollama). - Run the server script:
python server.py
- Open the locally served dashboard at
ui/index.html(or runStart_Ecosystem.bat).
Distributed under the MIT License. Pull requests are welcome to help harden the system, build new plugins, and improve local execution!