Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
[package]
name = "codync-host"
version = "2.42.1"
edition = "2024"
# iroh (codync-network) needs 1.91.
rust-version = "1.91"
default-run = "codync-host"
description = "Runs your coding-agent bots and serves the Codync apps"
license = "Apache-2.0"
repository = "https://github.com/leepokai/Codync"
# The memory and network crates build here; memory is mirrored to its own repository (docs/design/bot-memory.md#packaging).
[workspace]
members = ["crates/memory", "crates/network"]
[dependencies]
anyhow = "1.0.104"
axum = { version = "0.8.9", features = ["ws"] }
base64 = "0.23.1"
chacha20poly1305 = "0.11.0"
chrono = "0.4.45"
chrono-tz = "0.10.4"
codync-mem = { path = "crates/memory" }
# aws-lc-rs, like reqwest and tokio-tungstenite. With ring built in too (a `--workspace` build turns
# on the crate's default), rustls has no default provider, so `main` installs one.
codync-network = { path = "crates/network", default-features = false, features = ["tls-aws-lc-rs"] }
clap = { version = "4.6.7", features = ["derive", "env"] }
croner = "3"
crossterm = { version = "0.29", features = ["event-stream"] }
dirs = "7.0.0"
ed25519-dalek = "3.0.0"
flate2 = "1.1.10"
fs2 = "0.4.3"
futures = "0.3.34"
gethostname = "1.1.0"
getrandom = "0.4"
hkdf = "0.13.0"
iana-time-zone = "0.1.65"
if-addrs = "0.15.0"
portable-pty = "0.9.0"
qrcode = { version = "0.14.1", default-features = false }
ratatui = { version = "0.30", default-features = false, features = ["crossterm"] }
reqwest = { version = "0.13.5", default-features = false, features = ["rustls", "json", "stream"] }
rusqlite = { version = "0.40.2", features = ["bundled"] }
rustls = { version = "0.23.46", default-features = false, features = ["aws_lc_rs", "std"] }
semver = "1.0.28"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = { version = "1.0.151", features = ["preserve_order"] }
sha2 = "0.11.0"
hmac = "0.13.0"
# Already built for reqwest's URL handling; the TUI folds accents out of section names to sort them.
icu_normalizer = { version = "2.3.0", default-features = false, features = ["compiled_data"] }
shlex = "2.0.1"
tar = "0.4.46"
tokio = { version = "1.53.1", features = ["full"] }
tokio-stream = { version = "0.1.19", features = ["sync"] }
tokio-tungstenite = { version = "0.29", features = ["rustls-tls-webpki-roots"] }
toml_edit = { version = "0.25.15", default-features = false, features = ["parse"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
unicode-width = "0.2"
url = "2.5.8"
uuid = { version = "1.26.1", features = ["v4", "v7"] }
x25519-dalek = { version = "3.0.0", features = ["static_secrets"] }
zeroize = "1"
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
resvg = { version = "0.49", default-features = false }
zip = { version = "9.2.0", default-features = false, features = ["deflate"] }
listeners = "0.6.1"
mdns-sd = "0.21.7"
[target.'cfg(target_os = "macos")'.dependencies]
keyring = { version = "3.6.3", features = ["apple-native"] }
[target.'cfg(target_os = "linux")'.dependencies]
keyring = { version = "3.6.3", features = ["sync-secret-service", "crypto-rust", "vendored"] }
dbus-secret-service = { version = "4.1.0", features = ["vendored"] }
[target.'cfg(windows)'.dependencies]
keyring = { version = "3.6.3", features = ["windows-native"] }
windows-sys = { version = "0.61.2", features = ["Win32_Foundation", "Win32_System_JobObjects", "Win32_System_Threading", "Win32_System_Diagnostics_ToolHelp", "Win32_Security", "Win32_System_SystemInformation"] }
# rust-skills lint-* rules: all default groups plus pedantic, with the
# library-oriented pedantic lints turned off for this binary crate.
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "warn"
[lints.clippy]
correctness = { level = "deny", priority = -1 }
suspicious = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
complexity = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
module_name_repetitions = "allow"
too_many_lines = "allow"
unwrap_used = "warn"
dbg_macro = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
# perf-release-profile / opt-lto-release. Unwinding stays on: a panic in one
# bot's task must not take down the whole daemon.
[profile.release]
lto = "thin"
codegen-units = 1
strip = true
# The host hashes its own binary before it listens (`service::capture_binary_identity`). Unoptimized,
# SHA-256 over a debug build (500 MB on Linux) takes long enough that test hosts miss their 30 s start.
[profile.dev.package.sha2]
opt-level = 3
# The host Codync Dev bundles (apps/desktop/tools/native-host.mjs): optimized like a release, but
# a host change rebuilds in about 25 s instead of 80 s per architecture.
[profile.dev-app]
inherits = "release"
lto = false
codegen-units = 16
incremental = true
[target.'cfg(unix)'.dependencies]
libc = "0.2"