The invention discloses a method and a
system for generating service fulfillment data communication configuration and arrangement based on an AI agent, and the method comprises the following steps: the AI agent analyzes a problem proposed by a user in combination with an LLM to extract keywords, assembles the keywords in combination with a user Prompt project, carries out RAG retrieval query in a local
knowledge graph by using TEXT-to-Cypher, and if the query exists in the
knowledge graph, carries out RAG retrieval query by using the TEXT-to-Cypher, carries out RAG retrieval query by using the TEXT-to-Cypher, and carries out RAG retrieval query by using the TEXT-to-Cypher; if yes, carrying out RAG (
Random Access Gateway) enhanced
system Prompt
engineering; the AI agent is combined with
workFlow to perform task
decomposition according to the questions proposed by the user and the related information of the enhanced systemPrompt
engineering template content, and answers are constructed; the AI agent calls an orchestrator according to the generated
design process content and orchestrates an API in an atomic power
library of configuration content required by service opening; and starting a dynamic parameter generation code and a
jar packet of the API interface according to the configuration issued by each link of the service. According to the method and the
system, when various services are opened, the data communication configuration arrangement content is automatically generated, the external API interface is automatically generated, and a developer only needs to finely adjust the code generated by the AI agent.