█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

AgentField

एक ओपन सोर्स कंट्रोल प्लेन, जो एजेंट्स को किसी भी दूसरे API की तरह कॉल करने लायक बनाता है — इनपुट में सादे Python, Go या TypeScript फ़ंक्शन, आउटपुट में REST endpoints, डिस्ट्रिब्यूटेड फ़ैन-आउट और साइन किए गए ऑडिट ट्रेल्स

Agent Frameworks & Buildersओपन सोर्स
भाषा
Go
लाइसेंस
Apache-2.0
$curl -fsSL https://agentfield.ai/install.sh | bash
संक्षेप में

AgentField क्या है?

AgentField एक ओपन सोर्स कंट्रोल प्लेन, जो एजेंट्स को किसी भी दूसरे API की तरह कॉल करने लायक बनाता है — इनपुट में सादे Python, Go या TypeScript फ़ंक्शन, आउटपुट में REST endpoints, डिस्ट्रिब्यूटेड फ़ैन-आउट और साइन किए गए ऑडिट ट्रेल्स. यह Agents & Automation टूल्स की Agent Frameworks & Builders श्रेणी में आता है; ओपन सोर्स है, Go में लिखा गया है और Apache-2.0 लाइसेंस के तहत है।

सारांश

AgentField एक ओपन सोर्स कंट्रोल प्लेन है, जो एजेंट्स को सामान्य बैकएंड सेवाओं की तरह चलाने देता है। आप एजेंट का लॉजिक सादे फ़ंक्शन के रूप में लिखते हैं — कोई DSL नहीं, कोई YAML नहीं, कोई graph वायरिंग नहीं — और प्रोजेक्ट हर फ़ंक्शन को एक REST endpoint में बदल देता है, जिसे आपके स्टैक में मौजूद कुछ भी कॉल कर सकता है: एक frontend, कोई दूसरा backend, एक cron job, या कोई और एजेंट। `app.run()` ही पूरी deployment की कहानी है; `research` नाम का reasoner, जो `researcher` नाम के node पर है, `POST /api/v1/execute/researcher.research` बन जाता है। Python, Go और TypeScript के लिए SDKs मौजूद हैं, और बाकी सब के लिए एक REST API है।

एंडपॉइंट से आगे जो मिलता है, वह वह हिस्सा है जिसे खुद बनाना थकाऊ है। `app.ai()` किसी model को कॉल करता है और Pydantic schema के हिसाब से structured आउटपुट लौटाता है। `app.call()` control plane के ज़रिए किसी दूसरे एजेंट को — या उसी एजेंट को वापस — रूट करता है, और इसी से recursive फ़ंक्शन distributed fan-out में बदल जाता है: README का research उदाहरण एक सवाल को उप-सवालों में तोड़ता है और branches पर `asyncio.gather` चलाता है, जबकि control plane हर branch के लिए queueing, retries और trace संभालता है। `app.pause()` किसी execution को human approval के लिए रोक देता है, एक webhook को सूचना भेजता है, और किसी के मंज़ूरी देने पर उसे फिर से चालू करता है, जिसमें request पर expiry भी लगी होती है।

Control plane खुद एक stateless Go service है। एजेंट्स अपनी क्षमताएँ वहीं से register करते हैं जहाँ वे चलते हैं — laptop, Docker, Kubernetes — और plane उनके बीच calls को रूट करता है, हर execution को DAG के रूप में रिकॉर्ड करता है और policy लागू करता है। Governance को बाद में जोड़ने के बजाय शुरू से बनाया गया है: हर एजेंट को साझा API key की जगह W3C DID मिलता है, हर execution एक verifiable credential बनाता है जिसे आप `af vc verify audit.json` से offline जाँच सकते हैं, और tag-based policy gates ("केवल finance टैग वाले एजेंट ही इसे कॉल कर सकें") prompt से नहीं, बल्कि infrastructure द्वारा लागू होते हैं।

Architecture diagram in three bands: your services (backends, frontends, APIs) calling in over REST and webhooks; the stateless Go control plane with columns for agent runtime and API, agent scale and ops, and agent identity and audit; and a fleet of distributed agent nodes written in Python, TypeScript and Go.
How the three layers fit together — your services call the stateless Go control plane, which routes to a fleet of agent nodes written in whichever of the three SDK languages you prefer.AgentField README ↗

