coined (Alan Turing - Computer Machinery and Intelligence) • 1980. - AI boom (“expert systems”) • 1990. - AI agents • 2000. - ANI - Arti fi cial Narrow Intelligence • 2040. - AGI - Arti fi cial General Intelligence • 2060. - ASI - Arti fi cial Superior Intelligence
Neural networks trained on massive amounts of text data to understand and generate human-like text • Billions of parameters (GPT-4: 1.7 trillion) • Trained on human text
an FOI assistant, knowledgeable about programs, facilities, and student services." • User prompt - the question • "What programming languages are taught at FOI?" • Context - additional information • "Based on the 2024 curriculum..."
setup, pay per use, needs internet • Local LLMs: Full privacy, no API costs, works o ff l ine, needs GPU • Cloud costs ~$0.001 per query, Local costs $5000+ upfront • Cloud for quality and ease, Local for privacy and control • Best practice: Use both - Local for sensitive data, Cloud for complex tasks
can take actions, not just chat • They use tools to interact with the real world (databases, APIs, fi les) • Agents remember context and learn from conversations • They can plan, reason, and complete multi-step tasks autonomously
can call to get things done • They connect agents to external systems (databases, emails, calendars) • Tools turn agents from advisors into actors that complete real tasks • You can create custom tools for any API or service you need • Agents decide which tools to use and when to use them
questions • Task Executor: Agent receives task → uses tools → returns result • Memory Pattern: Agent remembers conversation history for context • Goal-Oriented: Agent works toward achieving a speci fi c objective • Reactive: Agent responds to events and triggers automatically
together on complex tasks • Parallel processing: Agents work simultaneously for faster results • Supervisor pattern: One agent coordinates and manages others • Pipeline pattern: Agents pass work sequentially like an assembly line • Each agent is an expert in one domain for better quality
retrieval with text generation to make AI responses more accurate and grounded in speci fi c knowledge • Knowledge cuto ff • Hallucinations • Traditional LLM: Question -> LLM brain -> Answer • RAG: Question -> Search documents -> Include facts -> LLM brain -> Answer
• An open protocol that standardizes how AI assistants connect to external data sources and tools • Created by Anthropic • https://modelcontextprotocol.io/
a comprehensive set of components and bundles designed to bring powerful AI capabilities directly into PHP applications • https://github.com/symfony/ai • Not just wrappers, but a complete AI development framework
fi ed interface to major AI providers like OpenAI, Anthropic, Azure, Google, Mistral, and more. Write your code once and switch between AI platforms seamlessly • Agent component - A framework for building AI agents that can interact with users, call tools, and perform complex multi-step tasks. Perfect for creating sophisticated chatbots and automated work fl ows • Store component - Data storage abstraction with indexing and retrieval capabilities for AI applications. Ideal for implementing RAG (Retrieval-Augmented Generation) patterns and semantic search • AI bundle - Seamlessly integrates the Platform, Store, and Agent components into Symfony applications with con fi guration, dependency injection, and debugging tools • MCP SDK - An implementation of the Model Context Protocol, enabling your applications to communicate with AI systems using the emerging industry standard • MCP Bundle - Allows your Symfony applications to act as MCP servers or clients, opening up new possibilities for AI integration and tool creation