AI-powered anonymous chat application where users can ask questions and get responses through AI personas.
- Backend: FastAPI with SlowAPI rate limiting
- Frontend: React with TypeScript
- Database: PostgreSQL with pgvector
- AI: LangChain agents with LangGraph checkpointer for memory
- uv - Python package installer
- Node.js and npm
- Docker (optional, for PostgreSQL)
cp .env.example .envUpdate the .env file with your configuration.
Backend:
cd backend
uv pip install -r requirements.txtFrontend:
cd frontend
npm installRun PostgreSQL locally with Docker:
docker run -d \
--name personal-ama-db \
-e POSTGRES_USER=your_user \
-e POSTGRES_PASSWORD=your_password \
-e POSTGRES_DB=personal_ama \
-p 5432:5432 \
pgvector/pgvector:pg17cd backend
alembic upgrade headBackend:
cd backend
uvicorn app.main:app --host 0.0.0.0 --port 8000 --proxy-headersFrontend:
cd frontend
npm run devThe application will be available at:
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
For production deployment with Docker, refer to the docker-compose.yml file:
docker compose up -dThis will start:
- Frontend (Nginx) on port 3000
- Backend API on port 8000
- PostgreSQL database on port 5432
- Nginx Proxy Manager on ports 80, 443, and 81
Apache License 2.0