This guide walks you through extending or modifying existing crews to customize their behavior.
Once you understand how Techies crews are structured, you can start customizing them to better suit your needs.
This guide walks you through how to safely modify an existing crew, override agents or tasks, and extend behavior using local configuration files.
To begin, choose a crew to modify and dump its configuration:
techies dump hierarchy_crew_v2This creates a folder named hierarchy_crew_v2/ in your current working directory containing:
agents.ymltasks.ymlcrews.yml
These files represent the full configuration of the crew and can now be modified locally.
You can now open and edit the dumped YAML files:
- agents.yml — change agent goals, tools, or backstory
- tasks.yml — adjust instructions, expected output, or execution flow
- crews.yml — change task order, crew members, or iteration limits
Any matching agent/task/crew key defined locally will override the system version automatically.
After editing, run the crew from the same directory:
techies run hierarchy_crew_v2 --game word2048Techies will prioritize the local files over built-in definitions when resolving the crew configuration.
Techies loads configurations in the following order by default:
- Built-in system definitions
- Definitions in the current working directory
If an agent/task/crew key is found in both, the local version takes precedence.
You can override the default discovery behavior using the TECHIES_RUNTIME environment variable.
When defined, Techies will only use the paths listed in TECHIES_RUNTIME to load definitions — and skip built-in and CWD.
export TECHIES_RUNTIME=/absolute/path/to/custom_crewsMake sure to use absolute paths. Relative paths like
./my_crewswill not be included unless you're working from that directory.
To include built-ins alongside your custom definitions:
export TECHIES_RUNTIME=$(techies get_runtime_path):/absolute/path/to/custom_crewsThis restores access to all predefined crews while allowing you to layer your overrides.
Paths are evaluated in order. Later paths override earlier ones if the same keys are defined.
- Always dump a crew before modifying — never edit built-ins
- Use
_commonblocks and anchors to avoid duplication - Use unique, descriptive keys when creating new agents or tasks
- Use absolute paths in
TECHIES_RUNTIME - Run from a clean working directory for each crew
-
Dump a crew:
techies dump hierarchy_crew_v2
-
Edit
agents.yml:hierarchy_architect_v2: goal: | In addition to XML, also generate a summary in Markdown format. tools: - write_file - read_file - markdown_parser
-
Run the crew:
techies run hierarchy_crew_v2 --game pong
Your local changes will be picked up automatically.
To revert to the original system version of a crew:
- Delete the local
<crewname>/folder - Or unset/remove the
TECHIES_RUNTIMEvariable
One of the most common customizations is changing which tools an agent has access to.
- Open the dumped
agents.ymlfile - Locate the agent you want to modify
- Add or remove tools from the
toolslist:
my_modified_agent:
goal: |
Search for information and analyze data.
backstory: |
A research specialist with data analysis skills.
tools:
- read_file
- write_file
- list_files
# Add other tools hereNeed more specialized functionality? You can also create custom tools and make them available to your agents.