I've seen some interest in concurrency for Laravel AI, so I built a package: laravel-ai-parallel-tools. Add #[Concurrent] to a tool and the tool calls in each step run in parallel through Laravel Concurrency. In my benchmark, 42 tool calls took about 400 ms instead of 6.7 s, roughly 17x faster. That ran on the fake gateway, so it measures how the calls are scheduled, not model speed.
github.com/jordanpartridge/laravel-ai-parallel-tools
GitHubGitHub - jordanpartridge/laravel-ai-parallel-tools: Run laravel/ai tool calls from one model step in parallelRun laravel/ai tool calls from one model step in parallel - jordanpartridge/laravel-ai-parallel-tools
commit 1af1168
bash
git clone git@github.com:jordanpartridge/laravel-ai-parallel-tools.git
cd laravel-ai-parallel-tools
git blame .gitattributesfatal: no such path '.gitattributes' in HEAD