Installation
ka agent ships as a prebuilt binary (Linux, macOS, and Windows x86_64). The ka-* engine crates are pinned to one ka-harness git revision (247e99e, the v0.7.0+ line noted in Cargo.toml), so the build is reproducible and doctor reports the pin as KA_PIN.
Install
Section titled “Install”curl -fsSL https://ka-agent.com/install.sh | shOn Windows (PowerShell):
irm https://raw.githubusercontent.com/jaltez/ka-agent/main/scripts/install.ps1 | iexka-agent.com/install.sh is a stable redirect to the install script in the repository (scripts/install.sh). The installer puts ka-agent in ~/.local/bin by default. Knobs (all optional):
KA_AGENT_INSTALL_DIR: target directory;KA_AGENT_NO_SETUP=1: install only, skip the wizard;KA_AGENT_INSTALL_FROM=<tarball>: install from a local tarball instead of fetching.
From source
Section titled “From source”git clone https://github.com/jaltez/ka-agent.git && cd ka-agentcargo install --path apps/ka-agentThe workspace denies unwrap/expect/todo/unimplemented/dbg and forbids unsafe; CI runs fmt, clippy, tests and the dependency gate on Linux and macOS, and builds the release binary on Windows.
First run
Section titled “First run”ka-agentOn a fresh install this is the setup wizard (about three minutes): it picks a provider, verifies the API key live, picks a model, detects your timezone, offers to pair Telegram or Matrix with a one-time code, offers web search, offers to install the background service, and ends with a real first reply and a “you’re live” card. Nothing is written until you confirm.
Sections can be re-run individually:
ka-agent setup # the whole wizard againka-agent setup model # one section: all | model | telegram | matrix | service | search | briefing | voiceka-agent setup --yes # non-interactive: every prompt takes its defaultConfig is explicit by rule: a missing or invalid config is an error pointing at ka-agent setup, never a silent default.
Where everything lives
Section titled “Where everything lives”Everything lives under ~/.ka-agent (override with $KA_AGENT_HOME), like other agents, created 0700:
~/.ka-agent/ config.toml # the default profile's config ($KA_AGENT_CONFIG overrides) skills/ # your SKILL.md library (shared by all profiles) active_profile # written by `ka-agent profile use` profiles/default/ # data for the default profile workspace/ state.db memory/ secrets/ backups/ logs/ … users/<name>/ # one account's disjoint tree (memory, workspace, notes, …)$KA_AGENT_DATA_DIR replaces the data root wholesale (tests, service units). A pre-0.3 install (~/.local/share/ka-agent + ~/.config/ka-agent) moves itself to the new layout on the next run. Team installs migrate too: pre-team roles/<name>/ trees move under users/<name>/ once on first start (see users & accounts).
Staying current
Section titled “Staying current”ka-agent update check # is there a newer release?ka-agent update # download, verify, swap, restart the service(s)The checksum must match before anything moves; a mismatch installs nothing. status and doctor show “update available” once a newer release exists.
Switching in from another agent
Section titled “Switching in from another agent”ka-agent import hermes # also: openclaw, claude, codexImports respect the rules: another agent’s memory arrives as candidates you accept one by one, and skills land in the shared library.
Platforms
Section titled “Platforms”| Platform | Status |
|---|---|
| Linux | First-class: systemd user units, bubblewrap plugin sandbox. |
| macOS | Supported: launchd service; plugins need Linux (they use bubblewrap). |
| Windows | Supported (x86_64): the admin endpoint is a named pipe, the service is a Task Scheduler entry, workers are killed with taskkill /T, and the terminal chat uses the console API (line mode where raw mode is unavailable). Plugins are refused: they need Linux. |
Verify
Section titled “Verify”ka-agent doctor # one line per check, each with the fix; exit 1 = fix somethingka-agent doctor --online # also verify keys and tokens live; one real request to the modeldoctor reports the version, the ka pin, the contract-suite hash (sha256 of the sixteen embedded docs/contract/*.md the binary shipped with), config presence and validity, data/state/workspace state (including tree permissions), the provider-key count, web-search and tool keys, git presence (memory is git-backed), the bubblewrap version, skills, identities, plugins, and the last backup age.