Skip to main content

Agent Targeting

Agent Targeting uses an AI agent to analyse your codebase and identify the highest-impact areas for optimisation. It provides fast, focused results by prioritising high-value targets rather than scanning every file.

How it works

From the Code Targeting panel, select Agent Targeting.

Agent Targeting — select and configure

Enter a prompt describing what you want to optimise (e.g. "Find the most performance-critical functions in the codebase"). The agent will analyse your code, identify key targets, and surface an analysis summary with recommended areas to focus on.

Agent Targeting — results and analysis

The right-hand panel shows the agent's output, including:

  • Analysis Summary — an overview of what the agent found
  • Performance-Critical Functions Identified — specific files and functions with impact ratings
  • Key Optimisation Opportunities — actionable recommendations for each target

When to use it

  • You want a quick, high-signal starting point without a full file-by-file scan
  • You have a specific optimisation goal and want the agent to find the best targets for it
  • You're working with a large codebase and want to narrow down fast

Next Steps

After targets are identified:

  1. Score your targets to further prioritise
  2. Generate new code versions