---
title: "Osama Malik (@osamamalik) | Hashnode"
description: "AI Agent Engineer. Read the latest articles by Osama Malik on Hashnode."
url: "https://hashnode.com/@osamamalik"
---

@osamamalik

# Osama Malik

@osamamalik · Islamabad, Pakistan · Joined November 2026

AI Agent Engineer

[Website](https://osamamalik.me/)

### [The layers I put in front of agents](https://osamamalik.hashnode.dev/the-layers-i-put-in-front-of-agents?utm_source=hashnode&utm_medium=feed)

Prompt injection defence in BleedStop is a stack of checks in front of the model, not one classifier score. The default check is a phrase list. A DeBERTa classifier is a second stage I turn on, and on

6 min read · [osamamalik.hashnode.dev](https://osamamalik.hashnode.dev/the-layers-i-put-in-front-of-agents?utm_source=hashnode&utm_medium=feed)

[6d ago](https://hashnode.com/posts/the-layers-i-put-in-front-of-agents/6afe9331b06e0a43d25317c0)

### [Fixing function call timeouts in Pipecat](https://osamamalik.hashnode.dev/fixing-function-call-timeouts-in-pipecat?utm_source=hashnode&utm_medium=feed)

Pipecat pull request 5760 keeps a function call timeout armed across intermediate results. I wrote it, and it was merged on 15 Sep 2026. Only a final result clears the deadline. The pull request is pi

4 min read · [osamamalik.hashnode.dev](https://osamamalik.hashnode.dev/fixing-function-call-timeouts-in-pipecat?utm_source=hashnode&utm_medium=feed)

[Nov 18](https://hashnode.com/posts/fixing-function-call-timeouts-in-pipecat/6afd418d48b0a4b77f344964)

### [How I built BleedStop](https://osamamalik.hashnode.dev/how-i-built-bleedstop?utm_source=hashnode&utm_medium=feed)

BleedStop is a cost and security guard I built for LLM, SMS and payment APIs. An app calls POST /decide before it spends, and BleedStop answers ALLOW, LIMIT, CHALLENGE or DENY from deterministic per t

8 min read · [osamamalik.hashnode.dev](https://osamamalik.hashnode.dev/how-i-built-bleedstop?utm_source=hashnode&utm_medium=feed)

[Nov 17](https://hashnode.com/posts/how-i-built-bleedstop/6afc44caee65398da07a06ce)
