How soumyachk101/ensembyte works
Ensembyte is a local-first, multi-agent coding client, with a macOS Swift app and a Rust desktop stack; the tree also includes an iOS client. The main workflow is to choose a project and agent, compose a request, run it through a local provider adapter, and inspect its streaming transcript and per-turn changes. Other documented capabilities include MCP, spend visibility, and optional session sync. The README describes product behavior, while sampled sources expose only selected Rust, iOS, and Swift internals; dashed links mark relationships not verified in those excerpts.
Main entry points: EnsembyteApp.swift macOS app · main.rs Desktop app · SessionViewController.swift Session view · catalog.rs Agent adapters
Components 20
Client experience
- macOS app
Ensembyte-swift/Ensembyte/App/EnsembyteApp.swift - Desktop app
Ensembyte-rust/apps/ensembyte/src/main.rs - iOS shell
Ensembyte-rust/apps/ios/Ensembyte/Shell/MainTabController.swift - Session setup
Ensembyte-rust/apps/ios/Ensembyte/Session/NewSessionViewController.swift - Session view
Ensembyte-rust/apps/ios/Ensembyte/Session/SessionViewController.swift - Message composer
Ensembyte-rust/apps/ios/Ensembyte/Composer/ComposerBar.swift - Live transcript
Ensembyte-rust/crates/ui/src/transcript.rs
Agent runtime
- Account client
Ensembyte-rust/crates/client/src/client.rs - Agent adapters
Ensembyte-rust/crates/harness/src/catalog.rs - Permission prompts
Ensembyte-rust/crates/harness/src/claude/wire.rs
Workspace tools
- Projects and threads
Ensembyte-rust/crates/engine/src/sessions.rs - Turn diffs
Ensembyte-rust/crates/engine/src/diff_sync.rs - MCP integrations
Ensembyte-rust/crates/mcp/src/tools.rs - Spend and quota
Ensembyte-rust/crates/engine/src/agent_accounts/usage.rs
Sync and services
- Session sync
Ensembyte-rust/crates/sync/src/chat_client.rs - Sync state
Ensembyte-rust/crates/sync/src/store.rs - Edge services
Ensembyte-rust/edge/src/index.ts - Local storage
Ensembyte-swift/Ensembyte/Services/Store/Storage.swift
Other components
- User
- Installed agents
Connections 26
- User → macOS app: uses
README.md - User → Desktop app: uses
README.md - User → iOS shell: uses
- iOS shell → Session setup: opens
Ensembyte-rust/apps/ios/Ensembyte/Shell/MainTabController.swift - iOS shell → Session view: opens
Ensembyte-rust/apps/ios/Ensembyte/Shell/MainTabController.swift - Session setup → Message composer: embeds
Ensembyte-rust/apps/ios/Ensembyte/Session/NewSessionViewController.swift - Session view → Message composer: embeds
Ensembyte-rust/apps/ios/Ensembyte/Session/SessionViewController.swift - Message composer → Session view: sends input
Ensembyte-rust/apps/ios/Ensembyte/Session/SessionViewController.swift - Session view → Live transcript: renders stream
- macOS app → Agent adapters: runs agents
- Desktop app → Account client: starts client
- Account client → Agent adapters: dispatches
- Agent adapters → Installed agents: launches
README.md - Installed agents → Live transcript: streams output
README.md - Agent adapters → Permission prompts: handles prompts
README.md - Desktop app → Projects and threads: manages sessions
README.md - macOS app → Projects and threads: manages sessions
README.md - Desktop app → Turn diffs: shows turn diffs
README.md - macOS app → Turn diffs: shows turn diffs
README.md - Desktop app → MCP integrations: offers tools
README.md - macOS app → MCP integrations: offers tools
README.md - Account client → Spend and quota: tracks usage
- Desktop app → Session sync: syncs sessions
- Session sync → Sync state: persists updates
Ensembyte-rust/crates/sync/src/chat_client.rs - Session sync → Edge services: connects remotely
- macOS app → Local storage: persists local data