- Python 68%
- Vue 20%
- TypeScript 9%
- Shell 2%
- CSS 1%
- 3 more languages <1%
TalkTo - Generic Multi-Agent Conversation Platform #
A flexible platform for specialized AI agent conversations about any topic. Users can scrape websites, upload documents, and create specialized agents that collaborate across multiple conversations to perform complex analysis.
Project Status #
✅ MVP COMPLETE - Frontend and backend are fully functional with Docker integration!
Documentation #
🚀 Quick Start #
- QUICKSTART.md - Get running in 5 minutes!
📚 Core Documentation #
- CLAUDE.md - Project overview, technology stack, and general rules
- ARCHITECTURE.md - System architecture and network design
- DOCKER.md - Complete Docker setup and troubleshooting guide
- DEVELOPMENT.md - Full-stack development guide (backend + frontend)
- API_CONTRACT.md - API specification
- DATABASE_DESIGN.md - Database schema & relationships
📖 Additional Resources #
- frontend/README.md - Frontend-specific documentation
- backend/README.md - Backend-specific documentation
Technology Stack #
Backend #
- Framework: FastAPI (Python 3.12+)
- Agent Framework: LangGraph
- Database: PostgreSQL 16+ with pgvector
- Task Queue: Celery + Redis
- AI: Anthropic (Claude), OpenAI (GPT-4), Google (Gemini)
Frontend #
- Framework: Vue 3 with TypeScript
- UI: Vuetify 3 (Material Design + macOS liquid glass aesthetic)
- Build Tool: Vite
- State: Pinia
Development Philosophy #
This is a full-stack project where both backend and frontend are developed together:
- Backend: FastAPI + LangGraph for AI agent orchestration
- Frontend: Vue 3 + Vuetify for beautiful UI
- Database: PostgreSQL + pgvector for knowledge management
- Integration: nginx reverse proxy for unified access
All development workflows and best practices are documented in DEVELOPMENT.md
Getting Started #
Prerequisites #
- Docker & Docker Compose (recommended)
- Python 3.12+ (for local backend dev without Docker)
- Node.js 20+ & pnpm (for local frontend dev without Docker)
Quick Start with Docker (Recommended) #
# 1. Clone the repository
cd talkto
# 2. Create environment files
cp backend/.env.example backend/.env
cp frontend/.env.example frontend/.env
# 3. Add your API keys to backend/.env
# Edit backend/.env and add:
# ANTHROPIC_API_KEY=sk-ant-...
# OPENAI_API_KEY=sk-...
# 4. Start all services
docker-compose up --build
# 5. Access the application
# All services through one URL: http://localhost
# - Application: http://localhost
# - API Docs: http://localhost/docs
# - Health: http://localhost/health
For complete Docker documentation, see DOCKER.md.
Backend Development (without Docker) #
cd backend
python -m venv .venv
source .venv/bin/activate # or `.venv\Scripts\activate` on Windows
pip install -e .
# Setup .env with local database URL
cp .env.example .env
# Edit .env: DATABASE_URL=postgresql://localhost:5432/talkto
# Run migrations
alembic upgrade head
# Start server
uvicorn app.main:app --reload
See Backend.md for detailed backend documentation.
Frontend Development (without Docker) #
cd frontend
npm install
# Setup .env
cp .env.example .env
# Start dev server
npm run dev
See Frontend.md and frontend/README.md for detailed frontend documentation.
Project Structure #
talkto/
├── CLAUDE.md # Project overview & rules
├── Backend.md # Backend development rules
├── Frontend.md # Frontend development rules
├── API_CONTRACT.md # API specification
├── BACKEND_PLAN.md # Backend implementation plan
├── FRONTEND_PLAN.md # Frontend implementation plan
├── DATABASE_DESIGN.md # Database schema & relationships
├── LOCAL_TESTING.md # Docker setup & testing guide
├── README.md # This file
├── .gitignore
│
├── docker-compose.yml # Full stack dev environment
│
├── backend/ # FastAPI + LangGraph
│ ├── Dockerfile # Multi-stage Docker build
│ ├── .dockerignore
│ ├── .env.example # Environment variables template
│ ├── pyproject.toml # Python dependencies
│ │
│ ├── app/
│ │ ├── agents/ # LangGraph agents
│ │ │ ├── graph.py # Main agent graph
│ │ │ ├── state.py # Agent state
│ │ │ ├── nodes/ # Agent nodes (router, research, analysis)
│ │ │ └── tools/ # Agent tools
│ │ ├── api/ # FastAPI routes
│ │ │ ├── auth.py
│ │ │ ├── knowledge.py
│ │ │ ├── agents.py
│ │ │ ├── conversations.py
│ │ │ └── websocket.py
│ │ ├── core/ # Config, DB, auth
│ │ │ ├── config.py
│ │ │ ├── database.py
│ │ │ ├── security.py
│ │ │ └── deps.py
│ │ ├── models/ # SQLAlchemy models
│ │ │ ├── user.py
│ │ │ ├── organization.py
│ │ │ ├── knowledge.py
│ │ │ ├── agent.py
│ │ │ ├── conversation.py
│ │ │ └── memory.py
│ │ ├── schemas/ # Pydantic schemas
│ │ ├── services/ # Business logic
│ │ │ ├── scraper.py
│ │ │ ├── embeddings.py
│ │ │ ├── knowledge.py
│ │ │ └── chat.py
│ │ └── tasks/ # Celery tasks
│ │ ├── celery_app.py
│ │ ├── scraper.py
│ │ └── embeddings.py
│ ├── alembic/ # DB migrations
│ └── tests/
│
└── frontend/ # Vue 3 + Vuetify
├── Dockerfile # Multi-stage Docker build
├── .dockerignore
├── .env.example # Environment variables template
├── nginx.conf # Nginx config for production
├── package.json # Node dependencies
├── vite.config.ts # Vite configuration
│
└── src/
├── components/
│ ├── layout/ # AppBar, Sidebar, MainLayout
│ ├── chat/ # Chat components
│ ├── knowledge/ # Knowledge source components
│ ├── agent/ # Agent components
│ └── common/ # GlassCard, etc.
├── pages/ # Route pages
├── stores/ # Pinia stores
│ ├── auth.ts
│ ├── conversation.ts
│ ├── knowledge.ts
│ └── agent.ts
├── api/ # API client
│ ├── client.ts
│ ├── auth.ts
│ ├── conversations.ts
│ ├── knowledge.ts
│ └── websocket.ts
├── types/ # TypeScript types
│ ├── models.ts
│ └── api.ts
├── composables/ # Composables (useChat, etc.)
├── plugins/ # Vuetify, router, pinia
├── styles/ # Global styles (glass effect)
├── router/ # Vue Router
└── utils/ # Utilities
Core Features (MVP) #
- Website Scraping - Scrape entire domains, extract text and images
- Knowledge Management - Store and search scraped content with embeddings
- Multi-Agent System - LangGraph-powered agents for research and analysis
- Chat Interface - Real-time streaming conversations with agents
- Cross-Conversation References - Compare and analyze across multiple chats
- Authentication - Email/password + OAuth (Google)
Development Workflow #
Starting a New Session #
- Identify your layer: Backend or Frontend
- Read the context:
- Backend: Read
Backend.md+BACKEND_PLAN.md - Frontend: Read
Frontend.md+FRONTEND_PLAN.md
- Backend: Read
- Check API contract: Read
API_CONTRACT.mdfor current API state - Start implementing: Follow the plan for your layer
Making Changes #
Backend changes:
- Implement feature (models, services, API)
- Write tests
- Update
API_CONTRACT.mdif API changed - Document breaking changes
Frontend changes:
- Check
API_CONTRACT.mdfor API details - Create TypeScript types
- Implement components
- Test user flows
Cross-Layer Communication #
- Backend updates API → Updates
API_CONTRACT.md→ Frontend reads and adapts - Frontend needs new API → Documents need → User coordinates backend session
- Both layers can read each other's code for understanding
Design Philosophy #
- Generic First: Build for multiple use cases, not just one domain
- Agent-Centric: Agents are first-class, conversations are contexts
- Knowledge Flexible: Multiple ingestion methods, flexible structure
- Memory Matters: Conversations build context over time
- Plugin-Ready: Easy to extend with new skills and capabilities
Environment Variables #
Backend .env #
DATABASE_URL=postgresql://talkto:talkto_dev@localhost:5432/talkto
REDIS_URL=redis://localhost:6379/0
SECRET_KEY=your-secret-key-here
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
GOOGLE_API_KEY=...
Frontend .env #
VITE_API_URL=http://localhost:8000/api
VITE_WS_URL=ws://localhost:8000
Testing #
Backend #
cd backend
pytest
pytest --cov=app --cov-report=html
Frontend #
cd frontend
pnpm test
pnpm test:coverage
Contributing #
This project uses strict layer separation:
- Backend developers work only in
backend/ - Frontend developers work only in
frontend/ API_CONTRACT.mdis the source of truth for both
When making changes that affect the other layer, update the contract and coordinate through the user.
License #
MIT
Acknowledgments #
This project is inspired by the brandmarketing project but redesigned to be generic and extensible.
Ready to start? Pick your layer and read the corresponding guide!
- Backend → Backend.md
- Frontend → Frontend.md