Skip to main content
The create command is used to create a new agent template. This will only create the directory and template files, and will not register the agent.
This will create a new agent in the .blocks directory with the following structure:
You can edit the main.py file to define your agent, and add any dependencies to requirements.txt. We automatically add blocks-sdk as a dependency. You’ll want to update the blocks-sdk version often to get the latest features and bug fixes.