-
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 XAI OS 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;
- isolate changes in a branch or worktree;
- require tests before commit or push;
- support review-before-apply by default;
- 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.
- Branch/worktree isolation is required before generated patches are applied.
- Human approval modes should be supported for patch apply, commit, push, and deploy.
- Push-to-remote is a separate permission from commit.
- Failed deploys must roll back to the previous known-good state.
- Agent actions must emit an audit log with request, files changed, commands run, test results, commit, and deployment outcome.
- Secrets must be blocked from patches, logs, benchmark output, and outbound network traffic.
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