Agentic AI - The Rise of Agents; Now we need APIs more than ever!
Nagesh Nama
CEO at xLM | Transforming Life Sciences with AI & ML | Pioneer in GxP Continuous Validation |
Source: The blog post by Postman CEO Abhinav Asthana which explores the evolution of AI, moving beyond simple generative models to the era of "Agentic AI."
It emphasizes that APIs are becoming increasingly crucial for building sophisticated AI systems, particularly those involving AI agents that can execute complex tasks through multi-step workflows. The post highlights the shift from focusing solely on AI models to thinking in terms of entire systems and underscores the importance of developing reusable APIs for these systems, addressing security and risk, and building trust layers.
APIs as the Foundation for Generative AI Applications:
The post reinforces the idea that APIs are fundamental for building the next generation of generative AI software, reiterating a point made in earlier posts. Asthana states, "APIs are becoming a foundational building block for a new class of generative software applications."
The Competitive Landscape of Foundation Models:
The market for foundation models is intensely competitive, with various models emerging (e.g., Claude, Gemini, Llama, Nova) that are "almost interchangeable". The price per token has significantly dropped, as noted in a quote from Sequoia's article: "The model layer is a knife-fight, with price per token for GPT-4 dropping 98% since the last Dev Day." However, the limitations of context windows in these models remain a significant hurdle.
The Rise of Smaller, Specialized Models:
Alongside large foundation models, there's a growing trend towards smaller, specialized models trained for specific tasks and datasets, offering potential advantages in cost, speed, and performance. As Tomas Tunguz said, "Smaller models trained on targeted data sets might outperform general-purpose giants for niche tasks."
Fine-Tuning and RAG for Improved Accuracy:
To improve the accuracy of AI systems, techniques like fine-tuning and Retrieval-Augmented Generation (RAG) are essential. Fine-tuning allows specific model adjustments, while RAG enhances responses by integrating external data. The author asserts, "...real-world applications demand additional work."
The Emergence of Agentic AI:
The post introduces the concept of "Agentic AI," which moves beyond single-shot text-only interactions. Agentic AI involves intelligent agents that can reason, plan, use tools (via APIs), and collaborate to achieve complex goals. These agents are akin to how early mobile apps evolved with cloud integration, suggesting "Agentic AI holds a similar promise."
Key Components of Agentic Systems:
Drawing from Andrew Ng, the key components of agentic systems are outlined: Reflection, Tool Use (API calls), Planning, and Multi-Agent Collaboration.
Increase in API Utility:
The post posits that as agents gain traction, there could be a "10X–100X increase in API utility," with software systems executing complex workflows.
领英推荐
Systems-Thinking is Crucial:
The focus needs to shift from individual AI models to entire systems. The author emphasizes: "Practically, developers need to shift their mindset from 'using a model' to interacting with a complete system." Adopting an API-first approach is essential. The broader perspective has crucial implications for product development, safety protocols, and meeting real-world user needs
The Importance of Reusable APIs:
Agentic systems rely on external tools, emphasizing the need for reusable APIs. Examples cited include Anthropic's Model Context Protocol, Stripe's APIs tailored for agentic workflows, and Amazon Alexa's smarter integrations via APIs.
Risk Assessment and API Access Control:
Due to the unpredictable nature of AI agents, teams must assess risks and design APIs with necessary guardrails. API usage patterns will change and they must be addressed proactively.
Building Trust Layers and Guardrails:
Trust in agentic systems requires two key elements: guardrails for the exposed APIs, including robust security layers for authentication, authorization, and rate limiting; and safeguards for agent behavior through rigorous testing, monitoring, and validation.
The Future is in APIs:
The post concludes that the ability to deliver effective AI solutions is contingent on their APIs. The author states, "the power to deliver AI solutions lies in their APIs."
"APIs are becoming a foundational building block for a new class of generative software applications."
Conclusion:
This Postman blog post provides a comprehensive overview of the evolving AI landscape, emphasizing the critical role of APIs in enabling sophisticated AI systems. It highlights a shift towards a more "agentic" AI, where software agents collaborate via APIs to complete complex tasks. The post provides valuable insights for engineering leaders who need to adapt to the rapidly changing AI landscape and prepare for an API-driven future.