File Operations
Agent Nine can read, write, edit, and search files in your project.
Reading Files
text
Read app.tsSupports:
- Text files — displayed with line numbers
- PDF — analyzed directly
- Jupyter notebooks — renders cells with outputs
- Images — PNG, JPG, GIF, WebP, SVG displayed visually
Large files are handled automatically.
Editing Files
text
In auth.ts, change the login timeout from 30 to 60 secondsAgent Nine finds the exact location in the file and replaces the text. If there are multiple matches, it shows each location with line numbers so you can clarify.
Writing Files
text
Create a new file utils/validate.ts with an email validation functionAgent Nine will warn you if the file contains credentials or API keys and won't write them.
Searching
Find files by pattern
text
Find all TypeScript files in my projectSearch by content
text
Search for "TODO" in the codebaseList directory
text
List files in the current directoryUndo
Every file change can be undone:
text
/undoThis reverts all files modified in the current session to their original state.
