# Reference

## Build Apps with AI

Give an agent the app requirements, let it generate the project files, and pass
those files to `deployApp()`. If the build returns TypeScript diagnostics, give
them back to the agent and deploy its repaired files again.

[View the complete AI App Builder example](https://github.com/rivet-dev/agentos/tree/main/examples/apps-ai-builder).

## Planned Improvements

- Automatically include agent skills based on the
  [Rivet Cookbooks](https://rivet.dev/cookbook/) for better app generation.
- Billing API for tracking and charging for app usage.
- Built-in error reporting for generated apps.
