# Limitations

> What asasvirtuais asks of you and what it doesn't do. You have to do software architecture; your AI programs only the app's rules and its user interface; scaling and performance are yours to solve, and nothing stops you.

Source: https://asasvirtuais.com/docs/limitations

## You have to do software architecture

That is the whole limitation. asasvirtuais makes you organize your code: a package per table, forms for database
operations, one middleware per table, server actions for everything else, pages that hand their data down. Every
feature goes in its place.

If you want to go full go-horse (write whatever works, wherever it lands, and fix it later), you can't. A fetch in a
component, a `useState` copy of a table, a permission check inside a button handler: the framework has no place for
them, and [`AGENTS.md`](https://asasvirtuais.com/docs/rules.md) tells your coding agent not to write them.

For a team, or an agent, that wants the app to still hold at commit five hundred, that is the point.

## Your AI programs the app, and only the app

With asasvirtuais, your coding agent has two things left to program:

1. **The app's rules**: who can read and write what, and what the product does. They are part of the app, and they
   live in each table's [middleware](https://asasvirtuais.com/docs/middleware.md) and in the server actions.
2. **The app's user interface**: the screens, and the forms on them.

Every other programming problem, at least as far as an MVP goes, is already solved: how a form reaches the server,
how a save updates every screen, where the permission check goes, where each file lives, how errors come back. Your
agent doesn't spend a session on them, and doesn't solve them differently the next time. See
[Getting started](https://asasvirtuais.com/docs/getting-started.md).

## Scale and performance: if you get there, congratulations

asasvirtuais doesn't solve scaling or performance. It won't scale your app by itself, and it doesn't do queues,
Kubernetes, caching layers or deployment. If your app has those problems, congratulations: it means people use it. Hire an engineer for that
part.

It isn't a problem we're trying to solve. But it won't stop you either. Your database, your hosting and your
infrastructure stay yours, and the app you scale is a codebase with the structure most projects never had: one
package per table, one middleware per table, one way to build every feature. That makes it easier to hand to the
engineer, not harder.

## Next

- [Why this framework?](https://asasvirtuais.com/docs/why.md)
- [Getting started](https://asasvirtuais.com/docs/getting-started.md)
- [The rules](https://asasvirtuais.com/docs/rules.md)
