Create your First Agent
Create Codebolt Agent
Follow the steps below to create a new agent using Codebolt.
Step 1: Select or Create a Project for Agent Creation
- After creating or opening a project, open a terminal to create an agent.
Step 2: Initialize the Agent Creation Process
- Open your terminal in the project directory
- Type the following command:
npx codebolt-cli createagent demoAgent --quick
3. Press Enter to execute the command
demoAgent
: This is the name of your agent (can be customized)--quick
: This flag creates a basic agent template with default configurations
Step 3: Understanding the Agent Structure
After successful creation, your agent will have the following structure:
.codeboltAgents/
└── demoAgent/
├── codeboltagent.yaml # Agent configuration file
├── agent.yaml # contains Prompt for agent
├── task.yaml # contains instruction for task
Step 4: Verify Agent Creation
- After successfully creating the agent, you can find your agent inside the .codeboltAgents folder.
Step 5: Next Steps
- Open the
codeboltagent.yaml
file to customize your agent's settings - Configure your agent's prompt in the
agent.yaml
file - Define tasks and instructions in the
task.yaml
file