Limits and quotas
What each editable build limit means
Section titled “What each editable build limit means”The editable vibe build limits are:
daily: builds accepted in a rolling 24-hour window.active: builds inqueued,dispatching, orrunningstate.running: simultaneous execution slots counted asdispatchingandrunningfor admission metadata, with an additional dispatch capacity rule described below.monthly: optional calendar-month cap in UTC;nullmeans no monthly cap.
AOS labels them in the settings UI as:
- Builds per rolling 24 hours
- Active builds, including queue
- Simultaneously running builds
- Builds per calendar month (UTC)
The UI also states that rejected requests and idempotent retries do not consume another daily build, and that builds awaiting review do not count toward the active limit. The enforcement code matches that:
- admission checks
activefromqueued,dispatching,running - admission checks
dailyfrom builds created in the last 24 hours - admission checks
monthlyfrom builds created in the current UTC month - dispatch capacity checks include
requires-reviewalongsidedispatchingandrunning
This means a build waiting for review is excluded from the editable active quota, but it still occupies dispatch/running capacity until reconciled.
Daily and monthly usage count accepted build records, including builds that later fail. A compile failure does not refund a submission. Requests rejected before a new build record is inserted do not create another submission.
Scope of the limits
Section titled “Scope of the limits”These build limits are configured once for the instance, but they are counted separately for each project.
Evidence for instance scope:
- settings are saved in a singleton row with id
singleton - administration comments require instance-admin authorization
- the AOS page describes them as
Instance-wide settings
Evidence for per-project enforcement:
- build admission counts query
runtime_builds WHERE project_id=$1 - dispatch capacity also counts by
project_id - the UI says they are
counted independently for each project - usage reporting returns one row per project and can search up to 50 matching projects
So the configured numbers are global instance settings, while consumption and enforcement apply project by project.
Defaults, stored overrides, legacy fallback and technical ceilings
Section titled “Defaults, stored overrides, legacy fallback and technical ceilings”AOS separates four sources of build-limit values.
- Built-in defaults
daily: 200active: 10running: 2monthly:null
- Stored settings override
If the singleton settings row exists, AOS uses the saved database values and reports source settings.
- Legacy fallback
If no settings row exists, AOS can read legacy environment values:
AGENTOPS_VIBE_BUILD_ACTIVE_LIMITup to 100AGENTOPS_VIBE_BUILD_DAILY_LIMITup to 1000AGENTOPS_VIBE_BUILD_MONTHLY_LIMITup to 100
Only active, daily, and monthly have legacy environment inputs. There is no legacy running environment variable in the supplied code. When no row exists, AOS resolves effective limits from built-in defaults, then any legacy environment values, then any trusted runtime fallback overrides passed by server code.
- Technical ceilings
The main build limit schema allows:
daily: 1 to 1000active: 1 to 100running: 1 to 10monthly: 1 to 1000000, ornull
It also requires running <= active.
There is one additional compatibility behavior: when AOS is using non-stored fallback values, it clamps running to active before schema validation. The code comment calls this compatibility for a legacy active budget of one.
There are also narrower code-path ceilings in legacy and dependency-based fallbacks:
- legacy monthly environment fallback is capped at 100
- dependency-supplied
monthlySubmissionLimitis parsed with a max of 100 - dependency-supplied
activeSubmissionLimitis parsed with a max of 100 - dependency-supplied
dailySubmissionLimitis parsed with a max of 1000
Those narrower fallback paths do not change the stored settings schema maximum of monthly 1000000.
Who can read or change the limits
Section titled “Who can read or change the limits”Only instance admins can use the server routes for reading, saving, and usage reporting.
The router protects all three procedures with protectedInstanceAdminProcedure. The administration service also states that the caller must enforce instance-admin authorization and must never use organization ownership as authority.
For saved changes, AOS records the acting user ID as updated_by_user_id on the singleton settings row and stores the same actor ID in the audit event history.
Revision conflicts and save behavior
Section titled “Revision conflicts and save behavior”AOS uses optimistic revision control plus a transaction lock when saving build limits.
How it works:
- The save input must include the current nonnegative
revisionand a completelimitsobject. - AOS takes an advisory transaction lock before reading and writing.
- It reads the current stored status.
- If the stored revision differs from the submitted revision, AOS throws
BUILD_LIMIT_REVISION_CONFLICT. - On success it increments the revision by 1, upserts the singleton row, and inserts an audit event containing both previous and current values.
The router converts this conflict into a CONFLICT error with message These limits changed. Reload before saving.
The UI supports this workflow with:
- a displayed revision number
Reload saved valuesUse defaultsto load built-in defaults into the form before saving
The code and tests explicitly say this avoids last-writer-wins loss, rejects stale concurrent saves, and writes the settings row plus audit event atomically. If the audit event insert fails, the revision does not advance and the saved values do not change.
To change limits, open the instance Settings area and select Limits and quotas. Edit the values and choose Save limits. Leaving Monthly builds blank disables the monthly cap. Use defaults only fills the form; choose Save limits to apply those values. If another administrator has saved meanwhile, choose Reload saved values, review their changes, and then save again.
Review-waiting behavior and running capacity
Section titled “Review-waiting behavior and running capacity”AOS treats review-waiting builds differently in admission and dispatch.
Admission behavior:
activeadmission counts onlyqueued,dispatching, andrunningrequires-reviewis not part of the admission active count
Dispatch behavior:
- dispatch capacity counts
dispatching,running, andrequires-review - a build is claimable only when that combined count is below
min(maxActivePerProject, limits.running) - if launch recording has no execution ID, the build moves to
requires-review - comments state unknown launches keep their capacity slot until explicitly reconciled
UI behavior mirrors this split:
Active builds, including queuesays awaiting review does not countReserved execution slotsshowsrunning + reviewagainst the running limit- the detail text says
running / dispatchingandawaiting reconciliation
This means review-waiting builds are excluded from the editable active limit but are included in the practical reserved execution capacity shown in AOS.
Other read-only limits shown in the same AOS area
Section titled “Other read-only limits shown in the same AOS area”The same AOS page also shows Other limits and technical ceilings. These inventory rows are read-only in this view and are not editable vibe build quotas.
The code builds this inventory from owners in other subsystems and marks every row editable: false. The UI renders the owner/source text followed by Read-only.
Included read-only groups are:
- Data & storage attachment limits
- Knowledge table rows and bytes
- Evaluations historical creation limit
- Public API rate limit policy summary
- Vibe generation authoring ceilings
For these rows, the source text distinguishes deployment or built-in defaults, technical ceilings, and subsystem-owned effective settings. The page introduction also says vibe build quotas are editable here, while other limits remain read-only in this view.