Prerequisites
- An environment with Python 3.10 or later installed.
- Blocks account and API key.
If you’d like to use Blocks with other providers such as Gitlab or Bitbucket, please reach out: dev@blocks.team.
Initialize Blocks
.blocks directory in the current working directory.Create an agent
The easiest way to create an agent is to use the This will create a new agent in the Below is an example agent you can copy to get started that uses Smolagents to implement a simple Slack agent that responds in the same thread as the user that mentioned it.
create command..blocks directory with the following structure:Project Structure
The.blocks directory is where agent source code is defined. A typical project structure looks like the following:
pip packages.

