Agent-Field/agentfield
A Go control plane and SDKs for running AI agents as callable services
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
AgentField separates a stateless Go control plane (control-plane/) from independently deployed workers built with Python, Go, or TypeScript SDKs. Workers register named functions at startup. The control plane routes REST requests and app.call() invocations to registered workers, applies access policy, and tracks each run as an execution DAG.
The DAG records what ran rather than prescribing a graph developers must wire up. In the Python SDK, @app.reasoner() exposes model-backed logic, @app.skill() exposes deterministic code, and app.run() publishes the functions as REST endpoints. Composition stays in ordinary code: concurrent app.call() invocations can fan out across workers, including back to the same registered function.
Key Capabilities & Differentiators
app.ai() accepts structured output schemas, with Pydantic and Zod shown as SDK options. Multi-turn coding tasks go through app.harness(), with CodeAF as the default and adapters including Claude Code and Codex. Queues, retries, webhooks, and SSE support asynchronous runs; app.pause() suspends execution for approval and lets it resume once approved.
Built-in memory combines key-value access and embedding similarity search, with metadata filtering and change handlers across global, actor, session, and workflow scopes. This state layer does not require Redis. Agent identity, access policy, and signed call records complement DAGs, metrics, and traces: they help establish which agent made a call and reconstruct how execution unfolded, but do not attest to the correctness of a model's output.
Trade-offs & Limitations
Compared with LangGraph's explicit state graph, AgentField gives teams a service boundary with discovery, policy, and tracing, while leaving coordination and fan-out limits in application code. It is a stronger fit when multiple services need to call independently deployed workers than when one process owns the entire agent loop. Queues and retries are useful, but they do not establish Temporal-style deterministic replay guarantees.
The documented routing estimate is about 100–200 ms per cross-agent hop, so keep short operations together when latency matters. Stateless control-plane replicas can sit behind a load balancer, but admission queues are bounded and in-process: callers should honor Retry-After on 429 or 503. On graceful shutdown, in-flight executions terminate with control_plane_shutdown. Test rollout behavior and make retried side effects idempotent rather than assuming transparent recovery.
Hardware & Deployment Guide
For a local Python trial, scaffold with af init my-agent --defaults, install requirements.txt, then run af server and python main.py separately. The dashboard defaults to localhost:8080. Go and TypeScript scaffolds use --language go or --language typescript and their respective toolchains. The Docker image agentfield/control-plane:latest starts only the control plane; use Compose to run a combined stack or the Kubernetes deployment guide for cluster setups.
The v0.1.147 release offers installer and manual binary paths; the v0.1.147-rc.12 prerelease documents a separate staging setup and a prerelease Python SDK. The installer includes CodeAF unless passed --no-codeaf. Self-hosting places the control plane on your infrastructure but does not make external model calls offline. Size the control plane for admission and concurrency, and size workers separately for tools and inference; there is no fixed GPU requirement for the control plane.
app.call() routes between workers, and the control plane records each run as a DAG.429 or 503 and Retry-After.app.pause() suspends a run for human approval.Teams exposing independently deployed AI workers to backend services, with shared routing, execution tracing, and approval gates for workflows such as claims triage.
A single in-process agent loop is enough, your workflow requires deterministic replay, or your latency budget cannot absorb frequent cross-worker hops.
Quick Start & Installation
curl -fsSL https://agentfield.ai/install.sh | bash
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agentfield ★ | 2.7k | +17 | Go | Apache-2.0 | A Go control plane and SDKs for running AI agents as callable services |
| langchain | 150.4k | +299 | Python | MIT | Modular Python framework for building agents across model providers |
| ruflo | 82.8k | +312 | TypeScript | MIT | A TypeScript orchestration layer for coding agents, with shared memory and MCP |
| pydantic-ai | 21.5k | +95 | Python | MIT | Typed Python agent SDK for reusable tools, model fallback, and realtime voice. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Agent-Field/agentfield.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agentfield
How does an existing backend invoke an AgentField worker?
/api/v1/execute/<node>.<function> over HTTP, while workers use app.call() to invoke registered functions through the control plane.Do I need a GPU, and how should I size a self-hosted deployment?
Can I self-host AgentField commercially, and does that keep all data local?
When should I choose AgentField over LangGraph or Temporal?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy