InfiAgent क्या है?
InfiAgent एक लंबी अवधि वाला agent framework, जहाँ agents YAML configs होते हैं और state files में रहती है, ताकि tasks कई दिनों तक चल सकें और crash के बाद फिर से शुरू हो सकें. यह Agents & Automation टूल्स की Agent Frameworks & Builders श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और GPL-3.0 लाइसेंस के तहत है।
सारांश
InfiAgent, जिसे MLA (Multi-Level Agent) भी कहा जाता है, एक Python framework है, जो बहुत लंबे समय तक चलने वाले जटिल tasks के लिए agents बनाता है। Agent classes लिखने के बजाय आप YAML में एक agent system का वर्णन करते हैं: अलग-अलग levels पर agents का एक tree (level-3 orchestrator, level-2 specialists, level-1 executors, level-0 tool definitions और level -1 judge), जिनमें से हर एक का अपना prompt और न्यूनतम tool set होता है। Repository में दो तैयार systems आते हैं: `Researcher`, एक multi-level hierarchy जो literature search, experiments, figures और LaTeX paper writing चलाती है, और `OpenCowork`, एक सरल संरचना वाला computer-work assistant जो चुने हुए workspace में folders व्यवस्थित करने, slide decks बनाने, invoices process करने और code लिखने का काम करता है।

README में बताया गया डिज़ाइन लक्ष्य मॉडल को 'अगले चरण के लिए छोटा लेकिन उच्च-मूल्य वाला context' देना है। हर आउटपुट (scrape किए गए pages, parse किए गए PDFs, sub-agents के नतीजे) बातचीत में वापस लौटाने के बजाय file system में लिखा जाता है। कोई agent केवल अपनी हाल की कार्रवाइयाँ रखता है, जबकि एक अलग thinking module समय-समय पर workspace की स्थिति का सारांश बनाता है, इसलिए framework बढ़ते chat history को compress करने पर निर्भर नहीं रहता। लंबे दस्तावेज़ `answer_from_pdf` जैसे tools के ज़रिए क्वेरी किए जाते हैं, पूरे लोड नहीं किए जाते, और shared context में डाला गया call graph हर agent को उसके अपने दायरे में रखता है।
State एक portable data root के अंतर्गत atomic writes के साथ सहेजा जाता है, इसलिए crash, network error या Ctrl+C से रुका हुआ task `/resume` से फिर शुरू किया जा सकता है, और उसी workspace में दोबारा लॉन्च करने पर agent को वहाँ के पिछले tasks की memory मिलती है। Models LiteLLM के ज़रिए इस्तेमाल होते हैं, जिसमें `llm_config.yaml` में सेट किया गया per-agent model चुनाव और multi-provider failover शामिल है, और agents ऐसे skills लोड कर सकते हैं जो Agent Skills open standard का पालन करते हैं। Version 3.13 से parent agent child agent के कई instances को parallel में spawn कर सकता है, उनके नतीजे इकट्ठा कर सकता है या उन्हें रद्द कर सकता है। Runtime PyPI से `infiagent` के रूप में इंस्टॉल होता है, जिसमें CLI, IDE plugins के लिए JSONL streaming mode और Python SDK शामिल हैं; एक Docker image model setup, sessions, files और token usage के लिए developer console चलाती है। यह project GPL-3.0 लाइसेंस के तहत है और arXiv paper 'InfiAgent: An Infinite-Horizon Framework for General-Purpose Autonomous Agents' (2601.03204) में इसका वर्णन है।
यह क्या करता है
- YAML में पूरी तरह परिभाषित agent systems: orchestrators, specialists, executors, tools और एक judge agent का multi-level tree
- File-centric context: आउटपुट workspace में जाते हैं और एक periodic thinking step state का सारांश बनाता है, chat history को compress करने के बजाय
- Crash-safe, resumable tasks: atomic state writes के साथ, और sessions के बीच workspace-scoped memory
- Agent Skills open-standard सपोर्ट: skill folders को skills library में डालें, और agents उन्हें ज़रूरत पड़ने पर लोड करते हैं
- हर agent के लिए model चुनाव और LiteLLM के ज़रिए multi-provider failover, जो llm_config.yaml में सेट होता है
- Human-in-the-loop prompts और वैकल्पिक per-tool confirmation वाला interactive CLI, JSONL streaming mode और Python SDK
शुरू करें
InfiAgent 3.13 के लिए Python 3.10 या उसके बाद का वर्शन चाहिए। सबसे तेज़ शुरुआत प्रकाशित Docker image से होती है, जिसमें Python runtime, browser और document tools बंडल हैं और developer console चलता है; सादा pip install भी काम करता है। दोनों तरीकों में आपकी configuration, tasks और workspaces `user_root` directory में रहते हैं।
Docker से developer console चलाएं
फिर http://localhost:4260 खोलें, model API configuration dialog में अपने model names, API URLs और keys डालें, एक agent system और agent चुनें, और एक task बनाएं।
mkdir -p user_root
docker run -d --name infiagent \
-p 127.0.0.1:4260:4260 \
-v "$PWD/user_root:/data/user_root" \
chenglinhku/mlav3:3.13.0
या PyPI से इंस्टॉल करें
infiagent-runtime वही console लोकल रूप में शुरू करता है; browser में models कॉन्फ़िगर करें, फिर उसी user_root के साथ CLI या Python SDK इस्तेमाल करें।
pip install infiagent==3.13.0
infiagent-runtime --user-root ./user_rootहर भूमिका के लिए models कॉन्फ़िगर करें
Execution, thinking, context compression, vision और image generation एक ही connection साझा कर सकते हैं, या हर एक अपना अलग connection इस्तेमाल कर सकता है। यही settings config/llm_config.yaml में भी रहती हैं।
api_key: "your-api-key"
base_url: "https://your-provider.example/v1"
models:
- "openai/your-execution-model"
thinking_models:
- "openai/your-thinking-model"
compressor_models:
- "openai/your-compression-model"Interactive CLI शुरू करें
Agents बदलने के लिए @agent_name और रुकी हुई task जारी रखने के लिए /resume इस्तेमाल करें।
mla-agent --cli
या script से task चलाएं
mla-agent \
--task_id /path/to/workspace \
--user_input "Your task description" \
--agent_name alpha_agentPython SDK के साथ इसे embed करें
from infiagent import infiagent
agent = infiagent(
user_data_root="/abs/path/to/my_root",
default_agent_system="Researcher",
default_agent_name="alpha_agent",
)
result = agent.run(
"Write a survey paper on Transformers",
task_id="/abs/path/to/tasks/transformer_survey",
)
print(result["status"], result["output"])कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।
कब इस्तेमाल करें
- एक research pipeline शुरू से अंत तक चलाएं (literature search, experiments, figures और LaTeX paper), जो कई घंटों या दिनों में पूरी हो

