**This is an old revision of the document!**
Kilo Code for VS Code (Insider)
Requirements:
- I want to have research agent (web) that is available for all project, sothat I can do structured web search on topics.
- The research agent should store it's research memory as text (.md) files in local project folder structure for to create growing context for the project. ## Custom Modes and Agents
Kilo discovers these files via glob patterns in multiple config directories:
Scope Mode file path pattern Agent file path pattern
Project-local .kilo/modes/.md .kilo/agents/.md
Global (XDG) ~/.config/kilo/modes/.md ~/.config/agents/modes/.md
Legacy global ~/.kilo/modes/.md or ~/.kilocode/modes/.md