Laravel AI SDK Skill — A comprehensive reference and implementation guide for laravel/ai, Laravel's official package for building AI-powered features. Covers the full SDK surface: creating Agents with tools, structured output, and conversation memory; streaming and queued responses with broadcasting; human-in-the-loop tool approval flows; custom and provider-native tools (web search, web fetch, file search, MCP integration); sub-agent delegation; image, audio, and transcription generation; text embeddings with pgvector querying and multimodal support; document reranking; provider file storage and vector stores for RAG; and testing utilities (fake() + assertions) for every SDK class. Organized as a main SKILL.md with four topic-specific reference files (tools, media/embeddings, files/vector stores, testing/events) so only relevant detail loads into context. Supports OpenAI, Anthropic, Gemini, Azure, Bedrock, Groq, xAI, DeepSeek, Mistral, Ollama, OpenRouter, Cohere, ElevenLabs, Jina, VoyageAI, and OpenAI-compatible endpoints.
npx mdskills install /laravel-ai-sdkRelated
npx mdskills install /laravel-ai-sdkDownload the skill as a file, then: Settings → Capabilities → Skills → Upload.
Use the Download button at the top of this page to get SKILL.md, or install via the CLI on supported agents.