Credentials. Without ACCESS_CODE, anyone who can reach the port owns, edits and can delete the whole library.
Who it is forSomeone who wants a personal lesson server without installing Node.js and PostgreSQL.
The problemRunning the app plus a database by hand is fiddly and data can get lost on rebuilds.
The outcomeA personal installation on 127.0.0.1:3000 whose data survives docker compose down and rebuilds.
What you need first
- Node.js 22.19 or later and pnpm 10 or later, or Docker
- PostgreSQL 16 (pnpm db:up starts one in Docker)
- An API key for a model provider, for example OPENAI_API_KEY
Steps
- Run
cp .env.example .env.localand add your API keys - Run
docker compose up --build - Open http://localhost:3000
- Before serving other machines, set a long random ACCESS_CODE and PERSISTENCE_POSTGRES_PASSWORD
Prompt for your agent
Deploy OpenMAIC with `docker compose up --build` after filling .env.local with my keys. Keep it on 127.0.0.1; if I ask to share it, set ACCESS_CODE and a random PERSISTENCE_POSTGRES_PASSWORD first.
Caveat. `docker compose down -v` deletes the named volumes with your courses.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for THU-MAIC/OpenMAIC and "Self-host OpenMAIC for yourself with Docker Compose"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer