Quickstart
Install Klex and get your first Klex bot up and running.
Installation
Klex bots are self-hosted. This means that you must download the Klex application on a machine that should later act as the memory store and the execution environment for the bot.
To install Klex, run the following script in your system’s shell:
curl -fsSL https://klex.bot/install.sh | shcurl -fsSL https://klex.bot/install.sh | shirm https://klex.bot/install.ps1 | iexcurl -fsSL https://klex.bot/install.sh | shCreating your bot
Sign up to the Klex Cloud
Go to the Klex Cloud and sign up. In the left sidebar, select the Bots panel and click on Set up a Klex Bot.
Start Klex
Follow the guide in the wizard to install and start the Klex app.
Create a new bot
In the Klex app, select Create a new Bot in the option list and press Enter.
Name your bot
Enter the name this bot should use. The bot will know that this is its own name.
Enroll the bot into the cloud
Follow the instructions in the cloud wizard to connect this bot to your Klex Cloud organization.
Configure model providers & model selection
The cloud wizard will now prompt you to configure the model providers and models you want the bot to use.
Give the bot its soul
In the next step, the wizard will ask you to design the bot’s soul. You have two options: Creator mode (recommended!) and God message mode.
Connect MCPs
Start Klex
Start the CLI with the following command: klex --no-cloud
Create a new bot
Select Create a new Bot in the option list and press Enter.
Name your bot
Enter the name this bot should use. The bot will know that this is its own name.
Configure model providers
Go into Settings -> Model Providers and create a provider instance for every model provider you want to use.
Configure model selection
Go into Settings -> Model Selection and configure the model for every use case of the bot.
Give the bot its soul
Go into Settings -> God messages to send a God message. The content of the god message should describe what the soul of the bot should look like (its job, its character, etc.).
Connect MCPs
Settings -> MCPs and connect MCPs to give the bot access to the outside world.