How npl1228/teamorie works
Teamorie is a collaborative chat application with an AI agent that turns conversation into searchable project and team memories. Users enter through the web app, use chat and collaboration features, and can query the agent; the backend routes messages into storage, retrieval, or private-agent workflows. Memory extraction and retrieval depend on Gemini and Chroma, while account and chat data use SQLite through the storage module. The excerpts show core AI and routing relationships; frontend-to-backend transport and several backend route details were not sampled, so those links are omitted.
Main entry points: App.jsx App routing · bot.py Message router · storage.py Account and chat data · storage_pipeline.py Message storage
Components 25
Web application
- App routing
frontend/src/App.jsx - App layout
frontend/src/components/Layout.jsx - Chat room
frontend/src/pages/ChatRoom.jsx - Chat lists
frontend/src/pages/ChatList.jsx - Chat details
frontend/src/pages/ChatInfo.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - Friends
frontend/src/pages/FriendsList.jsx - Notifications
frontend/src/pages/Notifications.jsx - Settings
frontend/src/pages/Settings.jsx - Landing
frontend/src/pages/Landing.jsx - Login
frontend/src/pages/Login.jsx - Meeting room
frontend/src/pages/MeetingRoom.jsx - Meeting exit
frontend/src/pages/MeetingLeft.jsx
Backend API
- HTTP and sockets
backend/main.py
Agent workflows
- Message router
backend/bot.py - Message storage
backend/pipelines/storage_pipeline.py - Private agent
backend/pipelines/private_agent_pipeline.py - Memory retrieval
backend/pipelines/retrieval_pipeline.py - Memory pruning
backend/pipelines/pruning_pipeline.py - Gemini services
backend/llm/gemini.py
Memory services
- Account and chat data
backend/memory/storage.py - Vector memory
backend/memory/chroma.py - SQLite database
- Chroma store
Other components
- User
Connections 36
- User → App routing: uses
- App routing → Landing: routes
frontend/src/App.jsx - App routing → Login: routes
frontend/src/App.jsx - App routing → Dashboard: routes
frontend/src/App.jsx - App routing → App layout: wraps
frontend/src/App.jsx - App routing → Chat room: routes
frontend/src/App.jsx - App routing → Chat lists: routes
frontend/src/App.jsx - App routing → Chat details: routes
frontend/src/App.jsx - App routing → Friends: routes
frontend/src/App.jsx - App routing → Notifications: routes
frontend/src/App.jsx - App routing → Settings: routes
frontend/src/App.jsx - App routing → Meeting room: routes
frontend/src/App.jsx - App routing → Meeting exit: routes
frontend/src/App.jsx - HTTP and sockets → Account and chat data: calls
backend/main.py - HTTP and sockets → Message router: dispatches
backend/main.py - Message router → Account and chat data: reads chat
backend/bot.py - Message router → Private agent: dispatches
backend/bot.py - Message router → Message storage: buffers messages
backend/bot.py - Message router → Memory retrieval: queries memories
backend/bot.py - Message router → Gemini services: classifies intent
backend/bot.py - Message router → Account and chat data: loads history
backend/bot.py - Message storage → Account and chat data: buffers and reads
backend/pipelines/storage_pipeline.py - Message storage → Gemini services: summarizes
backend/pipelines/storage_pipeline.py - Message storage → Vector memory: stores nodes
backend/pipelines/storage_pipeline.py - Message storage → Memory pruning: checks pruning
backend/pipelines/storage_pipeline.py - Message storage → Account and chat data: registers projects
backend/pipelines/storage_pipeline.py - Private agent → Account and chat data: loads projects
backend/pipelines/private_agent_pipeline.py - Private agent → Gemini services: classifies message
backend/pipelines/private_agent_pipeline.py - Private agent → Memory retrieval: routes queries
backend/pipelines/private_agent_pipeline.py - Private agent → Vector memory: stores or corrects
backend/pipelines/private_agent_pipeline.py - Memory retrieval → Account and chat data: loads weights
backend/pipelines/retrieval_pipeline.py - Memory retrieval → Vector memory: searches and fetches
backend/pipelines/retrieval_pipeline.py - Memory retrieval → Gemini services: generates response
backend/pipelines/retrieval_pipeline.py - Memory pruning → Vector memory: reads and deletes
backend/pipelines/pruning_pipeline.py - Account and chat data → SQLite database: reads and writes
- Vector memory → Chroma store: reads and writes
backend/memory/chroma.py