העמוד הזה עוד לא תורגם; מוצגת הגרסה באנגלית.

בטא בקרוב. הפיצ׳ר עדיין בפיתוח, ולכן שמות ופרטים עשויים להשתנות לפני השחרור.

Agent code tools

Agents can use the same language intelligence you use in the editor: go to a definition, find every reference, rename a symbol across files, organize imports and read the Problems list. That is faster and more exact than searching text, and renames don't miss a file.

The tools

ToolDoesChanges files
go_to_definitionfinds where a symbol is definedno
find_referenceslists every place a symbol is usedno
rename_symbolrenames a symbol in every file that uses ityes, as edits you review
organize_importssorts imports and removes unused ones in a fileyes, as edits you review
diagnosticsreads errors and warnings for a file or the whole projectno

The agent names a symbol and file, for example:

{ "path": "src/math.ts", "symbol": "add", "new_name": "sum" }

Results come back as file positions:

3 references in 2 files:
src/math.ts:1:17  export function add(a: number, b: number) {
src/cart.ts:4:30  const total = items.reduce((s, i) => add(s, i.price), 0);
src/cart.test.ts:9:12  expect(add(1, 2)).toBe(3);

In the chat

Each call shows as a card: Went to definition, Found references, Renamed symbol, Organized imports or Checked problems, with the symbol and file (add → sum · src/math.ts). Click a card to see the full result. The agent's checklist names the step the same way, for example Rename: add → sum · src/math.ts.

  • The tools are available in Agent, Multi-agent and Debug modes.
  • Reading tools run without asking.
  • Renames and import changes arrive as normal edits for review, file by file (Agent chat & modes). Edits outside the project are refused.

Checking its own work

After editing a file, the agent can call diagnostics on it. Ingot opens the file in the background and waits for the language server's fresh report on the new text, so the agent sees the errors it just introduced, not the old ones.

Languages

The tools work for every language whose language server or extension is installed in Ingot. The first call for a language can take a little longer while the server loads the project. If no server answers, the agent is told to fall back to text search.

If a language server applies organize imports by itself, it saves the file directly and the change skips review.