Skip to content
Blog
Tag

“agents”

System Instruction Optimization: Meta-Prompting for Deterministic Tool Calling

System Instruction Optimization: Meta-Prompting for Deterministic Tool Calling

Turn tool selection from hopeful guessing into a decision table: structuring the system instruction, decision rules and negative examples, few-shot tool transcripts, meta-prompting as an iteration loop, and evals that keep it honest.

November 27, 2026 AI Assistant
Understanding the ADK Anatomy: Agents, Runners, Sessions, Events, and Tools

Understanding the ADK Anatomy: Agents, Runners, Sessions, Events, and Tools

A guided tour of ADK's runtime anatomy: LlmAgent, Runner, Session, Event and Tools, plus the yield/pause/resume event loop that ties them together.

November 24, 2026 AI Assistant
Reducing Redundant Calls: Guardrails for Recursive Agent Loops

Reducing Redundant Calls: Guardrails for Recursive Agent Loops

Stop agents from re-calling the same tool and spinning on failed plans: call-signature detection, state-hash cycle checks, hard recursion caps, tool memoization, progress predicates, and a runnable LangGraph example.

November 16, 2026 AI Assistant
Choosing the Right Model Size for Each Subtask

Choosing the Right Model Size for Each Subtask

A routing strategy for agent pipelines: classify subtasks by reasoning depth, measure quality-per-dollar with per-tier evals, and cascade from small models to frontier models only when confidence is low.

November 16, 2026 AI Assistant
Registering Agents for Discovery with A2A Cards

Registering Agents for Discovery with A2A Cards

How agents become discoverable in the A2A ecosystem: authoring the Agent Card, publishing at /.well-known/agent-card.json, signing and versioning it, and building registries and catalogs so orchestrators can find agents at runtime.

November 16, 2026 AI Assistant
Hands-Off Delegation: A2A for Enterprise Agent Handoffs

Hands-Off Delegation: A2A for Enterprise Agent Handoffs

Design enterprise-grade agent handoffs with the A2A protocol: fire-and-forget delegation, durable tasks, push notifications, input-required and auth-required checkpoints, escalation paths, and audit trails for work your team never touches again.

November 16, 2026 AI Assistant
Verifying A2A Interoperability in Your Test Suite

Verifying A2A Interoperability in Your Test Suite

Turn A2A protocol conformance into CI: a pytest suite that validates Agent Cards, JSON-RPC envelopes, task state transitions, SSE streaming, and auth headers against any A2A server before a partner ever connects.

November 16, 2026 AI Assistant
Authenticating A2A Traffic Between Organizations

Authenticating A2A Traffic Between Organizations

A practical guide to securing Agent2Agent (A2A) traffic across organizational boundaries: declaring securitySchemes in the Agent Card, OAuth 2.0 client credentials, extended cards, mid-task auth-required flows, and push-notification webhook security.

November 16, 2026 AI Assistant
Routing Tasks Across Agents with the A2A Protocol

Routing Tasks Across Agents with the A2A Protocol

Build a router that matches incoming work to the right remote agent with A2A: skill-based routing from Agent Cards, task delegation patterns, fan-out and fallback, and a working Python router over JSON-RPC.

November 16, 2026 AI Assistant
Cross-Organization Collaboration: A2A in Multi-Vendor Stacks

Cross-Organization Collaboration: A2A in Multi-Vendor Stacks

How independent organizations run Agent2Agent (A2A) collaborations across vendor boundaries: opaque agents, signed Agent Cards, cross-org discovery, contractual delegation, and the governance patterns that keep multi-vendor agent stacks operable.

November 16, 2026 AI Assistant
Retrieval Stack in Flutter: A Pragmatic, End-to-End Tutorial

Retrieval Stack in Flutter: A Pragmatic, End-to-End Tutorial

Build a production agent + retrieval stack in Flutter: an ADK backend with SSE streaming, a hand-rolled Dart SSE parser, a ChangeNotifier chat controller, and visible citations.

November 14, 2026 AI Assistant
Decoupling Agent Triggers from Agent Execution with Task Queues

Decoupling Agent Triggers from Agent Execution with Task Queues

Synchronous agent invocation inside a webhook handler breaks under real traffic. Put a task queue between 'something happened' and 'the agent runs', and get the queue semantics, payload design, and retry split right.

October 31, 2026 AI Assistant
Idempotent Consumers: Delivering Agent Events Exactly Once

Idempotent Consumers: Delivering Agent Events Exactly Once

Exactly-once delivery is a lie at the transport level. Build idempotent event consumers for agents with dedup keys, a Postgres inbox table, transactional outbox, and side-effect fencing across LangGraph replays.

October 31, 2026 AI Assistant
Identity Provisioning for Agent Workloads

Identity Provisioning for Agent Workloads

Agents are not users and not quite services. How to design identity, credentials, and authorization for LLM agents, MCP servers, and tool-calling workloads in production.

