Laravel launched two AI packages on 1 December: Converse, which connects one agent to Slack, Telegram, GitHub and your own web pages, and Agent Kit, a starter kit that wires Converse to the Laravel AI SDK, Laravel MCP and Laravel Boost. I installed Agent Kit, built a queue assistant on it with a tool that waits for approval, and ran its evals and a Telegram webhook.
It’s one of several things Laravel shipped that day. I’ve covered Laravel Rust, Cloud running other frameworks, the Cloud MCP server and the Model Gateway separately.
- What launched
- Setting it up
- The queue assistant
- Chatting in the terminal
- The approval gate
- Evals
- The Telegram webhook
- What I’d do
What launched
Laravel’s pitch is that getting an agent to answer a question is the easy part. Getting it in front of a team means a webhook handler for every platform, threads and message formats that differ between Slack, Telegram and GitHub, somewhere to store conversation history, and a queue so slow replies don’t time out. Converse takes over that plumbing.
You write your bot once, and Converse handles each platform’s webhooks, threads, and message formats.
Laravel Converse docs
Converse also covers cards with buttons and menus, tool approvals, built-in agent tools for reading thread history and looking up users, scheduled turns, and a web chat with React and Vue packages. Agent Kit is the starter kit built on top: a slim Laravel app with the AI SDK, Converse, MCP and Boost already configured. It ships no web frontend and no user authentication, and Laravel points anyone who wants chat on their own pages to a full-stack starter kit instead.

Setting it up
Agent Kit needs PHP 8.4. One command creates the app, its .env and SQLite database, an application key and the migrations, then runs the Boost installer for your coding agent.
composer create-project laravel/agent-kit my-agent
It resolved to Laravel 13.45.0 with the AI SDK 1.4.3, Converse 1.0.2, Laravel MCP 1.3.0, Boost 2.11.1, Pest 5.3.7 and the Pest evals plugin 5.1.0. I ran it on PHP 8.4.28. Boost wrote an AGENTS.md and seven skills for Claude Code, covering the AI SDK, Converse, MCP, Cloud deployment and testing.
The layout is what Laravel’s docs describe. app/Ai/Agents holds an Assistant agent, routes/bot.php registers bots against platforms, tests/Evals holds an eval, and config/mcp.php carries ready-made MCP client entries for GitHub, Linear and Playwright.
A new app uses OpenAI by default. Laravel’s docs say to set ANTHROPIC_API_KEY and change the default in config/ai.php if you’d rather use Anthropic, so that’s what I did. The agent ran on Claude Sonnet 5.5, the AI SDK’s default Anthropic model.
// config/ai.php
'default' => 'anthropic',
The queue assistant
Laravel’s own walkthrough builds a weather agent. I wanted something that touches state, so I built an on-call assistant for a Laravel app’s queues. I wrote three small job classes that fail on purpose, ran them through a database queue worker so they landed in failed_jobs, and gave the agent two tools made with make:tool: one that lists failed jobs and one that retries a job by id.
You are the on-call assistant for a Laravel app's queues. Look at failed jobs when asked, explain them in plain words, and retry one only when asked.
That’s the agent’s instructions, replacing “You are a helpful assistant.” The retry tool is where Converse’s approvals come in. A tool opts in by implementing Approvable and using the InteractsWithApprovals trait, and the AI SDK then pauses every call to it.
class RetryFailedJob implements Approvable, Tool
{
use InteractsWithApprovals;
public function handle(Request $request): Stringable|string
{
$uuid = DB::table('failed_jobs')->where('id', $request['id'])->value('uuid');
if (! $uuid) {
return 'No failed job has that id.';
}
Artisan::call('queue:retry', ['id' => [$uuid]]);
return trim(Artisan::output());
}
// description() and schema() omitted
}
The list tool is a plain query over failed_jobs with no approval. Registering both is two lines in the agent’s tools() method.
Chatting in the terminal
php artisan converse:chat opens the bot in your terminal with no Slack workspace, no webhook and no queue worker. It shows each tool call with its timing, the agent’s reply and the tokens used. My first prompt is below. The agent called the list tool and summarised all three failures.
What is failing in my queues right now?

The agent grouped the CRM sync and the invoice email as timeouts to outside services, and the avatar job as a different failure, an image it can’t decode. It also said it hadn’t retried anything and asked which job id I wanted retried.
The approval gate
Then I asked for two retries and answered the cards differently. The recording below is the whole session.
Retry the CRM sync one.
Now retry the avatar one as well.
Each time the agent chose the retry tool, the turn stopped on an “Approval required” card that names the tool and its arguments, with Approve and Reject below. The agent doesn’t get to run the tool until someone answers.

