Prompt file imported from Spoorthi-Rami/Acufy_CRM (
.github/prompts/plan-acufyCrm.prompt.md). Copyright stays with the author.
Plan: Acufy CRM Build
Status: Phase 1 In Progress - Backend foundation started: config, database, base models, initial migration.
Current Findings
- Extracted full CRM specification from Acufy Generic CRM.docx
- Project: AI-powered CRM with multi-agent swarm, HITL, cloud-agnostic
- Stack: FastAPI backend, React frontend, PostgreSQL + pgvector, Auth0, etc.
- Workspace has acufy-crm/ monorepo with Phase 0 complete, Phase 1 partially done
Next Steps
- Complete core models (Contact, Account, Deal, etc.)
- Set up Auth0 integration (auth0.py, dependencies.py)
- Create Pydantic schemas
- Add routers for basic CRUD
- Implement RLS in dependencies
- Test database connection and migrations
Verification
- Settings class matches spec
- SQLAlchemy async setup
- Base model with timestamps and team_id
- Team and User models defined
- Alembic migration enables pgvector, uuid-ossp, RLS policies