Skip to content

AgentRaaS 0.19.0

Choose a tag to compare

@sumedhchatse sumedhchatse released this 17 Oct 17:46
· 36 commits to main since this release

Daily money caps. A spend cap can now add up a payload field per hour or day, for example "no more than 10,000 in notional a day" or "500 in refunds a day", alongside or instead of a call count. A call without a number in that field is refused, so leaving the field out can't skip the cap, and a refused call doesn't use up the budget. A cap can name a time zone, so its day starts at local midnight.

Allowed hours. An action policy can allow calls only inside set hours, for example weekdays 09:30 to 16:00 America/New_York, or 09:15 to 15:30 Asia/Kolkata. Daylight saving is handled. Outside the hours the call is blocked, or held for approval.

Both work in the dashboard (Rules), the API and agentraas apply. The trading guide uses them: https://agentraas.io/trading

Self-hosted upgrade: git pull && ./install.sh. It keeps your .env, rebuilds, and runs the new migration (060).