Agent hosts are the machines where Kanship’s agents write code and run tests. Your Kanship server hands them work, and every session runs in its own microVM.
What agent hosts do
AGENT HOSTS
Write code and run tests
Each host runs your architects, implementers and reviewers, and tests the app before review. It takes as many sessions as its memory, CPU and disk allow, and frees VM disks it no longer uses. Add hosts to run more tasks at once.
POOLS
Split the work if you want
A pool runs all work by default. Limit it to coding or testing, with as many testing servers as you need. Turn on emulator tests only on the machines you pick; each task gets its own emulator environment.
Every agent host needs KVM. Every agent session runs in a microVM, so each agent host needs /dev/kvm, on a physical server or a VM with nested virtualization. A server that only runs the Kanship app doesn’t need KVM.
Questions
Can I run everything on one machine?
Yes, if it has KVM. Install Kanship, then run a pool’s command from the Servers page on the same machine. That host writes code and runs your tests.
The machine must be able to connect to its own public hostname on ports 443 and 5671. If it sits behind a router, the network needs to support this, often called hairpin NAT.
Why does every agent host need KVM?
KVM runs the temporary virtual machine used for each agent session. The agent has root access inside it and can see the task’s working copy. The host’s home directory, git credentials and agent service secrets stay outside the VM. The host pushes commits after the session ends. Each agent host needs /dev/kvm for this setup.
Do I need GitHub or GitLab tokens?
You need a dedicated deploy key or HTTPS credentials with git write access. API tokens are optional: they let Kanship open GitHub pull requests or GitLab merge requests after approval. The optional GitLab CI and GitHub CI extensions also need a token. You can merge from the board without an API token.