Open source · Free for life · Bring your own API key

Your personal AI agent
for memories

AMPAI is a self-hosted AI agent you actually own. Plug in any model with your own API key, give it a name, teach it your memories, and let it run tasks, notes and reminders for you — forever, for free.

MIT-style · No subscriptions · Works with OpenAI, Anthropic, Google, Groq, Ollama & more
bash
# Clone & launch AMPAI locally
git clone https://github.com/pranto48/ampai.git
cd ampai
cp .env.example .env
docker compose up -d --build

# → open http://localhost:8001

Why AMPAI

One agent. Endless possibilities.

Everything you'd want from a personal AI — without the SaaS bill.

Free for Lifetime

100% open source. No subscriptions, no per-seat pricing, no hidden fees — ever.

Bring Your Own API Key

Use OpenAI, Anthropic, Google, Groq, OpenRouter, or local Ollama. You're in control.

Custom AI Agent Name

Name your assistant whatever you want and shape its personality and tone.

Persistent Memories

Long-term memory that actually remembers — facts, preferences, and context.

Notes, Reminders & Auto Tasks

Capture notes, schedule reminders, and let your agent run recurring jobs for you.

Custom Backup

Export and restore your entire knowledge base whenever you want. Your data, your rules.

Customize Everything

Tweak prompts, providers, models, themes and behaviors from a clean settings panel.

Self-hosted & Private

Runs on your machine, your server, or the cloud. No telemetry, no lock-in.

Quick Install

Up and running in under a minute

One codebase. Three deploy targets. Pick the one you like.

bash
git clone https://github.com/pranto48/ampai.git
cd ampai
cp .env.example .env
docker compose up -d --build

# Open: http://localhost:8001

Local Postgres + Redis bundled. Access from your LAN at http://<your-ip>:8001

What's inside

Built like a real product

Single codebase, three targets

Local Docker dev, Dyad preview with Supabase, and Vercel production publish — all from one repo.

Modern React UI

React + React Router + Tailwind running on a HashRouter SPA. Routes for /chat, /models, /memory, /admin.

Health check built in

Public GET /healthz endpoint so you can wire up uptime monitoring in seconds.

Security first

Publishable keys for the browser, service-role keys server-only. Never commit real secrets.

Roadmap

Where AMPAI goes next

Run AMPAI everywhere — from your terminal to your pocket.

XAMPP Support

One-folder install for classic local stacks.

Coming soon

cPanel One-click

Deploy AMPAI on shared hosting without devops.

Coming soon

Windows Desktop App

Native installer with auto-updates and tray icon.

In progress

Mobile App

iOS & Android companion with push reminders.

Planned

Grab AMPAI on GitHub

Star the repo, clone it, and make it yours. Pull requests welcome.

git clone https://github.com/pranto48/ampai.git