Open Source · Self-Hosted · Privacy-First

Your AI Agents,
Your Infrastructure

ForgeAI is a production-ready, fully self-hosted AI assistant platform built from scratch in TypeScript. Connect any LLM to WhatsApp, Telegram, Discord, Slack, Teams, Google Chat, WebChat & IoT devices — all managed through a modern 19-page dashboard with 17 security modules.

$ git clone https://github.com/forgeai-dev/ForgeAI && pnpm install && pnpm forge start

10

LLM Providers

19

Built-in Tools

8

Channels

19

Dashboard Pages

17

Security Modules

Latest upgrades across
security, memory, and agent control

Security Hardening

ForgeAI now ships with 8 additional hardening layers, including tool output sanitization, sensitive file guard, exfiltration prevention, persistence blocker, model-aware security profiles, network egress control, sandbox isolation, and system prompt defense.

Persistent Memory

Cross-session memory is now MySQL-persistent, survives restarts and deployments, supports OpenAI embeddings with TF-IDF fallback, and extracts entities automatically for richer long-term context.

Skill Registry

Install, activate, deactivate, and manage custom skills at runtime with script, HTTP, and JavaScript function handlers. Skills are persisted and injected into the agent context automatically.

Smarter Agent Runtime

The agentic loop now uses a 200-iteration safety cap, adds intent classification to reduce unnecessary tool usage, and improves reliability with memory leak fixes, cleaner shutdown behavior, and better stored response sanitization.

Everything you need to run
autonomous AI agents

Multi-LLM Router

Route between 10 providers — OpenAI, Anthropic, Google, Mistral, Groq, DeepSeek, xAI, Kimi (Moonshot), Ollama (local), and OpenAI-Compatible (LM Studio, vLLM). Automatic failover with circuit breaker, exponential backoff, cloud↔local failover.

19 Built-in Tools

Web browsing (stealth anti-detection), search, Puppeteer (21 actions), shell, code sandbox, image generation (DALL-E 3, Leonardo AI, SD), file I/O, screenshots, cron scheduler, smart home, Spotify, execution planning, task delegation, and Forge Teams.

8 Messaging Channels

WhatsApp, Telegram, Discord, Slack, Teams, Google Chat, WebChat, and Node Protocol (IoT/ESP32). One agent, every platform. Real-time progress updates and typing indicators.

Persistent Memory & RAG

Durable MySQL-backed memory with OpenAI embeddings and TF-IDF fallback, plus a full RAG engine for document upload, semantic retrieval, runtime configuration, and long-term contextual recall across sessions.

17 Security Modules

AES-256-GCM encrypted vault, RBAC, rate limiting, prompt guard, input sanitizer, 2FA, Email OTP, setup wizard, audit logging, plus tool output sanitization, sensitive file guard, exfiltration prevention, persistence blocking, model security profiles, network egress control, sandbox isolation, and system prompt defense.

Voice & Vision

Speech-to-text (Whisper), text-to-speech (Piper/OpenAI), image analysis, and image generation. Full multimodal support across all channels. Wake word detection ("Hey Forge").

Plugin System, MCP & Skills

Extensible plugin architecture with a built-in store, MCP client for external tool servers, and a new Skill Registry for runtime-managed script, HTTP, and function-based capabilities.

Workflows & Agent Control

Workflow engine with cron scheduling, conditional branches, and parallel execution, plus plan tools, intent classification, autopilot routines, and a state-machine-driven execution model for complex autonomous tasks.

Integrations

GitHub, Gmail, Google Calendar, Notion, and RSS feeds built-in. OAuth2/SSO support (Google, GitHub, Microsoft). Config Sync between Gateways. GDPR compliance.

Built for scale,
designed for developers

13-Package Monorepo

core, agent, tools, plugins, channels, security, workflows, shared, cli, dashboard, companion, node-agent, node-agent-esp32. Clean boundaries, zero circular deps.

TypeScript + Fastify 5

100% TypeScript. Fastify HTTP gateway with 140+ REST API endpoints, WebSocket real-time broadcasting. React 19 dashboard served directly.

Security-First

