How msitarzewski/agency-agents-app works
Agency Agents is a local-first native desktop control surface for browsing an upstream agent-persona catalog and deploying deterministic persona files into supported coding tools. The principal workflow is catalog discovery and inspection, followed by rendering, installation, and ledger-based reconciliation; dashboard, teams, projects, settings, GitHub, and updates are supporting capabilities. The README and sampled backend excerpts establish the core data flow; frontend-to-command details and several unsampled modules are represented only where documented, so unsupported call edges are omitted.
Main entry points: install/mod.rs Install and reconcile · github.rs GitHub commands · corpus/mod.rs Catalog source and index · settings.rs Settings commands
Components 34
Frontend experience
- Agents workspace
src/lib/components/AgentsWorkspace.svelte - Tools panel
src/lib/components/ToolsView.svelte - Teams
src/lib/components/Teams.svelte - Projects
src/lib/components/Projects.svelte - Dashboard views
src/lib/components/AgencyDashboard.svelte - Tauri API client
src/lib/api.ts - Preset teams
src/lib/data/presetTeams.ts - Settings UI
src/lib/components/Settings.svelte - GitHub store
src/lib/stores/github.svelte.ts - Updater store
src/lib/stores/updater.svelte.ts
Catalog management
- Catalog source and index
src-tauri/src/corpus/mod.rs - Persona parser
src-tauri/src/corpus/parse.rs
Install lifecycle
- Install and reconcile
src-tauri/src/install/mod.rs - Tool renderers
src-tauri/src/render/mod.rs - Tool registry
src-tauri/src/registry.rs - Install ledger
src-tauri/src/install/mod.rs
Native services
- Settings commands
src-tauri/src/commands/settings.rs - Shared app state
src-tauri/src/state.rs - GitHub commands
src-tauri/src/commands/github.rs - GitHub Device Flow
src-tauri/src/github/auth.rs - GitHub actions
src-tauri/src/github/actions.rs - GitHub statistics
src-tauri/src/github/stats.rs - GitHub URL handling
src-tauri/src/github/url.rs - Updater commands
src-tauri/src/commands/updater.rs - Filesystem helpers
src-tauri/src/util/fs.rs - Process utilities
src-tauri/src/util/process.rs - AppImage process hygiene
src-tauri/src/util/proc.rs - Tauri command boundary
src-tauri/src/lib.rs - Persisted settings
src-tauri/src/commands/settings.rs
Other components
- User
- Installed coding tools
- Platform keychain
- GitHub
- Signed update service
Connections 41
- User → Agents workspace: browses and selects
README.md - Agents workspace → Tauri API client: requests catalog
- Tauri API client → Tauri command boundary: invokes commands
- Tauri command boundary → Catalog source and index: routes catalog requests
src-tauri/src/lib.rs - Catalog source and index → Persona parser: parses personas
src-tauri/src/corpus/mod.rs - User → Agents workspace: requests deployment
README.md - Agents workspace → Install and reconcile: starts install
- Tools panel → Install and reconcile: requests bulk operations
- Teams → Install and reconcile: deploys team
README.md - Projects → Install and reconcile: manages scoped installs
README.md - Install and reconcile → Catalog source and index: reads persona source
src-tauri/src/install/mod.rs - Install and reconcile → Tool renderers: renders persona
src-tauri/src/install/mod.rs - Install and reconcile → Tool registry: detects tool targets
src-tauri/src/install/mod.rs - Tool renderers → Tool registry: reads tool metadata
src-tauri/src/render/mod.rs - Install and reconcile → Install ledger: tracks and reconciles
README.md - Install and reconcile → Installed coding tools: writes and detects files
README.md - Dashboard views → Install and reconcile: surfaces install health
README.md - Teams → Preset teams: uses bundled presets
- Settings UI → Settings commands: manages preferences
- Settings commands → Persisted settings: persists settings
src-tauri/src/commands/settings.rs - Shared app state → Settings commands: loads settings
src-tauri/src/state.rs - GitHub store → GitHub commands: requests GitHub features
- GitHub commands → GitHub Device Flow: uses authentication
- GitHub Device Flow → Platform keychain: stores credentials
src-tauri/src/github/auth.rs - GitHub Device Flow → GitHub: performs Device Flow
src-tauri/src/github/auth.rs - GitHub commands → GitHub actions: dispatches actions
- GitHub commands → GitHub statistics: requests statistics
- GitHub commands → GitHub URL handling: uses URL handling
- Updater store → Updater commands: checks and installs
- Updater commands → Signed update service: checks signed manifest
README.md - Updater commands → Settings commands: reads update preferences
src-tauri/src/commands/updater.rs - Settings commands → Filesystem helpers: reads and writes settings
src-tauri/src/commands/settings.rs - Shared app state → Catalog source and index: caches catalog state
src-tauri/src/state.rs - Catalog source and index → Filesystem helpers: manages local catalog
src-tauri/src/corpus/mod.rs - Install and reconcile → Filesystem helpers: uses safe file operations
src-tauri/src/install/mod.rs - Install and reconcile → Process utilities: queries tool versions
src-tauri/src/install/mod.rs - Process utilities → AppImage process hygiene: sanitizes child environment
- User → Tools panel: inspects tool status
README.md - User → Teams: selects team
README.md - User → Projects: manages project installs
README.md - User → Dashboard views: reviews coverage
README.md