Getting Started
Install KRAIT and create your first self-evolving agent in five minutes.
Prerequisites
KRAIT requires Elixir 1.17+ and Erlang/OTP 27+. You also need Docker installed for the sandbox environment.
# Verify your Elixir version
elixir --version
# Verify Docker is running
docker info
Installation
The quickest way to install KRAIT is via the install script:
bash <(curl -fsSL https://raw.githubusercontent.com/postrv/kraitbot/main/install.sh)
This will:
- Download the latest KRAIT release
- Verify the SHA-256 checksum
- Install the
kraitbinary to~/.krait/bin - Add it to your PATH
Creating Your First Agent
Initialize a new KRAIT project:
krait init my-agent
cd my-agent
This creates a project with the standard structure:
my-agent/
config/
krait.exs # Agent configuration
rules.exs # Custom security rules (extends KRAIT-001 through KRAIT-007)
skills/
hello_world.ex # Your first skill
test/
skills/
hello_world_test.exs
mix.exs
Running the Agent
Start the agent in development mode:
krait dev
The agent will start and connect to your configured LLM provider. You can interact with it via the built-in chat interface at http://localhost:4000.
Next Steps
- Configuration — customize LLM providers, memory backends, and security rules
- Your First Evolution — watch the agent write and validate its own code
- Skills System — understand how KRAIT skills are structured and validated