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
- Switch to code agent mode in the right panel
- Describe what you want, e.g., "Create a utils.ts file under src/"
- AI shows an action plan with a diff preview of code changes
- Confirm to execute
Available Operations
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
Related
- AI Chat — Use chat when you don't need file modifications
- MCP Servers — Extend available agent tools

