u/salim_assili

▲ 9 r/Startup_Ideas+7 crossposts

I got tired of surprise OpenAI bills so I built a 2-line firewall for 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.

u/salim_assili — 21 hours ago

I got tired of surprise OpenAI bills so I built a 2-line firewall for 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.

reddit.com
u/salim_assili — 1 day ago
▲ 1 r/claude

I got tired of surprise OpenAI bills so I built a 2-line firewall for 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.

reddit.com
u/salim_assili — 1 day ago

I got tired of surprise OpenAI bills so I built a 2-line firewall for 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.

reddit.com
u/salim_assili — 1 day ago
▲ 12 r/Tunisia

High Body count in Tunisia

شباب انا سمعت اولاد و بنات اليوم في القهوة يحكيو عل body count? ياخي موش نرمالمون احنا دولة مسلمة ؟ كيفاش عباد تتفاخر شكون عندها و الا عندو high body count من وقتاش ولت المعصية فخرة؟ و هل انو الحكاية هذي منتشرة في تونس و الا مازل فنا امل خاتر حاس روحي من القلاىل الى ما عملوا شي حرفيا

reddit.com
u/salim_assili — 6 days ago

سؤال مهم جدا حول العلاقات

شباب انا عمري 20 سنة و كلهم عديتهم single ، ولا مرة جتني طفلة و قاتلي "نحبك" و الحق نعرف انو العلاقات خارج اطار الزواج الحرام اما كي نشوف صحابي قاعدين مع بنات و الا حتى تجيهم بنات الحق يجيني احساس بالنقص يعني حاولت نحكي مع بنات سواءا في الدنيا و الا في المواقع و ما نلقى كان الرفض ال وين وليت خايف يعني ، يعني كان انا نعاني من الشي هذا و هل المشكلة هذي مربوطة بيا ؟

reddit.com
u/salim_assili — 7 days ago