I got tired of surprise OpenAI bills so I built a 2-line firewall for AI agents
Please rate it out of ten , i want your feedback guys
Please rate it out of ten , i want your feedback guys
My AI agent ran a loop overnight and billed me way more than expected.
So I built a small library that wraps your OpenAI client and blocks
calls before they happen if they'd exceed your budget.
import { guard } from '@salimassili/ai-costguard'
const ai = guard(openai, { budget: 10 })
That's it. It also detects loops and retry spirals.
Free and open source: github.com/salimassili/[https://github.com/salimassili62-afk/ai-costguard\]
npm: npmjs.com/package/@salimassili/ai-costguard
Would love feedback from anyone building AI agents.
My AI agent ran a loop overnight and billed me way more than expected.
So I built a small library that wraps your OpenAI client and blocks
calls before they happen if they'd exceed your budget.
import { guard } from '@salimassili/ai-costguard'
const ai = guard(openai, { budget: 10 })
That's it. It also detects loops and retry spirals.
Free and open source: github.com/salimassili/[https://github.com/salimassili62-afk/ai-costguard\]
npm: npmjs.com/package/@salimassili/ai-costguard
Would love feedback from anyone building AI agents.
My AI agent ran a loop overnight and billed me way more than expected.
So I built a small library that wraps your OpenAI client and blocks
calls before they happen if they'd exceed your budget.
import { guard } from '@salimassili/ai-costguard'
const ai = guard(openai, { budget: 10 })
That's it. It also detects loops and retry spirals.
Free and open source: github.com/salimassili/[https://github.com/salimassili62-afk/ai-costguard\]
npm: npmjs.com/package/@salimassili/ai-costguard
Would love feedback from anyone building AI agents.
My AI agent ran a loop overnight and billed me way more than expected.
So I built a small library that wraps your OpenAI client and blocks
calls before they happen if they'd exceed your budget.
import { guard } from '@salimassili/ai-costguard'
const ai = guard(openai, { budget: 10 })
That's it. It also detects loops and retry spirals.
Free and open source: github.com/salimassili/[https://github.com/salimassili62-afk/ai-costguard\]
npm: npmjs.com/package/@salimassili/ai-costguard
Would love feedback from anyone building AI agents.
شباب انا سمعت اولاد و بنات اليوم في القهوة يحكيو عل body count? ياخي موش نرمالمون احنا دولة مسلمة ؟ كيفاش عباد تتفاخر شكون عندها و الا عندو high body count من وقتاش ولت المعصية فخرة؟ و هل انو الحكاية هذي منتشرة في تونس و الا مازل فنا امل خاتر حاس روحي من القلاىل الى ما عملوا شي حرفيا
شباب انا عمري 20 سنة و كلهم عديتهم single ، ولا مرة جتني طفلة و قاتلي "نحبك" و الحق نعرف انو العلاقات خارج اطار الزواج الحرام اما كي نشوف صحابي قاعدين مع بنات و الا حتى تجيهم بنات الحق يجيني احساس بالنقص يعني حاولت نحكي مع بنات سواءا في الدنيا و الا في المواقع و ما نلقى كان الرفض ال وين وليت خايف يعني ، يعني كان انا نعاني من الشي هذا و هل المشكلة هذي مربوطة بيا ؟