Skip to content

mfcsorg/mfcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is MFCS?

MFCS (Model Function Calling Standard) is an open-source standard protocol designed to facilitate interaction between LLMs (Large Language Models) and external tools. It defines how to invoke external tools and process their returned results. The protocol primarily addresses the following issues:

  • Compatibility Issues: Different LLMs have inconsistent Function Calling interfaces, requiring repeated adaptation when switching models.
  • Feature Deficiency: Some LLMs (e.g., DeepSeek R1) do not support Function Calling.
  • Development Efficiency: Business development requires adjusting Function Calling logic for different models, increasing maintenance costs.
  • Scalability Limitations: Existing Function Calling solutions have constraints in tool quantity, invocation flexibility, monitoring capabilities, etc.

Overall Architecture

Local Image

MFCS ("Model Function Calling Standard")—here’s a more precise understanding of the architecture diagram:

Architecture Overview

This diagram illustrates a system architecture centered around a large language model (LLM), highlighting the interaction relationships between the LLM and memory modules, model function calling standards (MFCS), as well as various tools and agents.

Detailed Component Explanations

1. Model

The large model serves as the intelligent core of the entire system, such as GPT-4, Deepseek, Qwen, and others. By learning from vast amounts of text data, it acquires capabilities like generating natural language text and understanding user intent.

2. Memory (Memory Module)

The memory module is critical for the LLM. It stores contextual information from conversations, such as previous user queries and model responses. This allows the LLM to reference past interactions when processing new inputs, ensuring more coherent and context-aware replies.

3. MFCS (Model Function Calling Standard)

Model Function Calling Standard (MFCS) is a specification designed to coordinate interactions between LLMs and various tools. It defines how an LLM invokes functions from external tools and processes the returned results. Through MFCS, LLMs can leverage external tools and agent capabilities to enhance their own functionality.

4. Tools

  • MCP: A Model Context Protocol introduced by Claude for third-party tool integration.
  • OpenAPI: Typically refers to open Application Programming Interfaces that enable interaction and data sharing between software systems. In this architecture, the LLM can use MFCS to call OpenAPIs for external services, such as fetching weather data or stock information.
  • Python: As a powerful programming language, Python offers extensive libraries and frameworks. Here, the LLM can use MFCS to execute Python scripts for complex tasks like data analysis or machine learning model training.

5. Agents:

  • A2A (Agent-to-Agent): An open-source protocol designed to enable seamless collaboration between AI agents developed across different frameworks and vendors. MFCS also supports A2A protocol invocation.

  • Coze: A general-purpose agent platform where agents can provide API services. MFCS can invoke agents through open APIs. Note that Coze is just one example - MFCS is a universal standard compatible with any agent platform that offers open APIs.

Interaction Flow

The LLM interacts bidirectionally with memory—reading stored information and writing new data. The combined data from the LLM and memory is processed via MFCS, which then invokes the appropriate tools (e.g., MCP, OpenAPI, Python) to fulfill specific tasks.

This architectural design enables the LLM to harness external tools effectively, expanding its application scope and improving its ability to handle complex tasks.

About

The specification of the Model Function Calling Standard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages