Skip to content

Agent Catalog

Corydora ships 8 builtin agents, each specialized for a specific class of code improvement. During corydora init, agents are selected based on your project's detected tech stack. You can also import custom agents from your own markdown files.

Task Categories

Each agent produces findings in one or more task categories. Every category maps to a queue file that Corydora writes to your project's .corydora/ directory after a scan.

CategoryDescriptionQueue File
bugsCorrectness issues and failure paths.corydora/bugs.md
performanceSpeed and efficiency improvements.corydora/performance.md
testsTest coverage and quality gaps.corydora/tests.md
todoTechnical debt and deferred work.corydora/todo.md
featuresSmall feature opportunities.corydora/features.md

Technical Lenses

Tech lenses determine which agents are relevant to your codebase. Corydora auto-detects lenses from your project structure during corydora init and records them in .corydora.json. Agents are only included in a scan when at least one of their declared lenses matches your project.

LensDetected When
typescriptAlways included (default)
reactreact in dependencies
nextjsnext.config.* present, or app/ or pages/ directory found
node-clibin field present in package.json
electronelectron in dependencies
securityPaired with the Security Auditor agent
databasePaired with the Database Reviewer agent
refactoringAlways included (default)

Agent Matrix

The table below shows which agents cover which task categories. An agent is active in a scan only when its tech lenses match your project's detected lenses.

Agentbugsperformanceteststodofeatures
Bug InvestigatorX
Performance EngineerX
Test HardenerX
Todo TriagerX
Feature ScoutX
Security AuditorX
Database ReviewerXX
Refactoring EngineerXXX

Importing Custom Agents

You can extend Corydora's catalog with your own agents. Custom agents are markdown files with YAML frontmatter that define the agent's metadata and prompt guidance.

bash
corydora agents import ./my-agents/

All .md files in the target directory are parsed and registered. Imported agents are stored in .corydora/agents/imported-agents.json and included in subsequent scans alongside the builtin catalog.

Custom Agent Format

markdown
---
id: my-custom-agent
label: My Custom Agent
description: Does something specific to this codebase
categories: [bugs]
techLenses: [typescript]
---

Your prompt guidance for this agent goes here. Be specific about what
patterns to look for and what kind of findings to produce.

Frontmatter Fields

FieldRequiredDescription
idRecommendedUnique identifier used in task records and deduplication. Falls back to the filename.
labelRecommendedHuman-readable name shown in corydora agents list output.
descriptionOptionalShort summary of what the agent looks for.
categoriesOptionalOne or more task categories. Defaults to todo.
techLensesOptionalTech lenses that must match for the agent to be active. Defaults to refactoring.

The markdown body below the frontmatter becomes the agent's prompt guidance, trimmed to 4,000 characters.

Released under the MIT License.