-
Notifications
You must be signed in to change notification settings - Fork 0
App Agents
This page describes app-local AI agents and the code-changing workflow OSAI is designed to support.
- App-Local Agents
- Source-Code Indexing
- Patch Loop
- Git Sync
- Deployment and Rollback
- Security Boundaries
An app agent runs near the application it improves. It has scoped access to source code, build tools, test commands, and deployment hooks.
The agent is embedded in the operational model of the app instead of acting as a remote chatbot with no local context.
The source-code index should track:
- files;
- symbols;
- dependencies;
- build targets;
- tests;
- recent diffs;
- repository metadata.
Index memory belongs to the AI Cell or a clearly declared shared service.
The target loop is:
request -> inspect -> patch -> build -> test -> review -> commit or rollback
Build and test work must run in isolated cells or sandboxes so it does not damage inference latency beyond the configured budget.
Git operations should be explicit and auditable:
- inspect status before writing;
- avoid secrets;
- stage only intended files;
- generate focused commits;
- preserve boot logs or benchmark evidence when relevant;
- support rollback.
Hot reload or redeploy hooks are app-specific and must be declared. Rollback should be available before a code-changing agent can affect a running service.
Agents need narrow permissions:
- read-only by default;
- explicit repository write permission;
- explicit build/test permission;
- explicit network permission;
- explicit deployment permission.
See Security Model.
This page defines the GitHub Wiki navigation sidebar.
- Architecture
- AI Cells
- CPU AI Runtime
- App Agents
- Memory System
- Networking
- Scheduler and Core Isolation
- Filesystem and Storage
- Driver Model
- Security Model
- Build System
- Build System
- Project Tracker
- Implementation Plan
- QEMU Full OS Core Workdown
- QEMU 100 Completion Plan
- Example Apps
- Codex Work Packages
- Testing and Benchmarking