- किसी assistant को एक काम करने वाला folder दें, जो files व्यवस्थित करे, slide decks बनाए या invoices छांटे, और उस folder में पिछले tasks की memory रखे

- YAML prompts और tool lists बदलकर domain-specific agent बनाएं, agent code लिखे बिना
- JSONL stream या Python SDK के ज़रिए IDE plugin या dashboard से लंबे समय तक चलने वाला agent नियंत्रित करें
वर्शन इतिहास
Every verified update to InfiAgent that AI/TLDR tracked, newest first — each links to our coverage and the official changeset.
- 12 नव॰ 20263.13.0
Bounded parallel child agents with background execution, collection and cancellation, local shared workspaces, and a Docker developer console on port 4260 with five model roles (execution, thinking, compression, vision, image generation) and a token usage panel. Python 3.10+ is now required; the repository moved to the polyuiislab-admin GitHub account.
- 11 जुल॰ 20263.12.24
Backend runtime published to PyPI as `infiagent`, with crash-safe atomic state writes, a concurrency-safe experience store and multi-provider LLM failover; the desktop app and other application layers moved out of the repository.
How InfiAgent compares
InfiAgent alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.
| टूल | स्टार | यह क्या करता है |
|---|---|---|
| DeepSeek Harness | ★ 290k | DeepSeek का ओपन एजेंट हार्नेस, जहाँ हर क्षमता एक प्लगइन है |
| AutoGPT | ★ 188k | दोबारा इस्तेमाल होने वाले ब्लॉक्स से निरंतर AI एजेंट बनाएं, डिप्लॉय करें और चलाएं |
| DeerFlow | ★ 86.1k | सब कुछ पहले से शामिल सुपर एजेंट हार्नेस, जिसमें स्किल्स, सब-एजेंट्स, सैंडबॉक्स और मेमोरी हैं |
| nanobot | ★ 50.5k | WebUI, मेमोरी, MCP और चैट ऐप्स वाला सेल्फ-होस्टेड पर्सनल एजेंट रनटाइम |
| LangGraph | ★ 45.7k | लंबे समय तक चलने वाले, stateful AI agents बनाने के लिए low-level orchestration framework |
| Agno | ★ 43.4k | AI agent प्लेटफ़ॉर्म बनाने, चलाने और मैनेज करने के लिए Python SDK |
| AgentGPT | ★ 36.3k | ब्राउज़र में ही ऑटोनॉमस AI एजेंट बनाएं, कॉन्फ़िगर करें और डिप्लॉय करें |
| InfiAgent | ★ 1.2k | एक लंबी अवधि वाला agent framework, जहाँ agents YAML configs होते हैं और state files में रहती है, ताकि tasks कई दिनों तक चल सकें और crash के बाद फिर से शुरू हो सकें |

