Glossary — Agentic AI
What is an Agent Framework?
An agent framework is a software library that provides abstractions for building AI agents, handling concerns like tool management, state persistence, conversation flow, multi-agent coordination, and LLM integration.
WHY IT MATTERS
Building an AI agent from scratch means solving tool calling, state management, error handling, memory, and orchestration yourself. Agent frameworks handle these concerns so developers can focus on business logic.
The landscape has matured rapidly. LangGraph offers stateful graph-based agents. CrewAI specializes in multi-agent teams. OpenAI's Agents SDK provides a minimal, production-focused approach. PydanticAI emphasizes type safety. Each makes different tradeoffs between flexibility and simplicity.
For financial agents, framework choice matters. You need reliable tool execution (failed payment calls must be handled gracefully), state management (agents must track what they've already spent), and extensibility (integrating spending controls into the agent loop).
HOW POLICYLAYER USES THIS
PolicyLayer integrates with popular agent frameworks through SDK plugins and MCP tools. Regardless of which framework you use, PolicyLayer adds a spending control layer that validates financial operations before they execute.