IntentKit Setup: Docker and Local Development
This guide will help you set up IntentKit quickly, whether you prefer using Docker for a streamlined installation or setting up a local development environment for customization and coding.
Docker (Recommended)
Docker is the fastest and easiest way to set up IntentKit with minimal configuration. It creates a containerized environment that isolates dependencies and configurations.
-
Create a new directory:
-
Download the required files:
-
Set up your environment:
Ensure you add your
OPENAI_API_KEY
in the.env
file. This is required for the AI capabilities of IntentKit. Full guide on how to generate an OpenAI API key can be found here. -
Start the services:
This will launch all necessary services, including the API server and autonomous agent scheduler.
-
After installation, youโll want to create your first agent. Head over to our Agent Creation and Configuration guide to learn how to create and configure agents.
Local Development
For developers who want to customize or extend IntentKit, setting up a local development environment provides more control and flexibility.
-
Clone the repository:
-
Install dependencies: Ensure you have Python 3.10-3.12 installed (3.12 is recommended). If you donโt have
poetry
installed, do so first:Then, install the project dependencies:
-
Set up your environment:
Configure the
.env
file with your settings, including the requiredOPENAI_API_KEY
. Full guide on how to generate an OpenAI API key can be found here. -
Run the application:
- Start the API server:
- Start the autonomous agent scheduler:
Both services are now running locally and ready for use.
- Start the API server:
-
Creating Your First Agent
After installation, youโll want to create your first agent. Head over to our Agent Creation and Configuration guide to learn how to create and configure agents.