How adithya49/fusa-ai-studio works
FuSA AI Studio is a Streamlit workspace for automotive functional-safety engineering across the ISO 26262 lifecycle. Engineers select a project, create and manage safety artifacts, ask AI-assisted questions, maintain traceability, and export work-product documents. The app routes workspace selections to lifecycle and support modules; shared services provide project persistence, knowledge indexing, retrieval-augmented generation, and model access. The README documents additional lifecycle and AI capabilities, but their internal wiring is not established by the sampled source, so those links are omitted.
Main entry points: app.py Workspace Router · repository.py Repository · base.py Knowledge Base · rag.py RAG Engine
Components 25
Workspace
- Workspace Router
app.py - Projects
fusa_ai_studio/modules/projects.py - Dashboard
fusa_ai_studio/modules/dashboard.py - AI Assistant
fusa_ai_studio/modules/assistant.py - Settings
fusa_ai_studio/modules/settings.py
Safety Lifecycle
- Item Definition
fusa_ai_studio/modules/item_definition.py - HARA
fusa_ai_studio/modules/hara.py - Safety Goals
fusa_ai_studio/modules/safety_goals.py - Functional Concept
fusa_ai_studio/modules/fsc.py - Technical Concept
fusa_ai_studio/modules/tsc.py - Workflow Automation
fusa_ai_studio/modules/workflow.py
Knowledge And AI
- Knowledge Base UI
fusa_ai_studio/modules/knowledge.py - Knowledge Base
fusa_ai_studio/knowledge/base.py - Chunking
fusa_ai_studio/ai/chunking.py - Embeddings
fusa_ai_studio/ai/embeddings.py - Vector Store
fusa_ai_studio/vectorstores/chroma_store.py - RAG Engine
fusa_ai_studio/ai/rag.py - LLM Client
fusa_ai_studio/ai/llm.py
Project Platform
- Service Assembly
fusa_ai_studio/core/services.py - Repository
fusa_ai_studio/database/repository.py - Project Database
fusa_ai_studio/database/connection.py
Traceability And Outputs
- Traceability
fusa_ai_studio/modules/traceability.py - Document Factory
fusa_ai_studio/modules/document_factory.py
Other components
- Safety Engineer
- Model Providers
Connections 30
- Safety Engineer → Workspace Router: uses
- Workspace Router → Projects: routes to
- Workspace Router → Dashboard: routes to
- Workspace Router → AI Assistant: routes to
- Workspace Router → Settings: routes to
- Workspace Router → Item Definition: routes to
- Workspace Router → HARA: routes to
- Workspace Router → Safety Goals: routes to
- Workspace Router → Functional Concept: routes to
- Workspace Router → Technical Concept: routes to
- Workspace Router → Workflow Automation: routes to
- Workspace Router → Knowledge Base UI: routes to
- Workspace Router → Traceability: routes to
- Workspace Router → Document Factory: routes to
- Workspace Router → Service Assembly: builds
- Service Assembly → Repository: initializes
- Repository → Project Database: reads and writes
- Service Assembly → Knowledge Base: assembles
- Service Assembly → RAG Engine: assembles
- Knowledge Base → Repository: reads and writes
- Knowledge Base → Chunking: chunks documents
- Knowledge Base → Embeddings: embeds chunks
- Knowledge Base → Vector Store: indexes chunks
- RAG Engine → Embeddings: embeds query
- RAG Engine → Vector Store: searches
- RAG Engine → Repository: loads context
- RAG Engine → LLM Client: requests generation
- LLM Client → Model Providers: calls provider
- Document Factory → Repository: reads artifacts
- Traceability → Repository: accesses links