How stevensu1977/obsidian-copilot works
External Integrations (Show as external systems)
• OpenAI API
• Anthropic API
• Azure OpenAI
• Google Gemini
• OpenRouter
• Local Models (LM Studio/Ollama)
• Obsidian API
Data Flow Patterns
• User Interface → Command Manager → LLM Integration Layer
• LLM Integration Layer → External APIs
• Vector Store → Search Components → LLM Integration Layer
• Settings Manager → All Components (configuration flow)
Key Architectural Patterns to Highlight
a. Plugin Architecture:
• Obsidian App
• Copilot Plugin
• UI Layer (React Components)
• Business Logic Layer
• Integration Layer
b. LLM Provider Architecture:
• Chain Manager
• Chat Model Manager
• Embedding Manager
• Memory Manager
Important Notes
• Plugin's ability to work completely offline
• Separation between local and cloud-based features
• Where encryption and rate limiting occur
• Components responsible for context management and retrieval
This architecture represents a modern AI-assisted note-taking tool with a strong emphasis on privacy and local-first functionality, which should be clearly reflected in the visual representation.