Understanding the Relationship and Invocation Process Between MCP, HTTP API, and Agent

Understanding the Relationship and Invocation Process Between MCP, HTTP API, and Agent

We meticulously refine each article: deep thinking, precise testing, and a rigorous creative process to ensure that every piece of content withstands practical scrutiny. This is ourcreative guideline, and a solemn commitment to our readers’ time—ensuring that every minute you spend yields insights that solve real problems.。 Specific Use and Common Understanding of MCP MCP … Read more

Calling C Functions from C++ Code

Calling C Functions from C++ Code

1. Introduction Recently, I used C++ code to call functions from C code, and I would like to document the process. 2. Code 1. Include Header Files The content of the include/add.h header file is as follows: #ifndef __ADD_HPP__ #define __ADD_HPP__ #include <stdio.h> #include <stdlib.h> int function_add(int a, int b); #endif The content of the … Read more

Introduction to Stack Usage and Application Scenarios in C++ Development

Introduction to Stack Usage and Application Scenarios in C++ Development

1. What is a Stack? In the C++ Standard Library, <span>std::stack</span> is a container adapter, which is not an independent data structure but is implemented based on other sequential containers (such as <span>deque</span> or <span>vector</span>). Characteristics: • Follows the First In Last Out (FILO / LIFO) principle. • Insertion and deletion operations can only be … Read more

How to Quickly Transform a Regular HTTP API into an MCP Server

How to Quickly Transform a Regular HTTP API into an MCP Server

The MCP protocol, short for “Model Context Protocol,” has shown remarkable momentum since the release of its first version in November 2024. Although it has been around for a short time, it has already demonstrated a “peak from the start” trend. The problems it aims to solve are not complex, but its core concepts and … Read more

Comprehensive Analysis of Multi-Agent Technology and Applications (Technical Edition)

Comprehensive Analysis of Multi-Agent Technology and Applications (Technical Edition)

Cover Image: nice view|Source: Hailey I enjoy learning with “questions and curiosity”, which helps to systematize and solidify knowledge rather than just accumulating information. Follow this series of articles to explore 11 questions, which will greatly assist you in familiarizing yourself with Agent and Multi-agent technology. The next article will discuss the industry applications of … Read more

The HTTP of AI! A Comprehensive 5000-Word Analysis of the Explosive Rise of MCP

The HTTP of AI! A Comprehensive 5000-Word Analysis of the Explosive Rise of MCP

This article is reprinted from the public account: Goose Factory Technology. This article is for academic/technical sharing only. If there is any infringement, please contact us to delete the article. To MCP or not to MCP? After OpenAI announced support for MCP, Google did not hesitate for long. On April 4, Gemini announced the addition … Read more

Implementation of Function Call Based on RK3588 Large Language Model

Implementation of Function Call Based on RK3588 Large Language Model

The example of function call invocation is as follows: POST /v1/chat/completions HTTP/1.1 Host: api.openai.com Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "model": "gpt-4", "messages": [{"role": "user", "content": "What is the weather like in Beijing today?"}], "tools": [ // Define the tool list { "type": "function", "function": { "name": "get_weather", "description": "Get weather information for a specified … Read more

Why Does C Language Need Stack for Function Calls While Assembly Language Does Not?

Why Does C Language Need Stack for Function Calls While Assembly Language Does Not?

Recently, I have seen many analyses about uboot, and to run C language, it is necessary to prepare the stack. In the Uboot’s start.S assembly code, regarding system initialization, I also saw the action of initializing the stack pointer. However, I have only seen people say that system initialization requires initializing the stack, that is, … Read more

Analyzing Function Calls at the Assembly Level

Analyzing Function Calls at the Assembly Level

Introduction Assembly language is the foundation for learning reverse engineering. This article analyzes function calls from the assembly level to understand the specific implementation processes of stack pushing, jumping, execution, and returning, as well as the application of the stack. My knowledge is limited, so please point out any errors or unclear points. Your encouragement … Read more

C Language and Assembly Correspondence Analysis Revealing Function Call Essence

C Language and Assembly Correspondence Analysis Revealing Function Call Essence

Recently, NetEase Cloud Classroom opened a course called Linux Kernel Analysis. I have always been interested in operating systems and the essence of computers, so I took a look. In the first class, the teacher asked students to write a blog about the first lesson as an assignment. I was quite surprised by this novel … Read more