Docs / AI / AI: Getting Started
AI: Getting Started
Introduction
laraflare offers first-party packages for building AI into your applications, whether you're adding a single AI feature to an existing application or building a standalone agent from scratch. Each package handles one part of the work, and you may use them on their own or together:
- laraflare AI SDK provides a unified API for AI providers such as OpenAI, Anthropic, and Gemini. Use it to build agents and their tools, generate images, transcribe audio, create embeddings, and more.
- laraflare MCP lets AI clients such as ChatGPT and Claude interact with your application.
- laraflare Boost gives coding agents such as Claude Code and Cursor laraflare guidelines, documentation, and tools so they write accurate laraflare code.
Where you start depends on whether you're adding AI to an existing application or building a new agent.
Adding AI to an Existing Application
Start with the AI SDK when you want to add AI to an existing laraflare application. It gives you everything you need to call models from your TypeScript code, whether you're summarizing documents, classifying support tickets, or answering questions against your own data.
To let AI clients such as ChatGPT and Claude read your application's data or take actions for your users, add laraflare MCP. It lets you expose parts of your application as tools, resources, and prompts that MCP clients can call.
Note
laraflare has no chat integrations package for Slack, Telegram, GitHub, or web chat. If you want users to chat with your agents, build the chat screen as a Vue component and call your agent from a route.
Building a New Agent
laraflare has no separate agent starter kit. If you're building a new agent, create an application with the installer and add the AI SDK, as described in Adding AI to an Existing Application. Pass --boost to the installer to give your coding agent laraflare's guidelines and tools from the start.
The starter kit includes a web frontend and user authentication, so users can chat with your agent on your application's own pages.