MetaAgent: Text Instructions to Agentic Workflows

2025AI Agents
AI AgentsGenerative AIPythonPyTorch

Abstract

Large language models (LLM) augmented workflows offer promising reasoning capabilities, suitable for automating repetitive and time-consuming tasks within corporations. However, AI workflow development or even exploration can be prohibitively expensive, especially for large corporations with hundreds and thousands of procedures described in text documents. We introduce MetaAgent, an AI workflow that automatically processes text documents into executable AI workflow Python code. MetaAgent systematically reads the input text document, generates the agentic tools required to solve the task, visualizes the workflow as a graph data structure, and outputs a complete synthesized Python agentic workflow code in the LangGraph framework. Our results show that the best MetaAgent outperforms state-of-the-art AI agents on task succession by 30% on a typical content flagging process for social platforms. Code is available at Github

MetaAgent Workflow