★ Laravel AI SDK in practice: the agent behind There There 0 ▲ freek.dev 2 hours ago · Tech · hide · 0 comments Over the past few weeks I've posted a couple of times about There There, the helpdesk we're building at Spatie. After two decades of running our own customer support, we decided to stop compromising on tools and build the one we actually want to use. A lot of the fun is on the AI side. We're not using it to replace support agents, we're using it to make them faster. The human reads the ticket, thinks, and clicks a button. The model pulls up relevant history, drafts a reply, tags the ticket, closes a duplicate. There There is in private beta right now, and you can apply for early access at there-there.app. The whole AI layer is built on the new Laravel AI SDK. It's been a joy to work with, and I'd like to walk through how we use it. Using the Laravel AI SDK Everything starts with an agent class. Ours is called ThereThereAgent. It declares which model to use, what the system prompt looks like, which tools the model can call, and what conversation history to replay. Here's a trimmed… No comments yet. Log in to reply on the Fediverse. Comments will appear here.