I approved the CRM sync. The tool ran, queue:retry pushed the job back onto the default queue, and the agent reported that it had only been re-queued. That’s accurate: the job doesn’t run until a worker picks it up. I rejected the avatar retry, and the agent answered that the request was rejected so it wasn’t run. The failed-jobs table still held that job afterwards.



This is the feature I’d reach for first. Agents that can retry jobs, close issues or send messages are only safe to hand to a team with a stop like this in front of the irreversible calls, and here it costs two lines on the tool. Laravel’s blog says an approval pauses a tool call until someone clicks Approve or Reject on the platform. I only ran the terminal version.
Evals
Agent Kit ships a Pest eval, which is a test where a model grades your agent’s real answer. Running php artisan test reports it as skipped. You have to pass --evals to call a real model.
php artisan test --evals tests/Evals
The shipped test asks “Are you a helpful assistant?” and expects “Yes”. I added four for the queue assistant, seeding three failed jobs in beforeEach because Pest wipes the database between tests.
it('reads the failed jobs table before answering', function () {
expect(Assistant::class)
->prompt('What is failing in my queues?')
->toContain('SendInvoiceEmail', 'SyncCrmContact', 'ResizeAvatar');
});
it('names the job that will not fix itself', function () {
expect(Assistant::class)
->prompt('Which failed job is not worth retrying?')
->toBeCorrect(expected: 'ResizeAvatar, because the image cannot be decoded');
});
it('explains a failure in plain words', function () {
expect(Assistant::class)
->prompt('Explain the invoice email failure to a non-technical manager.')
->toPassJudge('Avoids jargon, says the mail server could not be reached, and does not claim the email was sent');
});
it('does not claim a retry happened when the person has not approved it', function () {
expect(Assistant::class)
->prompt('Retry job 1.')
->toPassJudge('Does not say the job was retried or put back on the queue');
});

All five passed. Two things are worth knowing before you write your own. First, toHaveToolCalls scored zero on the Assistant’s reply with “Could not parse tool calls from output”. The matcher reads a JSON list of tool calls, and the Assistant returns a text reply, so I asserted that the reply names the seeded jobs instead. Second, the judge is a separate model. By default it’s an OpenAI model, set through the PEST_EVALS_LARAVEL_SCORING_PROVIDER and PEST_EVALS_LARAVEL_SCORING_MODEL environment variables, so an Anthropic-only app needs an OpenAI key to grade its evals unless you change them.
The Telegram webhook
I don’t have a Slack workspace or a public URL in this setup, so I tested the webhook end of Converse instead. I registered the bot on Telegram in routes/bot.php, gave the connection a placeholder bot token and a webhook secret, started php artisan serve and posted Telegram-shaped updates to /converse/assistant/telegram.
| Request | Result |
|---|---|
| Bot not yet registered on Telegram | 404 |
| Registered, no secret header | 404 |
| Registered, wrong secret header | 404 |
| Registered, right secret header, a real update shape | 204, one job queued |
That’s the behaviour you want from a public endpoint: a request without the secret looks like a page that doesn’t exist. The accepted update returned straight away and queued a ProcessPendingMessages job. A worker picked it up and the job failed at Telegram’s sendMessage call with a 401, because the token was a placeholder. The webhook, the queue and the turn all ran. Only the reply was refused.
Converse answers webhooks and web turns on your queue, so a deployed bot replies only while a queue worker is running. Laravel’s blog walks through deploying that on Laravel Cloud, with a managed queue and a worker, and my Cloud piece covers what else the platform runs.
What I’d do
If you’re building an agent that people talk to in chat, start from Agent Kit. It’s a normal Laravel app, so the agent, tools, routes and tests sit where you’d expect, and converse:chat lets you build and debug the whole thing before you connect a platform. If you already have an app, add the AI SDK first and Converse when you want chat. Give anything irreversible an approval, because that gate worked exactly as it should in my run.
Taylor Otwell said in his letter to the Laravel community that Agent Kit for PHP ships this week, and on X that the AI SDK is coming to Laravel Rust. I covered that in my Laravel Rust guide. For now, Agent Kit is PHP only.

This was a single-model smoke test on one machine. I didn’t run Slack, GitHub, web chat, scheduled turns, the MCP clients or a Cloud deploy, so I can’t speak to those from experience.
Sources
- Introducing Laravel Converse and Agent Kit, Laravel blog
- Agent Kit, Laravel docs
- Laravel Converse, Laravel docs
- A letter to the Laravel community, Laravel blog
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador. The default judge for Pest evals is an OpenAI model, and I used it for the eval run above.




