Articles | Mohamed Said      [Skip to content](#main)  [ ![](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png) Mohamed SaidLaravel Backend Engineer ](https://msaied.com) - [Home](https://msaied.com)
- [Projects](https://msaied.com/projects)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [About](https://msaied.com#about)

           [  Contact](https://msaied.com#contact) Menu 

Menu
----

Close 

 - [HomeStart here](https://msaied.com)
- [ProjectsCase studies](https://msaied.com/projects)
- [ArticlesEngineering notes](https://msaied.com/articles)
- [CertificatesCredentials](https://msaied.com/certificates)
- [AboutHow I work](https://msaied.com#about)
- [ContactGet in touch](https://msaied.com#contact)

  [Start a conversation](https://msaied.com#contact) [WhatsApp](https://wa.me/201094619204) [Email](mailto:hello@msaied.com) 

  1. [Home](https://msaied.com)
2. /
3. Articles

  Engineering library
====================

 29 articles by Mohamed Said on Laravel, PHP, databases, APIs and infrastructure, written from production work.

 Search articles ⌕×Search 

    Topic hubs
----------

←→

- [AI48 articles](https://msaied.com/articles?category=ai&search=AI%20Agents&sort=new)
- [Composer Pacakge80 articles](https://msaied.com/articles?category=composer-pacakge&search=AI%20Agents&sort=new)
- [Filament27 articles](https://msaied.com/articles?category=filament&search=AI%20Agents&sort=new)
- [Laravel266 articles](https://msaied.com/articles?category=laravel&search=AI%20Agents&sort=new)
- [Livewire13 articles](https://msaied.com/articles?category=livewire&search=AI%20Agents&sort=new)
- [Open Source44 articles](https://msaied.com/articles?category=open-source&search=AI%20Agents&sort=new)
- [PHP27 articles](https://msaied.com/articles?category=php&search=AI%20Agents&sort=new)
- [Tips &amp; Tricks32 articles](https://msaied.com/articles?category=tips-tricks&search=AI%20Agents&sort=new)

  Topics
------

 [All topics](https://msaied.com/articles?search=AI%20Agents&sort=new) [AI 48](https://msaied.com/articles?category=ai&search=AI%20Agents&sort=new) [Composer Pacakge 80](https://msaied.com/articles?category=composer-pacakge&search=AI%20Agents&sort=new) [Filament 27](https://msaied.com/articles?category=filament&search=AI%20Agents&sort=new) [Laravel 266](https://msaied.com/articles?category=laravel&search=AI%20Agents&sort=new) [Livewire 13](https://msaied.com/articles?category=livewire&search=AI%20Agents&sort=new) [Open Source 44](https://msaied.com/articles?category=open-source&search=AI%20Agents&sort=new) [PHP 27](https://msaied.com/articles?category=php&search=AI%20Agents&sort=new) [Tips &amp; Tricks 32](https://msaied.com/articles?category=tips-tricks&search=AI%20Agents&sort=new)    29 articles
------------

Topics    Sort articles Newest first  Oldest first  Sort  

 [Search: AI Agents ×Remove search](https://msaied.com/articles?sort=new) [ Clear filters](https://msaied.com/articles) 

  [![](https://cdn.msaied.com/777/9ffc1bfe88806626f495f3ef307e0b69.png)](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-4)11 Oct 2026·4 min read 

### [BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-4) 

 BashBox is a pure-PHP bash interpreter that lets AI agents run shell scripts safely — no proc\_open, no exec, no shell\_exec. It ships 58 commands, a virtual filesystem, configurable execution limits, and optional network access.

 [Composer Pacakge](https://msaied.com/articles?category=composer-pacakge) [AI](https://msaied.com/articles?category=ai) 

   [![](https://cdn.msaied.com/775/9ffc1bfe88806626f495f3ef307e0b69.png)](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-3)11 Oct 2026·4 min read 

### [BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-3) 

 BashBox is a pure-PHP bash interpreter that lets AI agents run shell scripts safely — no proc\_open, no exec, no shell\_exec. It ships 58 commands, a virtual filesystem, configurable execution limits, and optional network access.

 [Composer Pacakge](https://msaied.com/articles?category=composer-pacakge) [AI](https://msaied.com/articles?category=ai) 

   [![](https://cdn.msaied.com/774/9ffc1bfe88806626f495f3ef307e0b69.png)](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-2)11 Oct 2026·4 min read 

### [BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-2) 

 BashBox is a pure-PHP bash interpreter that lets AI agents run shell scripts safely — no proc\_open, no exec, no shell\_exec. It ships 58 commands, a virtual filesystem, configurable execution limits, and optional network access.

 [Composer Pacakge](https://msaied.com/articles?category=composer-pacakge) [AI](https://msaied.com/articles?category=ai) 

   [![](https://cdn.msaied.com/771/c168cfa614dbed6663e8550e8d20a489.png)](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-1)11 Oct 2026·4 min read 

### [BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php-1) 

 BashBox is a pure-PHP bash interpreter that lets AI agents run shell scripts safely—no proc\_open, no exec, no shell\_exec. It ships 58 commands, a virtual filesystem, configurable execution limits, and optional network access.

 [Composer Pacakge](https://msaied.com/articles?category=composer-pacakge) [AI](https://msaied.com/articles?category=ai) 

   [![](https://cdn.msaied.com/770/9ffc1bfe88806626f495f3ef307e0b69.png)](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php)11 Oct 2026·4 min read 

### [BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP](https://msaied.com/articles/bashbox-a-sandboxed-bash-interpreter-for-ai-agents-in-php) 

 BashBox is a pure-PHP bash interpreter that lets AI agents run shell scripts safely — no proc\_open, no exec, no shell\_exec. It ships 58 commands, a virtual filesystem, configurable execution limits, and optional network access.

 [Composer Pacakge](https://msaied.com/articles?category=composer-pacakge) [AI](https://msaied.com/articles?category=ai) 

   [![](https://cdn.msaied.com/726/cde0e4e03a15ea0776e82aca8727f660.png)](https://msaied.com/articles/laravel-ai-sdk-tool-calling-agents-and-conversation-persistence-4)1 Oct 2026·3 min read 

### [Laravel AI SDK: Tool-Calling Agents and Conversation Persistence](https://msaied.com/articles/laravel-ai-sdk-tool-calling-agents-and-conversation-persistence-4) 

 Build reliable tool-calling AI agents in Laravel using the AI SDK, with typed tool definitions, structured responses, and durable conversation history stored in your database.

   [![](https://cdn.msaied.com/704/165bcb76b898fe9911130d2c93b9b805.png)](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-4)26 Sep 2026·3 min read 

### [Production AI Agents in Laravel: Streaming, Token Budgets, and Structured Output Contracts](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-4) 

 Building reliable AI agents in Laravel means more than wiring up an API call. Learn how to stream responses safely, enforce token budgets, and lock down structured output with typed contracts your application can trust.

   [![](https://cdn.msaied.com/609/675722df30f32b9b1d547c9b86dce00b.png)](https://msaied.com/articles/laravel-ai-sdk-tool-calling-agents-and-conversation-persistence-3)30 Aug 2026·4 min read 

### [Laravel AI SDK: Tool-Calling Agents and Conversation Persistence](https://msaied.com/articles/laravel-ai-sdk-tool-calling-agents-and-conversation-persistence-3) 

 Build reliable tool-calling AI agents in Laravel using the Prism package, with typed tool definitions, conversation history persistence, and clean abort strategies for production workloads.

   [![](https://cdn.msaied.com/584/3ffe135721c65ab3f9b40401dc3c41de.png)](https://msaied.com/articles/streaming-ai-responses-in-laravel-token-budgets-structured-output-and-agent-contracts)23 Aug 2026·4 min read 

### [Streaming AI Responses in Laravel: Token Budgets, Structured Output, and Agent Contracts](https://msaied.com/articles/streaming-ai-responses-in-laravel-token-budgets-structured-output-and-agent-contracts) 

 Learn how to stream LLM responses in Laravel, enforce token budgets, and lock structured output to typed PHP contracts — keeping production AI agents predictable and cost-controlled.

   ← Newer1. 1
2. [2](https://msaied.com/articles?search=AI%20Agents&page=2)
3. [3](https://msaied.com/articles?search=AI%20Agents&page=3)
4. [4](https://msaied.com/articles?search=AI%20Agents&page=4)

 1 / 4 [Older →](https://msaied.com/articles?search=AI%20Agents&page=2)   

  Have a technical challenge?
----------------------------

Tell me what you’re building. I reply within two working days.

 [Discuss your project ↗](https://msaied.com#contact) 

Topics
------

Close 

 [All topics](https://msaied.com/articles) [AI (48) ](https://msaied.com/articles?category=ai&search=AI%20Agents&sort=new) [Composer Pacakge (80) ](https://msaied.com/articles?category=composer-pacakge&search=AI%20Agents&sort=new) [Filament (27) ](https://msaied.com/articles?category=filament&search=AI%20Agents&sort=new) [Laravel (266) ](https://msaied.com/articles?category=laravel&search=AI%20Agents&sort=new) [Livewire (13) ](https://msaied.com/articles?category=livewire&search=AI%20Agents&sort=new) [Open Source (44) ](https://msaied.com/articles?category=open-source&search=AI%20Agents&sort=new) [PHP (27) ](https://msaied.com/articles?category=php&search=AI%20Agents&sort=new) [Tips &amp; Tricks (32) ](https://msaied.com/articles?category=tips-tricks&search=AI%20Agents&sort=new)  

  © 2026 Mohamed Said · Built with Laravel, meant to last.Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

 - [Home](https://msaied.com)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [GitHub](https://github.com/EG-Mohamed)
- [LinkedIn](https://www.linkedin.com/in/msaiedm/)
- [WhatsApp](https://wa.me/201094619204)
- [Email Address](mailto:hello@msaied.com)
- [My CV](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
- [Sitemap](https://msaied.com/sitemap.xml)