एक prompt से production तक का रास्ता भी है। installer `aforge` coding harness को `af` CLI के साथ इंस्टॉल कर देता है, और Claude Code, Codex, Gemini CLI, OpenCode, Aider, Windsurf या Cursor में `/agentfield` कमांड एक लाइन वाला spec लेकर Docker Compose stack स्कैफ़ोल्ड कर देती है — एजेंट, control plane और एक REST endpoint, जिसे आप तुरंत `curl` कर सकते हैं। नए releases में उसी plane के ऊपर multi-turn coding agents के लिए Harness Orchestration भी जुड़ा है।

यह क्या करता है

  • सादे फ़ंक्शन बन जाते हैं REST endpoints — `app.run()` हर reasoner को `/api/v1/execute/<node>.<function>` पर उपलब्ध कराता है, साथ में Python, Go और TypeScript SDKs
  • डिस्ट्रिब्यूटेड फ़ैन-आउट: `app.call()` control plane से होकर रूट होता है, इसलिए हज़ारों branches में फैली recursion को queues, backpressure, auto-retries और DAG trace मिलते हैं, और इसके लिए अलग से कोई broker सेट करने की ज़रूरत नहीं पड़ती
  • `app.ai()` के ज़रिए घोषित schema के हिसाब से LLM का structured आउटपुट, हर एजेंट के लिए अलग model configuration, और canary, A/B व blue-green rollouts के लिए versioned nodes
  • `app.pause()` के साथ Human-in-the-loop — execution रुक जाता है, webhook चालू होता है, और approval मिलने पर run फिर से शुरू होता है या तय समय के बाद expire हो जाता है
  • Cryptographic identity और audit: हर एजेंट के लिए W3C DID, हर execution के लिए verifiable credentials (`af vc verify`), और control plane द्वारा लागू tag-based policy gates
  • Workflow DAGs, execution traces, agent-fleet health और audit trails के लिए dashboard, साथ में local plane के लिए `af service status` और macOS menu-bar control

शुरू करें

Installer `af` CLI और `aforge` coding harness को ~/.agentfield/bin में रखता है। macOS पर यह control plane को launchd के तहत login पर शुरू होने के लिए रजिस्टर भी करता है और menu-bar आइकन जोड़ता है। इसे `af service stop` से रोकें, न कि `kill` से, क्योंकि उससे यह crash जैसा दिखता है और restart ट्रिगर हो जाता है। menu-bar integration छोड़ने के लिए `--no-tray` और harness छोड़ने के लिए `--no-aforge` पास करें।

CLI और control plane इंस्टॉल करें

bashbash
curl -fsSL https://agentfield.ai/install.sh | bash

एजेंट scaffold करें और plane शुरू करें

एक terminal में server चलाएँ और दूसरे में agent; agent शुरू होते ही अपनी क्षमताएँ control plane में auto-register कर देता है, और dashboard port 8080 पर उठ जाता है।

bashbash
af init my-agent --defaults
cd my-agent && pip install -r requirements.txt
af server          # Terminal 1 → Dashboard at http://localhost:8080
python main.py     # Terminal 2 → Agent auto-registers

इसे किसी भी दूसरी सेवा की तरह कॉल करें

हर reasoner /api/v1/execute/<node_id>.<function> पर पहुँचा जा सकता है। कॉल में AgentField-specific कुछ नहीं है — यह JSON body वाला एक POST request है।

bashbash
curl -X POST http://localhost:8080/api/v1/execute/my-agent.demo_echo \
  -H "Content-Type: application/json" \
  -d '{"input": {"message": "Hello!"}}'
Four panels of the AgentField dashboard: an executions table with durations and verified-credential ticks, an agent fleet list beside a workflow DAG, a health dashboard with agents online and 24-hour execution counts, and an execution debug view offering a cURL retry command.
The dashboard the control plane serves: executions, the agent fleet and live workflow DAGs, health metrics, and a per-execution debug view that hands you the cURL to retry it.AgentField README ↗

एजेंट को सामान्य फ़ंक्शन के रूप में लिखें

`app.ai()` आपके घोषित schema के हिसाब से structured आउटपुट लौटाता है, और `app.call()` control plane से होकर वापस रूट होता है — इसी से यह recursion सीमित, traced और distributed fan-out में बदल जाती है।

