Node.js 20.9+
Designed as an explicit, testable part of the Atlas AI product boundary.
Docs · Getting Started
Begin with fictional data and Mock AI. The repository README remains the source of truth for installation, scripts, execution modes and project status.
Core principles
Designed as an explicit, testable part of the Atlas AI product boundary.
Designed as an explicit, testable part of the Atlas AI product boundary.
Designed as an explicit, testable part of the Atlas AI product boundary.
Designed as an explicit, testable part of the Atlas AI product boundary.
System view
In depth
Use public demo mode for database-free evaluation or self-host mode with PostgreSQL for controlled local operation.
Copy the environment template and provide values through ignored local files or deployment secret stores.
Repository source
Open-source AI Financial Intelligence Platform
Bring your own AI. Bring your own database. Deploy anywhere.
Atlas AI is a privacy-aware personal finance decision-support platform. It combines a deterministic finance engine with forecasts, scenario comparison, financial memory, reminders, and a contextual AI Coach.
The finance engine remains the source of truth. AI explains calculated results, but it does not calculate budgets, determine risk, or make decisions for the user.
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/how-it-works-dark.svg">
<img src="docs/assets/how-it-works-light.svg" alt="Animated diagram: you enter income, expenses and debts in the Next.js app, a deterministic finance engine calculates cash flow, protected budget and payoff, forecast, decision, memory and reminder services build on it, data goes through a repository boundary to PostgreSQL when self-hosted or per-tab browser memory in the public demo, and a minimized context goes through the AI provider registry so the AI Coach can explain the results without changing them" width="100%">
</picture>
[!IMPORTANT]
Atlas AI is educational software, not financial advice. The public demo uses fictional data and simulated Mock AI responses. Do not enter real financial information into a public demo deployment.
Production: https://personal-atlas-ai.vercel.app
Demo workspace: https://personal-atlas-ai.vercel.app/demo
AI Coach: https://personal-atlas-ai.vercel.app/demo/coach
The public demo runs without PostgreSQL, paid infrastructure, or platform-owned AI keys. Demo state lives only in active-tab memory and resets on refresh or tab closure.
Surface · Public route
| --- | --- |
Landing · [Open](https://personal-atlas-ai.vercel.app)
Demo Dashboard · [Open](https://personal-atlas-ai.vercel.app/demo)
AI Coach · [Open](https://personal-atlas-ai.vercel.app/demo/coach)
Forecast · [Open](https://personal-atlas-ai.vercel.app/demo/forecast)
Decision Simulator · [Open](https://personal-atlas-ai.vercel.app/demo/decisions)
Financial Memory · [Open](https://personal-atlas-ai.vercel.app/demo/memory)
Architecture · [Open](https://personal-atlas-ai.vercel.app/architecture)
Documentation · [Open](https://personal-atlas-ai.vercel.app/docs)
Release-quality screenshots and a short product walkthrough will be added as launch media without blocking access to the live product.
The AI Coach is an explanatory layer on top of the deterministic finance engine.
Public demo behavior:
Self-host behavior:
AI explanations do not change calculations produced by the finance engine.
flowchart TD
UI["Next.js Frontend"] --> FE["Deterministic Finance Engine"]
FE --> DS["Decision, Forecast, Memory, Reminder Services"]
DS --> RB["Repository Boundary"]
RB -->|"Self-host mode"| PG["PostgreSQL + Prisma"]
RB -->|"Public demo mode"| DEMO["Per-tab Browser Memory"]
DS --> CC["Minimized Coach Context"]
CC --> REG["AI Provider Registry"]
REG --> MOCK["Mock Provider"]
REG --> CLOUD["Server-side AI Providers"]
REG --> LOCAL["Ollama / LM Studio"]More detail: [Architecture](docs/ARCHITECTURE.md), [AI Architecture](docs/product/AI_ARCHITECTURE.md), and [Product Architecture](docs/product/PRODUCT_ARCHITECTURE.md).
Area · Technology
| --- | --- |
Web · Next.js App Router, React, TypeScript
UI · Tailwind CSS, Recharts, Lucide
Data · Prisma ORM, PostgreSQL
Validation · Zod
AI · Provider registry, minimized context, structured responses, Mock fallback
Testing · Vitest, Playwright
CI · GitHub Actions
Hosting · Vercel public demo; self-host supported
Requirements: Node.js 20.9+, npm, and PostgreSQL for normal self-host mode.
git clone https://github.com/Tngc93/Atlas-AI.git
cd Atlas-AI
npm ci
cp .env.example .env.local
npm run prisma:generate
npm run devOpen http://localhost:3000.
PUBLIC_DEMO_MODE=true AI_PROVIDER=mock npm run devPublic demo mode:
For a free public deployment, set only:
PUBLIC_DEMO_MODE=true
AI_PROVIDER=mock
NEXT_PUBLIC_SITE_URL=https://your-final-origin.exampleDo not add DATABASE_URL, DIRECT_URL, or owner-owned cloud AI credentials to the public demo deployment.
1. Provision a PostgreSQL database.
2. Set pooled DATABASE_URL and direct DIRECT_URL values in .env.local.
3. Keep AI_PROVIDER=mock, or configure a supported server-side provider.
4. Generate Prisma Client and apply reviewed PostgreSQL migrations.
5. Run validation before exposing the application.
npm run security:secrets
npx prisma validate
npm run prisma:generate
npm run lint
npm run test
npm run buildAuthentication and user ownership are not implemented. Do not expose database mode as a public multi-user financial service with real financial data. See [Self-hosting](docs/SELF_HOSTING.md) and [Production Readiness](docs/operations/production-readiness.md).
Provider · Self-host status · Public demo status
| --- | --- | --- |
Mock · Implemented · Default and only public provider
Gemini · Implemented · Disabled in public production
OpenAI · Implemented adapter · Self-host only
Anthropic · Implemented adapter · Self-host only
OpenRouter · Implemented adapter · Disabled in public production
Ollama · Local/self-host · Requires local runtime and CORS configuration
LM Studio · Local/self-host · Requires local runtime and CORS configuration
Custom OpenAI-compatible · Self-host · Remote endpoints remain server-side
Credentials remain in server-side environment variables. No frontend API-key input is exposed.
Read [SECURITY.md](SECURITY.md) before reporting a vulnerability. Do not place secrets or real financial data in public issues.
src/app/ Next.js routes and API handlers
src/components/ UI components
src/features/finance/ Deterministic finance engine
src/features/forecast/ Forecast and scenario logic
src/features/decision/ Decision simulation and trade-offs
src/features/memory/ Financial Memory and trends
src/features/reminders/ Deterministic reminder engine
src/features/coach/ Coach context and AI providers
src/features/demo/ Session-isolated public demo state
src/lib/db/ Prisma boundary
prisma/ PostgreSQL schema and migrations
e2e/ PostgreSQL-backed E2E tests
e2e-demo/ Database-free demo E2E tests
docs/ Product and engineering documentationnpm run security:secrets
npm run security:audit
npx prisma generate
npm run lint
npm run test:unit
npm run test:integration
npm run build
npm run test:e2e
npm run build:demo
npm run test:e2e:demoPostgreSQL integration and standard E2E tests require guarded test-preview variables documented in [Production Readiness](docs/operations/production-readiness.md). Demo tests require no database or paid AI key.
v1.0.0-beta is suitable for public portfolio demonstration and open-source review with these boundaries:
See [release notes](docs/releases/v1.0.0-beta.md), [release checklist](docs/releases/RELEASE_CHECKLIST.md), and [changelog](CHANGELOG.md).
See [Roadmap](docs/ROADMAP.md).
Contributions are welcome. Start with [CONTRIBUTING.md](CONTRIBUTING.md), follow the [Code of Conduct](CODE_OF_CONDUCT.md), and use the issue and pull request templates. Security vulnerabilities must follow [SECURITY.md](SECURITY.md), not a public bug report.
MIT License. See [LICENSE](LICENSE).
Atlas AI is governed by the accepted [Product Manifesto](docs/product/PRODUCT_MANIFESTO.md). A concise engineering rationale is available in [Product Philosophy](docs/PRODUCT_PHILOSOPHY.md).
Atlas AI builds on the open-source ecosystems around Next.js, React, TypeScript, Prisma, PostgreSQL, Vitest, Playwright, Recharts, and supported AI provider APIs and local model runtimes.
Workflow
Explore Atlas AI with fictional data or review the architecture before running it in your own environment.