17 security modules with AES-256-GCM vault encryption, 4-factor auth for external access, immutable audit trails, indirect prompt injection defense, sandbox isolation, persistence blocking, and network egress control.

Docker Ready

Docker Compose with MySQL. One command to deploy. Native domain/HTTPS support with Caddy reverse proxy and automatic Let's Encrypt SSL.

docker-compose.yml
version: '3.8'
services:
  gateway:
    image: forgeai/gateway:latest
    ports:
      - "18800:18800"
    environment:
      - MYSQL_HOST=db
      - MYSQL_PASSWORD=your_password
      - MYSQL_DATABASE=forgeai
      - GATEWAY_PORT=18800
    volumes:
      - ./data:/app/.forgeai
    depends_on:
      - db

  db:
    image: mysql:8
    environment:
      - MYSQL_DATABASE=forgeai
      - MYSQL_ROOT_PASSWORD=your_password

One API,
10 LLM providers

Switch between providers with a single config change. Automatic failover with circuit breaker ensures your agents never go down. Cloud↔local failover built-in.

OpenAIGPT-5.2, o3-pro, o4
AnthropicClaude Opus 4.6, Sonnet 4.6
GoogleGemini 2.5 Pro, 2.5 Flash
MistralLarge, Codestral, Nemo
GroqLlama 3.3, Mixtral
DeepSeekChat, Reasoner
xAIGrok 4
OpenAI-CompatibleLM Studio, vLLM, llama.cpp
KimiK2.5, Moonshot
Ollama (Local)100% private, no API key

Beautiful control center
19 pages, real-time

React 19 SPA served directly by the Gateway. Manage agents, monitor usage, configure tools, upload RAG documents, and view audit logs — all with WebSocket real-time updates.

ForgeAI Dashboard — http://localhost:18800
Overview
Chat
Tools
Agents
RAG
Memory
Plugins
Channels
Voice
Nodes
Settings

Overview

Messages

12,847

Tokens

2.4M

Tools Used

1,293

Uptime

99.9%

OverviewChatToolsUsagePluginsChannelsAgentsWorkspaceGmailMemoryRAGAPI KeysWebhooksCalendarVoiceAudit LogCanvasNodesSettings
Roadmap 2026

Building the future of
autonomous AI agents

36 phases completed. Here's what we've built and what's next — from embedded IoT devices to native apps and beyond.

Q1 2026 — Shipped
Completed

Dashboard i18n — 9 Languages

Full internationalization system with React Context. English, Portuguese, Spanish, French, German, Italian, Japanese, Korean, Chinese.

i18nReact Context9 languages
Completed

VPS Voice Engine

Self-hosted STT/TTS using Whisper + Piper on your own VPS. Zero OpenAI credits needed. TTS streaming playback with markdown sanitization.

Whisper STTPiper TTSStreaming
Completed

Agent Identity System

Anti-hallucination system prompt. Agent clearly identifies as ForgeAI, never claims to be Claude/GPT. Only describes actual capabilities.

IdentityAnti-hallucination
Completed

OpenTelemetry + Calendar + Notion

Full observability with OTLP/HTTP traces, metrics, and spans. Google Calendar and Notion integrations for productivity workflows.

OpenTelemetryCalendarNotion
Q2 2026 — In Progress
Completed

ForgeAI Node Protocol

Go binary (~5MB) for Linux SBCs (Raspberry Pi, Jetson, BeagleBone) + MicroPython for ESP32. WebSocket, auth, heartbeat, GPIO, node-to-node relay.

IoTGo + MicroPythonWebSocketESP32
Completed

ForgeCanvas

Agent-driven visual artifact system. Live rendering of HTML, React, SVG, Mermaid, Charts, Markdown, and Code in sandboxed iframes.

ArtifactsReact/HTML/SVGSandboxed
Completed

Stealth Browser + Domain/HTTPS

Puppeteer stealth anti-detection, proxy rotation. Native Caddy reverse proxy with automatic Let's Encrypt SSL. Static site hosting built-in.

StealthHTTPSCaddy
Completed

ForgeAI Companion (Tauri 2)

Windows-only desktop client that connects to the Gateway and lets the AI control your PC. Pairing system, voice mode with wake word, desktop automation, dual-environment routing (server + companion), Rust safety system, Config Sync.

