Until now, budgets applied to the whole workspace. That made it hard for platform teams to give each product team its own limit. Budgets can now be scoped to a team, an agent or both.
How it works
Set a monthly budget on any team from Settings → Budgets.
Sigil warns the team channel at 50% and 80%, and again when the budget is reached.
Turn on
hardCapto block new runs once the budget is spent. Runs already in progress finish normally.
Via the SDK
ts
await sigil.budgets.set({ team: "growth", monthly: 500, alerts: [0.5, 0.8, 1], hardCap: true, })
Budget usage also shows up on every trace, so you can see which runs used the most of a team’s budget.