---
title: "Ahmed Elbashier (@ahmedelbashier) | Hashnode"
description: "Ahmed Elbashier (@ahmedelbashier) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@ahmedelbashier"
---

@ahmedelbashier

# Ahmed Elbashier

@ahmedelbashier · Joined November 2026

## Comments

[Makes sense, a scoped read-only binding enforced in the runner on every request is much safer than trusting the generated script. I'd add row-level checks behind that binding too, so even a buggy script can't widen what the caller sees. Do you cache the team scope per session or resolve it on every call?](https://hashnode.com/posts/what-if-your-ai-agent-wrote-the-loop/6b048793bc9a3bc8db7eee0d/comment/6b06c4269d94cfcf1a522502#reply-6b07487662b4487cd954c8fe)

Reply · Article · 20h ago · [What If Your AI Agent Wrote the Loop?](https://hashnode.com/posts/what-if-your-ai-agent-wrote-the-loop/6b048793bc9a3bc8db7eee0d)

[Having the model write the loop once and run it next to the data is a good way to cut tokens, but the generated code then becomes an execution surface. I'd want it in a sandbox with no ambient credentials, strict CPU/time limits, and an allowlist of the tool bindings it can call, plus logging of the generated script for audit.](https://hashnode.com/posts/what-if-your-ai-agent-wrote-the-loop/6b048793bc9a3bc8db7eee0d/comment/6b06c4269d94cfcf1a522502)

Comment · Article · 1d ago · 2 · [What If Your AI Agent Wrote the Loop?](https://hashnode.com/posts/what-if-your-ai-agent-wrote-the-loop/6b048793bc9a3bc8db7eee0d)