October 28, 2026 AI Assistant
Red-Teaming Agent Behaviors with Adversarial Prompts

Red-Teaming Agent Behaviors with Adversarial Prompts

How to systematically attack your own AI agents before attackers do — building an adversarial prompt program mapped to the OWASP LLM Top 10, from jailbreak taxonomies to automated red-team suites.

October 28, 2026 AI Assistant
Responsible AI When Your App Becomes Agentic

Responsible AI When Your App Becomes Agentic

How do you apply responsible-AI principles when software stops answering and starts acting? A practical framework for oversight, transparency, and governance in agentic enterprise applications.

October 28, 2026 AI Assistant
genui_a2a: Pointing Flutter's GenUI SDK at a Backend Agent

genui_a2a: Pointing Flutter's GenUI SDK at a Backend Agent

The genui_a2a package connects Flutter's GenUI framework to a server-side agent over A2A — connector, streams, and wiring explained.

October 19, 2026 AI Assistant
Building an A2A Client in Python: A Hands-On Guide

Building an A2A Client in Python: A Hands-On Guide

A code-along guide to building an A2A client in Python with the official SDK: resolve the Agent Card, send messages, stream status and artifact updates over SSE, handle input-required multi-turn tasks, and secure push notifications.

October 17, 2026 AI Assistant
A2A Agent Cards: Publishing and Resolving Agent Capabilities

A2A Agent Cards: Publishing and Resolving Agent Capabilities

Author, publish, sign, and consume A2A Agent Cards: the JSON manifest that declares an agent identity, skills, interfaces, and security requirements at /.well-known/agent-card.json, with a worked publishing and resolution example.

October 11, 2026 AI Assistant
Root Cause Analysis Playbooks for Agent Failures: From Symptom to Fix

Root Cause Analysis Playbooks for Agent Failures: From Symptom to Fix

A systematic method for debugging agent failures: classify the symptom, walk a trace from the failing span upward, and apply a playbook for each failure class — routing, tool, context, hallucination, and infrastructure — with durable execution and state inspection as first-class techniques.

October 10, 2026 AI Assistant
Delegated Authorities: Scoped Permissions for Sub-Agent Execution

Delegated Authorities: Scoped Permissions for Sub-Agent Execution

Give sub-agents only the authority their task requires: why tool lists are not permissions, how agents-as-tools and handoffs differ in privilege, building a delegation layer with capability objects, and enforcing scope at the runner rather than trusting the prompt.

October 10, 2026 AI Assistant
Correlation IDs Across Agent Handoffs

Correlation IDs Across Agent Handoffs

Keep a single identifier alive as control moves between agents: why log IDs break at handoffs, how OpenTelemetry context propagation and baggage carry correlation across boundaries, the security rules for propagating IDs, and a concrete schema for multi-agent trace correlation.

October 10, 2026 AI Assistant
Trace Spans for Tool Calls: Instrumenting Function Execution

Trace Spans for Tool Calls: Instrumenting Function Execution

Instrument agent tool calls with OpenTelemetry spans: span structure, trace and span IDs, parent relationships, attributes versus events, status codes, wrapping sync and async tools, and the schema that makes tool spans queryable instead of just present.

October 10, 2026 AI Assistant
Consent Flows: Human Approval at the Point of Action

Consent Flows: Human Approval at the Point of Action

Design consent flows that pause an agent before it acts: deciding which tools need approval, the pause-and-resume state machine, sticky decisions, rejection messages, server-side approval security, and how to build the same pattern on the Gemini function calling loop.

October 10, 2026 AI Assistant
Error Handling for Tool Calls: Retryable vs. Fatal Errors

Error Handling for Tool Calls: Retryable vs. Fatal Errors

Classifying agent tool failures into retryable and fatal buckets — how the OpenAI Agents SDK surfaces errors to the model, configures retries, and when never to retry at all.

October 9, 2026 AI Assistant
Financial Advisory Agents: Data, Disclaimers, and Regulated Outputs

Financial Advisory Agents: Data, Disclaimers, and Regulated Outputs

Building AI agents that touch investment topics without hallucinating numbers or crossing regulatory lines — grounding, structured outputs, safety settings, and human review with the Gemini API.

October 9, 2026 AI Assistant
Namespacing Agent Memory Stores Per Tenant: Isolation Without the Leak

Namespacing Agent Memory Stores Per Tenant: Isolation Without the Leak

Hard namespaces vs. metadata filters for multi-tenant agent memory in LlamaIndex — why filter-only isolation leaks, and how to combine both layers for defense in depth.

October 9, 2026 AI Assistant
Chaos Testing Agent Workflows: Breaking Things on Purpose

Chaos Testing Agent Workflows: Breaking Things on Purpose

How to apply chaos engineering to agent workflows — fault injection for model outages, tool failures, and stalls, plus the observability needed to prove resilience.

October 8, 2026 AI Assistant
Streaming vs. Polling: Response Patterns for Async Agent Clients