pythonpython
import asyncio
from agentfield import Agent, AIConfig
from pydantic import BaseModel

app = Agent(
    node_id="researcher",
    version="1.0.0",
    ai_config=AIConfig(model="anthropic/claude-sonnet-4-20250514"),
)

class SubQuestions(BaseModel):
    questions: list[str]

@app.reasoner(tags=["research"])
async def research(question: str, depth: int = 0, model: str | None = None) -> dict:
    if depth >= 3:  # depth cap keeps fan-out bounded
        answer = await app.ai(system="Answer directly and concisely.", user=question, model=model)
        return {"question": question, "answer": answer}

    plan = await app.ai(
        system="Break this into 3-5 independent sub-questions.",
        user=question, schema=SubQuestions, model=model,
    )

    branches = await asyncio.gather(*[
        app.call(f"{app.node_id}.research", question=q, depth=depth + 1, model=model)
        for q in plan.questions
    ])

    synthesis = await app.ai(system="Synthesize these findings.", user=str(branches), model=model)
    return {"question": question, "answer": synthesis, "branches": branches}

app.run()

या सिस्टम का वर्णन करें और coding agent को उसे बनाने दें

`/agentfield` कमांड Claude Code, Codex, Gemini CLI, OpenCode, Aider, Windsurf और Cursor में काम करती है। यह एक Docker Compose stack लौटाती है, जो शुरू से आखिर तक जुड़ा होता है — एजेंट, control plane और एक REST endpoint, जिसे तुरंत curl किया जा सकता है।

टेक्स्टटेक्स्ट
/agentfield Build a claims processor with risk scoring, pattern detection,
and human approval for low-confidence decisions.

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • इसे तब अपनाएँ जब एजेंट को आपके स्टैक के बाकी हिस्सों — एक frontend, cron job, या किसी दूसरी सेवा — से कॉल होने लायक होना हो, न कि किसी एक chat loop के भीतर बंद रहना हो
  • इसे तब अपनाएँ जब एक ही request को सैकड़ों या हज़ारों sub-tasks में बाँटना हो और पहले broker, queue और retry policy खड़ी करने का मन न हो
  • इसे तब अपनाएँ जब workflow में execution के बीच कम भरोसे वाले फ़ैसलों पर किसी इंसान की मंज़ूरी चाहिए, और run खोए बिना ऐसा करना हो
  • इसे तब अपनाएँ जब compliance को हर एजेंट की अलग identity, हर execution की offline-verifiable रसीद, और prompt के शब्दों की जगह infrastructure द्वारा लागू policy चाहिए

How AgentField compares

AgentField alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
DeepSeek Harness★ 290kDeepSeek का ओपन एजेंट हार्नेस, जहाँ हर क्षमता एक प्लगइन है
AutoGPT★ 188kदोबारा इस्तेमाल होने वाले ब्लॉक्स से निरंतर AI एजेंट बनाएं, डिप्लॉय करें और चलाएं
DeerFlow★ 86.1kसब कुछ पहले से शामिल सुपर एजेंट हार्नेस, जिसमें स्किल्स, सब-एजेंट्स, सैंडबॉक्स और मेमोरी हैं
nanobot★ 50.5kWebUI, मेमोरी, MCP और चैट ऐप्स वाला सेल्फ-होस्टेड पर्सनल एजेंट रनटाइम
LangGraph★ 45.7kलंबे समय तक चलने वाले, stateful AI agents बनाने के लिए low-level orchestration framework
Agno★ 43.4kAI agent प्लेटफ़ॉर्म बनाने, चलाने और मैनेज करने के लिए Python SDK
AgentGPT★ 36.3kब्राउज़र में ही ऑटोनॉमस AI एजेंट बनाएं, कॉन्फ़िगर करें और डिप्लॉय करें
AgentField★ 2.7kएक ओपन सोर्स कंट्रोल प्लेन, जो एजेंट्स को किसी भी दूसरे API की तरह कॉल करने लायक बनाता है — इनपुट में सादे Python, Go या TypeScript फ़ंक्शन, आउटपुट में REST endpoints, डिस्ट्रिब्यूटेड फ़ैन-आउट और साइन किए गए ऑडिट ट्रेल्स