How leepokai/codync works
Codync is a cross-platform way to message persistent coding-agent bots running on a user’s computers. The principal workflow is: a user sends a message from a desktop, iPhone, or terminal client; the Rust host routes it to a selected agent, maintains the conversation, and returns updates to clients. Pairing and encrypted relay make remote computers reachable, while the product also includes group chats and threads, remote screen control, voice calls, routines, marketplace integrations, memory, and private push notifications. Relationships beyond the sampled excerpts are based on the README’s documented workflow and capabilities.
Main entry points: http.rs Host API · mod.rs Bot conversations · RootView.swift iPhone app · Composer.tsx Desktop app
Components 20
Client apps
- Desktop app
apps/desktop/src/renderer/views/thread/Composer.tsx - iPhone app
apps/ios/Views/RootView.swift - Terminal UI
host/src/tui/app/ui.rs
Host and agents
- Host runtime
host/src/main.rs - Host API
host/src/api/http.rs - Connection hub
host/src/hub.rs - Agent backends
host/src/agent/backends.rs - Host data store
host/src/store/schema.rs
Remote access
- Pairing and transport
apps/ios/Kit/Sources/CodyncKit/Client/ChannelTransport.swift
Bot capabilities
- Bot conversations
host/src/chat/mod.rs - Groups and threads
host/src/chat/group.rs - Bot memory
host/src/chat/memory/mod.rs - Marketplace
host/src/market/mod.rs - Routines
host/src/routines/mod.rs - Remote screen
host/src/screen/mod.rs - Voice calls
apps/desktop/src/renderer/views/call/call-operator.ts
Cloud services
- Cloud relay
cloud/src/relay.ts - Push relay
relay/src/index.ts
Other components
- User
- ACP agents
Connections 25
- User → Desktop app: messages
README.md - User → iPhone app: messages
README.md - User → Terminal UI: messages
README.md - Desktop app → Host API: sends requests
README.md - iPhone app → Pairing and transport: connects through
README.md - Pairing and transport → Host runtime: reaches
README.md - Terminal UI → Host API: calls locally
README.md - Host runtime → Host API: serves
host/src/main.rs - Host API → Connection hub: routes requests
- Connection hub → Bot conversations: dispatches turns
- Bot conversations → Agent backends: drives agent
README.md - Agent backends → ACP agents: runs via ACP
README.md - Bot conversations → Host data store: persists transcripts
README.md - Host API → Desktop app: returns updates
- Host API → iPhone app: returns updates
README.md - Bot conversations → Groups and threads: supports
README.md - Bot conversations → Bot memory: uses memory
- Host API → Marketplace: serves requests
- Host API → Routines: serves requests
- Host API → Remote screen: serves control
- Desktop app → Voice calls: starts calls
- iPhone app → Voice calls: starts calls
README.md - Pairing and transport → Cloud relay: relays ciphertext
README.md - Host runtime → Push relay: sends notifications
README.md - Push relay → iPhone app: delivers alerts
README.md