Coder Agent

AI code review, feature generation, and full project scaffolding — all on your local files.

What it does

The Coder Agent reads your actual project files and generates code suggestions with before/after diffs. You approve or reject each suggestion individually — nothing is written to disk until you approve it.

Setup: link your project

Before using the Coder Agent, you need to tell AppStudio where your project lives.

1
Open the idea and go to the Build tab
2
Click "Set Source Path"

A folder picker opens. Point it at your project root — e.g. D:\Projects\my-app or ~/projects/my-app.

3
AppStudio indexes the project

It scans the directory structure so the agent knows what files exist.

Code Review

Scans your project files and generates 3–5 actionable, prioritised suggestions. Each suggestion falls into one of three categories:

  • Bug fixes — logic errors, edge cases, broken flows
  • Security vulnerabilities — with exact remediation steps
  • Code quality improvements — readability, structure, dead code

Each suggestion shows a unified diff with the exact before/after change. Click Approve to write the change to disk, or Reject to dismiss it.

Feature Generation

Describe a feature in plain English and get implementation code across multiple files.

1
Click "Generate Feature"
2
Describe the feature

Be specific. Example: "Add rate limiting to the API — 100 requests per minute per IP, return 429 with a Retry-After header."

3
Review generated files and diffs

Each changed or new file appears as a diff. Review each one.

4
Approve or reject

Approve writes to disk. Reject discards. You can approve individual files while rejecting others.

Scaffold

Generate a full starter project from scratch, based on your idea's description and your preferred stack.

1
Click "Scaffold Project"
2
AppStudio generates all files with content

This includes folder structure, source files, config files, and a basic README — all tailored to your idea.

3
Choose a directory to write to
4
Approve to create the project

Files are written to the chosen directory. You can start working immediately.

Safety

Sandboxed writes: The Coder Agent can only write files inside your linked source_path. Path traversal is blocked — it cannot touch files outside your project folder, regardless of what the AI generates.

All suggestions are stored in the database as pending until you explicitly approve them. Approving marks the suggestion as approved and writes the file. Rejecting marks it rejected with an optional reason — no disk write occurs.