Run autonomous TDD actor-critic loops in the cloud while pulling credentials dynamically and securely from your local machine over a reverse tunnel. **Safely close your laptop** while Kiwi executes.
go install github.com/runkiwi/kiwi/cmd/kiwi@latest
Explore Kiwi's complete orchestration engine. Select a sandbox, trigger system controls, and observe multi-agent sandboxing, tunneling, budget caps, and safety breakers.
Trigger system actions on the active sandbox.
Secure, resilient execution that bridges the speed of the cloud with the compliance of local keys.
A test-driven controller that edits code, evaluates compiler and test output inside the sandbox container, and refines fixes iteratively until resolution.
Isolates all untrusted code modification, compiling, and unit testing inside dedicated Docker containers (`golang:alpine`), protecting the parent host.
Eliminates the risk of persisting long-lived GitHub tokens, database keys, or cloud access roles on remote sandbox instances. Pull credentials dynamically as needed.
Enables complete laptop closure. Once a secret is queried through the tunnel, it is cached in-memory securely to let the loop execute autonomously to completion.
Complete offline resilience. If the loop requests a new, uncached secret while your laptop is closed, it pauses execution statefully and resumes once you reconnect.
Integrated circuit breakers detect infinite loop structures by tracking duplicate terminal output hashes. Budget caps limit token overhead to guarantee cost-controls.
Monitor your agent's loops, debug stack traces, edit budgets, and manage offline sessions in real-time.
Configure the Kiwi daemon host and deploy your first agent task with minimal overhead.
# Build Kiwi binaries
go build -o kiwid cmd/kiwid/main.go
# Start the daemon on port 8080 (Set secure token)
export USE_DOCKER="true"
export KIWI_SERVER_TOKEN="production-secure-token-9999"
./kiwid -addr :8080 -db kiwi.db
# Set up your local secrets structure
echo '{"GITHUB_TOKEN": "ghp_secureTokenValue"}' > secrets.json
# Submit the task to the cloud and establish reverse secrets tunnel
kiwi -server "http://kiwi-daemon.yourhost.com:8080" \
-token "production-secure-token-9999" \
-task "Fix division by zero in Divide()" \
-file math_utils.go \
-test-cmd "go test ./..."
Deploy the control plane to your own infrastructure or start developing locally.