This article explains the Model Context Protocol (MCP) by tracing a complete tool call flow—from tool discovery via tools/list, model intent generation, MCP routing, server execution, to result return—detailing JSON-RPC message formats, stdio and HTTP transports, and the roles of Model, Host, Client, and Server.
This tutorial guides you through building a complete AI Agent from scratch without frameworks, covering environment setup, tool definition with JSON Schema, Function Calling, the core reasoning loop, common pitfalls, prompt engineering techniques for structured output, and modular code organization with hands-on practice tasks.
This article introduces AI Agents by contrasting them with chatbots and workflows, presenting the core formula Agent = LLM + Memory + Tools + Loop, explaining each component with a flight-booking example, and outlining the engineer's role in designing reliable agent systems.
This tutorial explains how AI agents use tools via Function Calling, demystifies the @tool decorator by showing how Python introspection generates OpenAI JSON schemas, provides a complete 60-line hand-written agent implementation, and outlines five golden rules for tool design including detailed docstrings, semantic parameter names, limiting tools to 20, single responsibility, and recoverable errors.
This article deconstructs AI agent architecture as a stateful runtime chain—Goal→Plan→Context→Decide→Act→Observe→Verify→State→Next—distinguishing Planner, Tool, MCP, Memory, and Reflection as interconnected layers rather than parallel modules, emphasizing that reliability comes from the harness runtime handling verification, recovery, and context engineering outside the model.
This guide explains the Model Context Protocol (MCP), an open standard that solves the M×N integration problem between AI applications and tools by defining three roles (Host, Client, Server), three capability types (Tools, Resources, Prompts), and two transports (stdio, HTTP), with a minimal Python server example and integration steps for Trae, Claude, and Cursor.
This article traces OpenAI's API evolution across six generations from Completions to Responses API, explains why the open-source ecosystem remains anchored to Chat Completions despite official advances, compares architectural trade-offs between stateless and stateful paradigms, and provides a practical selection guide for engineers building heterogeneous model gateways or agent systems.
This comprehensive guide covers 10 essential AI Agent interview topics, including Agent vs LLM differences, Workflow vs Agent selection, reasoning paradigms, Function Calling, MCP, error handling, memory management, context optimization, RAG pipelines, and evaluation metrics, with code examples and architectural diagrams.
This article explains intent recognition for AI agents, covering definition, common approaches (rules, LLM with structured output, semantic retrieval, hybrid), their pros and cons, suitable scenarios, and practical implementation advice including schema validation, confidence gating, and multi-turn handling.
This article clarifies commonly confused AI concepts by grouping them into four categories: model-tool interaction (Function Calling vs MCP), task execution (Tools vs Skills), internal data representation (vectors vs tensors), and text processing (Tokens vs Embeddings), explaining their distinct roles and relationships.
This article presents a comprehensive six‑layer AI Agent architecture, explains the underlying principles of reasoning, tool use, memory, and planning, compares ReAct, Function Calling, and MCP, walks through a real‑world request flow, and offers practical technology‑selection guidance.
The article details how a Spring Boot‑based intelligent customer service evolves from a simple chat endpoint to a robust Function Calling architecture, addressing challenges such as real‑time data access, permission checks, idempotency, error handling, token management, and scaling to tens of millions of daily conversations.
This article explains why AI agents need function calling, describes the structured tool‑call protocol between LLMs and runtimes, shows how to define and secure function tools, and provides best‑practice code and checklists for production deployments.
The article presents an industrial‑level architecture for AI agents that enables tools to be registered, discovered, and injected dynamically, covering both local plugins and remote MCP services, with a unified registry, multi‑mode injection strategies, fault‑tolerant discovery mechanisms, and detailed code examples.
This tutorial walks through creating a Spring Boot application that integrates the Spring AI Alibaba framework with a local Ollama model to enable function calling, covering environment setup, Maven dependencies, configuration, core code, testing, best practices, and common troubleshooting steps.
The article walks through a step‑by‑step evolution of AI—from large language models and prompt engineering to retrieval‑augmented generation, function calling, agents, and harnesses—illustrated with a concrete travel‑planning scenario, showing how each technology adds real‑world capability.
The article explains MCP (Model Context Protocol) as a standardized interface for AI agents, detailing its architecture (Host, Client, Server), three core types (Tools, Resources, Prompts), transport options (Stdio and Streamable HTTP), security best practices, and how it differs from function calling.
The article argues that the current rush to collect and sell Agent Skills is a fleeting trend, because each skill is a handcrafted SOP that models will eventually internalize, turning most of today’s skill assets into short‑lived consumables.
This guide explains the three core Function Calling parameters—tools, tool_choice, and parallel_tool_calls—showing how to design tool schemas, control model autonomy, choose parallel execution, and avoid common pitfalls, with concrete Python and JavaScript examples and a cross‑platform comparison.
Qwythos‑9B, a Qwen3.5‑9B model fine‑tuned with over 500 M Claude‑style tokens, offers a 1 M‑token YaRN context, native function calling and tool‑augmented self‑correction, outperforms its base on MMLU and gsm8k benchmarks, and provides GGUF quantizations for consumer‑grade GPU deployment.
This article explains how Function Calling lets large language models invoke Java methods via Spring AI, walks through the four‑step workflow, shows declarative and programmatic tool definitions, and demonstrates a complete customer‑service chatbot with code examples and best‑practice guidelines.
This article explains the concept of Function Calling in large language models, walks through defining function schemas, shows step‑by‑step API call flows, demonstrates multi‑tool orchestration, parallel execution, tool‑chain composition, and integrates Function Calling with LangChain, while providing best‑practice guidelines and code examples.
This article explains how Spring AI's Tool Calling lets large language models overcome their inability to access real‑time or private data by invoking annotated Java methods, showing step‑by‑step code examples, parameter handling, and the execution flow that bridges model requests with actual method results.
This article provides a comprehensive, up‑to‑date map of all AI Agent learning resources—including basics, enterprise‑grade customer‑service projects, interview question collections, daily practice, industry trends, multi‑language tutorials, and a supporting website—so newcomers and seasoned readers can quickly locate the content they need.
This article explains the Harness Engineering framework that equips AI agents with reliability, efficiency, security, and traceability, showing how to turn them from fragile prototypes into scalable, production‑ready tools through systematic context management, sandboxing, resource control, and data‑driven evolution.
The article analyzes the hidden dangers of writing raw HTTP calls for large language models in Java projects—hard‑coded keys, fragile request bodies, missing retries, no observability—and demonstrates how Spring AI’s unified abstractions, built‑in resilience, streaming, function calling, and seamless Spring integration eliminate these issues while enabling effortless model switching and production‑grade AI services.
The article maps classic operating‑system concepts—processes, system calls, caching, file‑system mounting, and scheduling—to AI agents, showing how these analogies explain challenges like context sharing, tool permissions, token limits, knowledge‑base mounting, and orchestrated execution, and proposes a concrete multi‑layer design framework.
The article analyzes the drawbacks of manually coding HTTP calls to large language models—hard‑coded keys, fragile request construction, missing retries, and poor observability—and demonstrates how Spring AI’s layered abstraction, unified configuration, built‑in resilience, function calling, RAG support, and seamless Spring ecosystem integration solve these problems for production‑grade Java applications.
This article walks through the core concepts of Spring AI Alibaba—including token mechanics, prompt structures, embedding, structured output, chat memory, RAG pipelines, function calling, and graph‑based multi‑agent workflows—while providing concrete code samples, configuration tips, performance tricks, and a curated list of common pitfalls.
This article walks through using Spring AI with Ollama to enforce JSON‑schema‑based structured output for agents, showing why structured responses matter, how Spring AI generates schemas from Java beans, and providing complete runnable code for both basic and advanced tool‑calling scenarios.
The article details how the product team tackled AI‑driven challenges by designing a two‑layer, event‑driven Function‑Centric Agent architecture that unifies workflow orchestration and capability supply, enabling real‑time inference for billions of items, cutting development cycles to one person‑week, and boosting search conversion rates.
This article compares Model Context Protocol (MCP) and OpenAI‑style Function Calling, explaining their fundamental differences, runtime architectures, capability scopes, ecosystem effects, and providing concrete scenarios and a decision tree to help developers pick the most suitable approach for their AI applications.
The article breaks down the reliability challenges of LLM Function Calling, categorizes five failure modes, and presents concrete engineering safeguards such as precise schema design, tool description, constraint enforcement, few‑shot calibration, structured output, validation‑feedback loops, monitoring, and risk‑aware trade‑offs.
OpenAI has open‑sourced the openai‑realtime‑meeting‑assistant project, a Go‑based demo that lets multiple users control a Kanban board via voice using Pion WebRTC, Opus, WebSocket and the OpenAI Realtime API with function calling, and provides full setup and usage instructions.
The article walks through a JD interview scenario where a candidate explains how a tool‑calling accuracy metric rose from 71% to 94% by detailing the full SFT data‑engineering pipeline, teacher‑model trajectory generation, quality validation, evaluation methodology, and interview‑ready talking points.
Data EngineeringFunction CallingInterview Preparation
This guide walks through setting up a local LLM with Ollama, configuring Spring Boot and LangChain4j, defining function‑calling tools for weather, order status, logistics and coupons, creating AI service beans, exposing REST controllers, and troubleshooting common integration issues.
The article examines how JSON, once the universal data language for backend systems, is being pushed back from the interaction layer in AI‑driven applications, outlines its five key shortcomings, and explores emerging alternatives such as natural‑language interfaces, Markdown, YAML, and function calling.
The article explains how Function Calling enables large language model agents to overcome knowledge staleness and hallucination by invoking external tools—such as search, email, code execution, and databases—to fetch real‑time data, perform actions, and deliver verifiable, multi‑step responses.
The article analyzes OpenClaw’s shift from GUI to API, its continuous workflow capabilities, the competition for high‑frequency user scenarios, the prospect of per‑device Claw instances, data‑context security concerns, and the potential fragmentation of SaaS software in the emerging AI agent market.
The 2026 Agent Skills whitepaper, officially released by the算泥 community, analyzes the evolution of prompting, function calling, the Model Context Protocol (MCP), core limitations of current AI agents, and the rapid expansion of the Agent Skills ecosystem across coding and non‑coding scenarios.
The article explains why pretrained LLMs cannot call tools, then breaks down the three‑stage training pipeline—Supervised Fine‑Tuning, Reinforcement Learning from Human Feedback, and knowledge distillation—showing how each step teaches models to read tool schemas, decide when to invoke a tool, generate JSON calls, and finally transfer the capability to smaller models with LoRA.
The article breaks down three mainstream ways to give large language models internet search capability—Function Calling with search APIs, Retrieval‑Augmented Generation with web crawlers, and built‑in search models—detailing their workflows, strengths, and trade‑offs.
The article walks through building a minimal 20‑line agent loop, explains each step—from reading a task to invoking tools and feeding observations back—then shows how real systems like Claude Code, OpenClaw and Pi add layers of harness, memory, permission and validation to make the loop safe and reliable in production.
OpenRouter quietly launched Elephant Alpha, a free 100B‑parameter LLM with a 256K token window, positioned as an "instant model" that prioritises token efficiency and speed, supports function calling and prompt caching, and is compared against other Animal‑series models while community speculation surrounds its origin.
The article explains how using plain prompts to force large language models to output JSON for intent recognition and named‑entity extraction leads to unpredictable extra text, key mismatches, and hallucinated fields, and it presents three robust alternatives—placeholders, function calling, and constrained decoding—to achieve reliable structured outputs.
The article dissects the Model Context Protocol (MCP), showing how it transforms the M×N integration explosion into a linear M+N model, details its four-component architecture, compares it with traditional Function Calling, provides a TypeScript server example, and outlines emerging ecosystem and security considerations.
This article explains how LLMs use Function Calling to output structured JSON for tool execution, walks through the full multi‑turn tool call loop, shows how LangChain standardizes disparate vendor APIs with BaseTool and bind_tools, and shares practical pitfalls, best‑practice guidelines, and security considerations for building robust agents.
This article explains why Function Calling requires a robust server‑side architecture, walks through a real e‑commerce use case, details the Go‑based protocol, modular design, concurrency handling, security, observability, deployment strategies, testing approaches, and a step‑by‑step roadmap for turning a demo into a production‑grade system.
The article analyzes why LLMs often return unstructured text, compares LangChain's OutputParser and withStructuredOutput approaches, evaluates their stability, token usage, and model compatibility, and provides a decision guide and best‑practice recommendations for production‑grade structured output in 2025.
This article explains the fundamentals of large‑model function calling, why it’s needed to bridge language models with real‑world tools, and provides a step‑by‑step implementation in Python—including tool definition, intent extraction, local execution, and result integration—complete with code samples and diagrams.
The article traces the evolution from early function calls to Tool Calling 2.0, explaining how Model Context Protocol standardizes tool interfaces, how Agent‑to‑Agent communication enables multi‑AI collaboration, and how Skills combine tool orchestration into autonomous workflows, while also discussing remaining challenges such as intent misinterpretation and security risks.
This article dissects Anthropic's Skill framework, revealing how it drives AI agents through five distinct execution modes—pure prompt injection, script execution, library calls, progressive document loading, and workflow orchestration—while avoiding function‑calling registration and optimizing token usage.
This article explains OpenClaw’s architecture—Agent, Memory, RAG, Function Calling, MCP, and Skills—through a story, diagrams, and code examples, showing how the open‑source framework turns large language models into autonomous, configurable agents that can run locally.
OpenClaw is an open‑source AI agent platform that integrates core concepts such as Agents, Retrieval‑Augmented Generation, Memory, Function Calling, and the proprietary Skills protocol, offering a four‑layer architecture, configurable workspaces, SQLite‑backed persistence, and practical deployment guidance while highlighting security best practices.
Qwen-Agent, an open‑source agent development framework built on Qwen large models (≥3.0), integrates function calling, code interpreter, RAG, and MCP support, offering ready‑to‑run demos, GUI tools, and extensive documentation to help developers quickly build and customize sophisticated AI agents.
The article explains how to replace monolithic prompts with reusable, lazy‑loaded Skill files, compares Skills with Prompt, MCP and Function Calling, shows concrete Skill structures and examples, and demonstrates a Spring Boot AI interview platform with open‑source repositories.
This guide walks you through setting up Spring AI, configuring OpenAI credentials, using ChatClient for basic and advanced interactions, enabling function calling, managing conversation memory, and building real‑world projects such as a smart customer‑service bot, document summarizer, and code assistant, while also comparing Spring AI with LangChain4j and addressing common setup issues.
This article provides a step‑by‑step guide to quickly set up LangChain4j, configure API keys, call LLM models, use structured outputs, function calling, and chat memory, and demonstrates three hands‑on projects—smart assistant, document summarizer, and code generator—plus FAQs and resources.
The article introduces the open‑source Claude Quickstarts repository, which provides over 15 ready‑to‑run examples—including multimodal image Q&A, function calling, and batch document analysis—along with step‑by‑step setup instructions, code snippets, and best‑practice notes to help developers quickly build Claude‑powered applications.
This tutorial extends a minimal LLM Agent loop by introducing Tool Use (function calling) to give the agent actionable capabilities—searching the web, retrieving the current datetime, and performing mathematical calculations—while explaining the BaseTool architecture, registration process, system‑prompt adjustments, and practical execution examples.
This guide walks through configuring Alibaba Cloud credentials, implementing a FastAPI backend with email function calling, Alibaba OpenSearch, image generation via DashScope, speech recognition, and a responsive HTML/CSS/JavaScript front‑end that supports text chat, image recognition, image synthesis, and voice interaction.
This article compares OpenAI's Chat Completions and Responses APIs with Anthropic's Messages API for tool calling, detailing request/response structures, abstraction differences between conversation and execution trajectory models, and Anthropic's advanced features including tool search, programmatic tool calling, and tool use examples for large-scale agent systems.
This article provides a detailed, hands‑on tutorial for creating an AI agent, covering registration and API key setup for Alibaba Cloud, OpenAI, Dashscope and DeepSeek, installing and using Ollama for local model deployment, configuring CherryStudio, and implementing function‑calling and MCP techniques with full code examples.
This article introduces the ReAct paradigm for LLM-based agents, detailing its reasoning-action-observation loop with a hands-on example, and traces the evolution of tool-use from prompt-defined tools to trained models like Toolformer and standardized APIs like OpenAI Function Calling.
This article explains the fundamental differences between Model Context Protocol (MCP) and Agent Skills, covering their design philosophy, technical architecture, token costs, security considerations, practical use‑cases, and how they complement each other in building powerful AI agents.
This article explains the origins of AI Agent Skills, walks through the standard tool‑use loop, provides step‑by‑step code for defining and invoking Skills with the OpenAI API, compares Skills with the emerging Model Context Protocol (MCP), and offers practical guidance for developers and architects building AI‑enabled systems.
The article examines the three main challenges of complex AI projects—knowledge organization, data‑AI interaction, and intent recognition—highlighting why tool (function) calling often breaks, and presents practical engineering strategies such as prompt refinement, clearer tool schemas, intent convergence, and evaluation loops to improve reliability.
This article explains the fundamentals of AI‑generated content (AIGC), the Retrieval‑Augmented Generation (RAG) technique, Function Calling, autonomous agents, and the Model Context Protocol (MCP), highlighting their evolution, technical workflows, limitations, and real‑world examples for developers.
In real‑world LLM agents, giving the model too many tools at once leads to frequent function‑call errors, but applying dynamic function routing to narrow the candidate set dramatically reduces the error rate—from over 20% down to around 1%—and provides clear guidelines on when and how to implement it.
This article explains why function‑call accuracy is critical for LLM agents, identifies four common failure causes, and presents a systematic, five‑step engineering framework—including dynamic routing, chain‑of‑thought planning, result validation, memory injection, and log‑driven optimization—backed by concrete examples and quantitative improvements.
This article explains the design, three‑layer architecture, registration process, intent routing, security model, and practical comparisons of Anthropic's Claude Skills, showing how they extend LLM capabilities beyond prompts and function calling.
This guide explains how to overcome access restrictions to Claude’s large‑model APIs in China by configuring Claude Code to work with Zhipu AI’s GLM‑4.6, covering background, model features, required environment setup, installation steps, environment variables, usage commands, and best‑practice scenarios for AI‑assisted development.
The Model Context Protocol (MCP) introduced by Anthropic addresses the scalability, integration, and context‑transfer limitations of traditional Function Calling by offering a standardized, bidirectional, and context‑aware communication layer that simplifies tool discovery, security, and workflow orchestration for LLM‑driven agents.
This article explains how function (tool) calling lets large language models like GPT or Gemini invoke external APIs, walks through defining tools with LangChain, and demonstrates a complete Python example that fetches real‑time weather data and returns a natural‑language answer.
This tutorial introduces Claude Code’s Model Context Protocol (MCP), compares it with traditional function calling, explains its client‑server architecture, and provides a step‑by‑step hands‑on guide—including Figma token acquisition, server setup, and Flutter code generation—to demonstrate how MCP streamlines AI‑driven development.
This article debunks common misconceptions about the Model Context Protocol (MCP), explains its client‑host‑server (CHS) architecture, shows how the Host drives AI decisions while Server and Client remain model‑agnostic, compares MCP with Function Calling, analyzes SDK source code, evaluates practical trade‑offs, and outlines the true engineering value and costs of using MCP in AI applications.
This article explains how to boost large‑model agent performance for interview questions by using efficient fine‑tuning—building multi‑tool parallel and chain‑call datasets—and reinforcement‑learning fine‑tuning with reward functions that target tool accuracy, task completion, and call efficiency, illustrated with concrete JSON examples and open‑source references.
This article explains the fundamentals of large language models, covering transformer self‑attention, prompt engineering, API usage with temperature and tool parameters, function calling, agent architectures, the Model Context Protocol (MCP), Agent‑to‑Agent (A2A) communication, and future AI programming roles.
This article breaks down the confusing AI buzzwords—user prompts, system prompts, agents, tool registration, function calling, and the MCP protocol—explaining how they work together to enable AI assistants that can perform real tasks beyond simple chat.
This tutorial shows how to combine Kubernetes client‑go, the Cobra CLI framework, and OpenAI function calling in Go to create an interactive command‑line assistant that can generate YAML, deploy resources, query objects, and delete items in a Kubernetes cluster.
This article walks through how to integrate LangChain's built‑in tools and user‑defined functions into AI agents, covering environment setup, installing dependencies, using the Python code interpreter tool, binding tools to a model, parsing tool calls with JsonOutputKeyToolsParser, and demonstrating both a data‑analysis example and a weather‑lookup function.
This article traces the evolution of AI agents from early expert systems to today’s multimodal, memory‑rich agents, explains their perception, reasoning, memory and action modules, discusses model selection, prompt engineering, RAG techniques, and highlights current limitations such as hallucinations, reliability, cost, and security.
This comprehensive guide explores AIOps techniques such as prompt engineering, chat completions, memory management, function calling, fine‑tuning, retrieval‑augmented generation (RAG), graph‑based RAG, and practical steps for deploying open‑source large language models locally, providing code examples and best‑practice recommendations for modern DevOps environments.
An in‑depth guide outlines the nine core technologies—ranging from autonomous agent fundamentals and multi‑agent collaboration to workflow orchestration, retrieval‑augmented generation, fine‑tuning, function calling, model context protocols, agent‑to‑agent communication, and AI‑driven UI—required to design, deploy, and scale enterprise‑grade AI agents.
This article provides a concise overview of the latest AI concepts—including AIGC, Retrieval‑Augmented Generation, Function‑Calling models, intelligent agents, and the Model Context Protocol—explaining their principles, differences, and how they can be combined to build more powerful AI applications for developers outside the AI field.
This article provides a concise overview of the latest AI breakthroughs—including AIGC, multimodal technology, Retrieval‑Augmented Generation (RAG), intelligent agents with function‑calling models, and the Model Context Protocol (MCP)—explaining their principles, relationships, and practical implications for developers outside the AI field.
This article provides a concise, developer‑focused overview of emerging AI concepts—including AIGC, multimodal models, Retrieval‑Augmented Generation, intelligent agents, Function‑Calling, and the Model Context Protocol (MCP)—explaining their core principles, differences, and how they interrelate to enable advanced AI applications.
This article explains the MCP framework that standardizes AI tool invocation using JSON‑RPC, outlines its client‑server architecture, details communication methods such as STDIO, SSE and streamable HTTP, and provides a Spring AI demo showing tool registration, discovery, and execution.
This article explains the MCP framework’s architecture, execution flow, JSON‑RPC communication, and lifecycle, showing how it standardizes AI function calling and tool integration using Spring AI, with code examples and comparisons of communication methods.
This article walks through the fundamentals of large language models, their stateless and structured-output nature, explains how Spring‑AI provides a Java‑friendly API for model integration, covers RAG architecture, the MCP protocol, and demonstrates end‑to‑end code examples for building intelligent agents.
The article introduces Model Context Protocol (MCP), explains its architecture of Host, Client, and Server, describes its components—Resources, Tools, Prompts—and demonstrates practical integration with IDE plugins to extend LLM capabilities such as real‑time ticket queries, highlighting its significance for AI development.
This article explains how the Model Context Protocol (MCP) standardizes AI agent communication with external tools, outlines its benefits, describes its core components, showcases open‑source implementations, and provides step‑by‑step Python examples for building MCP servers and clients.
The DeepSeek‑R1‑0528 update brings major benchmark gains, reduced hallucinations, JSON output and function‑calling support, enabling seamless integration with the Model Context Protocol (MCP) for flexible tool use, while a new 8B distilled model demonstrates knowledge‑distillation benefits for resource‑constrained deployments.
The DeepSeek‑R1‑0528 model released on May 28 2025 shows major gains in coding, function‑calling and long‑text generation, with benchmark scores that surpass Qwen3‑235B, approach Claude 4 in programming, and include detailed hands‑on prompts and results.
This article provides a concise, easy-to-understand introduction to large language models, the transformer architecture, prompt engineering, temperature settings, function calling, the Model Context Protocol (MCP), agent communication (A2A), and future AI programming trends, using simple analogies and illustrative examples.
This article explains the Model Context Protocol (MCP) for AI development, detailing its definition, core components, communication methods, execution process, relationship with agents and function calling, ecosystem growth, and future implications and challenges.
The article examines the inherent knowledge cutoff of large language models, introduces function calling, Model Context Protocol (MCP), and Agent‑to‑Agent (A2A) as solutions for real‑time data access, compares their architectures, communication patterns, and use cases, and discusses their respective strengths and drawbacks.