How mekalakarthik05/organisational-bank works
Organizational Brain is a team memory and problem-solving application: users ask a question, the backend combines current organizational state, reference knowledge, and historical experience, then produces grounded guidance. The intended learning loop records outcomes as new Hindsight memories for later retrieval. The README documents this overall workflow; sampled source confirms frontend routing, document upload, current-knowledge search, LLM answering, and Hindsight storage/search. Some backend route wiring and outcome handling are not shown, so those connections follow documented architecture rather than inspected route implementations.
Main entry points: main.py FastAPI application · App.tsx Application shell · chat.py Chat API · hindsight_rag.py Current knowledge search
Components 22
Problem solving
- Outcome learning
backend/app/services/memory_learning.py - Cross-project reasoning
backend/app/services/hindsight_rag.py
Knowledge layers
- Canonical state
backend/app/services/canonical_org.py - Current knowledge search
backend/app/services/hindsight_rag.py - RAG document store
backend/app/services/rag_knowledge.py - Historical experience
backend/app/services/hindsight_client.py
Backend services
- FastAPI application
backend/app/main.py - Chat API
backend/app/api/chat.py - Documents API
backend/app/api/documents.py - Memory API
backend/app/api/memory.py - Organization API
backend/app/api/organization.py - LLM service
backend/app/services/llm.py
User application
- Application shell
frontend/src/App.tsx - Ask Brain
frontend/src/views/AskBrain.tsx - Memory Lab
frontend/src/views/MemoryLab.tsx - Knowledge ingest
frontend/src/views/KnowledgeIngestLive.tsx - Knowledge explorer
frontend/src/views/KnowledgeExplorer.tsx - Projects and decisions
frontend/src/views/ProjectsView.tsx - Expert review
frontend/src/views/ExpertReview.tsx
Other components
- Team member
- Hindsight service
- Groq inference
Connections 32
- Team member → Application shell: uses
- Application shell → Ask Brain: routes questions
- Application shell → Memory Lab: opens memory lab
- Application shell → Knowledge ingest: routes ingestion
- Application shell → Knowledge explorer: routes browsing
- Application shell → Projects and decisions: routes projects
- Application shell → Expert review: routes review
- Ask Brain → FastAPI application: sends questions
- Memory Lab → FastAPI application: sends queries
- Knowledge ingest → Documents API: uploads documents
- Knowledge explorer → FastAPI application: requests knowledge
- Projects and decisions → Organization API: requests organization data
- Expert review → FastAPI application: submits review actions
- FastAPI application → Chat API: dispatches
- FastAPI application → Documents API: dispatches
- FastAPI application → Memory API: dispatches
- FastAPI application → Organization API: dispatches
- Chat API → Canonical state: reads current state
- Chat API → Current knowledge search: requests retrieval
- Chat API → Historical experience: retrieves experience
- Chat API → Cross-project reasoning: coordinates reasoning
- Cross-project reasoning → LLM service: requests generation
- Current knowledge search → RAG document store: searches documents
- Current knowledge search → LLM service: generates answer
- LLM service → Groq inference: calls inference
- Documents API → Current knowledge search: ingests references
- Memory API → Historical experience: reads and writes memories
- Historical experience → Hindsight service: searches and stores
- Chat API → Outcome learning: records outcomes
- Outcome learning → Historical experience: stores lessons
- Organization API → Canonical state: reads organization state
- Documents API → RAG document store: lists documents