AI Code Agent

The AI Code Agent can read, modify, and create project files, and execute terminal commands. Ideal for programming work within Aino LifeOS.

How It Differs from AI Chat

  • AI Chat: Answers questions, generates text. Cannot modify files.
  • AI Code Agent: Can directly operate the filesystem — read, write, execute commands.

How to Use

  1. Switch to code agent mode in the right panel
  2. Describe what you want, e.g., "Create a utils.ts file under src/"
  3. AI shows an action plan with a diff preview of code changes
  4. Confirm to execute

Available Operations

OperationDescription
Read filesView any project file contents
Create/modify filesWrite new files or edit existing ones
Execute commandsRun terminal commands in the project directory
Git operationsView diffs, commit code
SearchFind code snippets across the project

Permission Control

Sensitive operations (writing files, executing commands) require your manual confirmation:

  • AI shows what it will do before each operation
  • You can choose "Allow" or "Deny"
  • Auto-authorization rules configurable in settings
Warning

The code agent can modify files. Use it in Git-managed projects for easy rollback.

Common Uses

  • Describe requirements for AI to generate code
  • Paste error messages for AI to debug
  • Have AI refactor a code section
  • Have AI analyze project structure
  • AI Chat — Use chat when you don't need file modifications
  • MCP Servers — Extend available agent tools