Add Agent
Usage
Description
Enables a new agent in your workspace. Updates drevon.config.json and generates the agent’s config file.
Arguments
Example
This:
- Validates the agent name
- Sets
agents.cursor.enabled = true in drevon.config.json
- For Claude, automatically adds default
allowedCommands
- Runs
drevon sync to generate the config file
Claude Special Handling
When adding Claude, the adapter automatically configures allowedCommands:
Remove Agent
Usage
Description
Disables an agent and removes its generated config files.
Example
This:
- Calls the adapter’s
clean() method to delete generated files (e.g., .windsurfrules)
- Sets
agents.windsurf.enabled = false in drevon.config.json
- Saves the updated config
This permanently deletes the agent’s config file. If you’ve made manual edits to it (against best practices), they will be lost.