Tauri 2 + RustWindowsDesktop Control
Completed

Desktop App (Electron)

Cross-platform Dashboard wrapper for Windows, macOS, and Linux. Opens the Dashboard as a native desktop window instead of a browser tab. System tray, global hotkeys, auto-update, startup on boot.

ElectronWin/Mac/LinuxDashboard Wrapper
Completed

Forge Teams & Task Delegation

Coordinated agent teams with dependency graphs — independent tasks run in parallel, dependent tasks wait for upstream results. Sub-agent delegation via agent_delegate. Execution planning with plan_create/plan_update tools.

Forge TeamsSub-AgentsParallel
Completed

Adaptive Prompt Optimizer

DSPy-inspired auto-optimization. Classifies tasks into 9 categories, records success/failure patterns, injects proven strategies into prompts for similar future tasks. Temporal decay keeps strategies fresh.

DSPy-inspiredAuto-learn9 Categories
Completed

Full Installation Freedom

Docker image includes Python 3, pip, Node.js 22, Chromium. Agent installs ANY missing dependency with full root access. The agentic loop now runs with a 200-iteration safety cap plus reflection and stuck-loop protection.

Python + Node.jsRoot Access200-Iteration Cap
Completed

Persistent Memory Engine

Cross-session memory is now MySQL-persistent, survives redeploys, uses OpenAI embeddings with TF-IDF fallback, extracts entities automatically, and keeps durable long-term context available to the agent.

MySQLEmbeddingsLong-Term Memory
Completed

Skill Registry + Doctor CLI

Runtime skill management with script, HTTP, and function handlers, plus an expanded forge doctor command covering runtime, config, providers, services, and workspace diagnostics.

SkillsDoctor CLIDiagnostics
Completed

Security Hardening (17 Modules)

8 new security layers plus blocked IP persistence in MySQL, audit hash chain integrity auto-repair, and dynamic security status on the /info endpoint. 150+ API endpoints, 14 MySQL tables.

17 ModulesBlocked IPsAudit Integrity
Planned

Signal & Matrix Channels

Two new messaging channels. Signal via signal-cli bridge for encrypted messaging. Matrix via matrix-js-sdk for decentralized communication.

SignalMatrixE2E Encrypted
Planned

Database Encryption at Rest

Full database encryption with MySQL TDE or application-level AES. All sensitive data encrypted at rest, complementing the Vault encryption.

MySQL TDEAES-256Compliance
Q3 2026
Planned

Mobile App (React Native)

Native iOS and Android app with Expo. Chat interface, push notifications, voice input, biometric auth, and offline message queue.

React NativeExpoiOSAndroid
Completed

Voice Wake Word

Always-listening wake word detection with Porcupine/Picovoice. Say "Hey Forge" to activate your agent hands-free.

PicovoiceWake WordHands-free
Completed

Smart Home + Spotify

Control Spotify playback, Home Assistant devices, and smart home routines through natural language via any channel.

Home AssistantSpotifyIoT Control
Completed

Session Recording & Replay

Record and replay full agent sessions for debugging, auditing, and training. Step-by-step tool execution visualization with timeline.

DebugAuditReplay
Q4 2026
Planned

Log Aggregation

Structured logging pipeline compatible with ELK Stack, Grafana Loki, and AWS CloudWatch. Centralized log management.

ELKLokiCloudWatch
Planned

Community Plugin Marketplace

Public plugin registry for community-built integrations. Publish, discover, and install plugins with one click.

MarketplaceCommunitynpm-like
Planned

Advanced Workflow Templates

Pre-built workflow templates for CI/CD pipelines, content generation, data processing, customer support, and DevOps.

TemplatesAutomationNo-code
Planned

ForgeAI Cloud (Optional)

Opt-in managed hosting for zero-ops. Your data stays yours — just without the server management. One-click deploy.

CloudManagedOptional
36 features completed150+ endpoints · 14 MySQL tables · 514+ testsQ4 target

Ready to forge
your AI agents?

ForgeAI is free, open-source, and self-hosted. No vendor lock-in, no data leaves your server. Start building in minutes.

$ docker compose up -d