Streaming vs. Polling: Response Patterns for Async Agent Clients

When to stream agent responses, when polling is the right answer, and how to combine them with server-sent events, WebSockets, and durable run state.

October 8, 2026 AI Assistant
A2A vs. MCP: Choosing the Right Interop Standard for Your Agents

A2A vs. MCP: Choosing the Right Interop Standard for Your Agents

MCP is vertical, A2A is horizontal. A practical decision framework for when your agent needs tool access, when it needs peer collaboration, and how the two compose.

October 8, 2026 AI Assistant
Decision Logs as First-Class Data: Post-Mortems for Multi-Agent Systems

Decision Logs as First-Class Data: Post-Mortems for Multi-Agent Systems

Treat agent decisions as structured, queryable data using OpenTelemetry logs and traces — and turn post-mortems into an automated, evidence-driven practice.

October 8, 2026 AI Assistant
Alerting on Agent Anomalies: Drift, Hallucinations, and Stalls

Alerting on Agent Anomalies: Drift, Hallucinations, and Stalls

A practical alerting strategy for production agents — what to detect, what thresholds to set, and how to wire LiteLLM alerting into Slack, email, and webhooks.

October 8, 2026 AI Assistant
AG-UI with CopilotKit: Streaming Agent State into Your App UI

AG-UI with CopilotKit: Streaming Agent State into Your App UI

How the AG-UI protocol and CopilotKit connect custom frontends to agents, and why day-zero A2UI support makes multi-agent UI rendering practical.

October 8, 2026 AI Assistant
Caching for Agentic RAG: Index Refresh and Query Caching

Caching for Agentic RAG: Index Refresh and Query Caching

Agentic RAG loops re-retrieve constantly. Layer query caching, response caching, and index refresh policies to cut latency and LLM bills without serving stale answers.

October 6, 2026 AI Assistant
Escalation Ladders: Handing Failed Tasks to Humans with Full Context

Escalation Ladders: Handing Failed Tasks to Humans with Full Context

Autonomous agents fail. Design escalation ladders that detect failure, retry intelligently, and hand work to humans with the full context needed to finish in one pass.

October 6, 2026 AI Assistant
Policy Enforcement Layers for Autonomous Agents: Guarding Every Tool Call

Policy Enforcement Layers for Autonomous Agents: Guarding Every Tool Call

One guardrail is not a security model. Layer input validation, tool scopes, runtime policy checks, and MCP authorization so every agent tool call passes through defense in depth.

October 6, 2026 AI Assistant
PydanticAI vs. OpenAI Agents SDK: A Side-by-Side Build Comparison

PydanticAI vs. OpenAI Agents SDK: A Side-by-Side Build Comparison

Build the same triage agent twice - once in PydanticAI, once in the OpenAI Agents SDK - and compare typing, tools, guardrails, sessions, and observability.

October 6, 2026 AI Assistant
Visualizing Agent Trajectories: Debugging Loops and Dead Ends

Visualizing Agent Trajectories: Debugging Loops and Dead Ends

Agent logs lie by omission. Learn to render trajectories as graphs, spot infinite loops and dead ends, and turn run visualization into a debugging practice.

October 6, 2026 AI Assistant
Progress Visibility: Streaming Agent Steps and Thoughts to Users

Progress Visibility: Streaming Agent Steps and Thoughts to Users

Why silent multi-second agent runs destroy UX, and how to stream step lifecycles, tool calls, and reasoning to the client with the OpenAI Agents SDK, SSE, and MCP-style progress notifications.

October 4, 2026 AI Assistant
Caching Tool Results to Shorten Agent Trajectories

Caching Tool Results to Shorten Agent Trajectories

Agent trajectories grow expensive fast because every tool call costs a model round trip. Learn what is safely cacheable, how to key the cache, where to place it in a LangGraph graph, and how to measure the wins.

October 4, 2026 AI Assistant
CrewAI in Depth: Roles, Tasks, and Process Orchestration

CrewAI in Depth: Roles, Tasks, and Process Orchestration

A practical tour of CrewAI's core abstractions — agents, tasks, processes, and Flows — with guidance on when this role-shaped framework beats a graph-based one.

October 4, 2026 AI Assistant
Idempotent Tool Design: Making Every Agent Call Safe to Repeat

Idempotent Tool Design: Making Every Agent Call Safe to Repeat

Agents retry constantly, and naive tools double-charge or duplicate rows when they do. Apply Stripe-style idempotency keys, natural keys, and dedupe patterns so every tool call is safe to repeat.

October 4, 2026 AI Assistant
Genkit Agents API for Dart: Full-Stack Conversational AI in Flutter

Genkit Agents API for Dart: Full-Stack Conversational AI in Flutter

How the Genkit Agents API brings full-stack conversational AI to Dart and Flutter — defining agents on the server and driving them from Flutter with a shared chat() interface.

September 18, 2026 AI Assistant