How coolchan03/atlas works
Atlas is an on-device AI assistant combined with an offline library and field guide. A typical workflow is to choose an agent or project, ask through chat or voice, then receive a model-generated answer that can draw on project documents or offline references; learning and study modes turn those materials into checked knowledge and study outputs. The map also preserves the README’s distinct field, voice, model-management, and backup capabilities. Some core modules named in the source index are absent from the supplied tree, so directory-level nodes represent those subsystems; edges are limited to documented or excerpted relationships.
Main entry points: ChatScreen Chat experience · services Text inference · storageGroups.ts Device storage · rag Document retrieval
Components 22
Assistant and projects
- App entry
App.tsx - Chat experience
src/screens/ChatScreen - Agents and projects
src/stores - Chat and project state
src/stores
Models and media
- Text inference
src/services - Models and downloads
src/screens/DownloadManagerScreen/useDownloadManager.ts - Image generation
src/services - Voice interaction
src/atlasVoice - Native device bridges
android/app/src/main/java/ai/offgridmobile/atlasdevice
Offline field tools
- Atlas field guide
src/atlasTools - Offline maps
src/atlasMaps/maps.ts - Offline library
src/atlasTools/offlineLibrary.ts - Recordings
src/atlasRecorder - Reminders
src/schedule
Knowledge and learning
- Document retrieval
src/services/rag - Document handling
src/services - Learning mode
src/learning/engine.ts - Study mode
src/study/engine.ts
Device services
- Device storage
src/storage/storageGroups.ts - Persisted app state
src/stores/appStore.ts
Other components
- Person
- Internet tools
Connections 32
- Person → App entry: opens
- App entry → Chat experience: offers chat
- Person → Agents and projects: chooses agent
- Agents and projects → Chat experience: configures
- Chat experience → Text inference: requests answer
src/screens/ChatScreen/useChatMessageHandlers.ts - Text inference → Chat and project state: uses conversation
src/services/researchReportStorage.ts - Chat experience → Chat and project state: stores chats
- Person → Models and downloads: downloads models
- Models and downloads → Persisted app state: updates model state
- Person → Image generation: requests image
- Person → Voice interaction: speaks or listens
- Voice interaction → Native device bridges: uses device audio
- Person → Document handling: adds documents
- Document handling → Document retrieval: indexes content
src/services/rag/index.ts - Document retrieval → Text inference: checks generation
src/services/rag/index.ts - Document retrieval → Chat and project state: scopes project data
src/services/rag/index.ts - Person → Learning mode: starts learning
- Learning mode → Text inference: runs learning roles
src/learning/engine.ts - Person → Study mode: creates study material
- Study mode → Document retrieval: uses project sources
src/study/engine.ts - Person → Atlas field guide: opens field guide
- Person → Offline maps: uses offline map
- Offline maps → Device storage: provides map inventory
src/storage/storageGroups.ts - Person → Offline library: searches library
- Offline library → Text inference: supplies references
- Person → Recordings: records audio
- Person → Reminders: sets reminders
- Device storage → Offline maps: lists and deletes maps
src/storage/storageGroups.ts - Device storage → Voice interaction: lists and removes voices
src/storage/storageGroups.ts - Device storage → Recordings: lists and removes recordings
src/storage/storageGroups.ts - Internet tools → Models and downloads: provides downloads
- Chat experience → Internet tools: uses web tools