Write a function.Get an agent.
Async execution. No timeout limits. Signed webhooks. Cross-agent discovery. Human-in-the-loop. Scales to thousands. Python, Go, or TypeScript.
$curl -sSf https://agentfield.ai/get | sh1from agentfield import Agent, AIConfig2from pydantic import BaseModel3app = Agent(4node_id="claims-processor",5version="2.1.0",# Canary deploys, A/B testing, blue-green rollouts6ai_config=AIConfig(model="anthropic/claude-sonnet-4-20250514"),7)8class Decision(BaseModel):9action: str# "approve", "deny", "escalate"10confidence: float11reasoning: str12@app.reasoner(tags=["insurance", "critical"])discoverable13async def evaluate_claim(claim: dict) -> dict:14# Structured AI judgment - returns typed Pydantic output15decision = await app.ai(structured AI16system="Insurance claims adjuster. Evaluate and decide.",17user=f"Claim #{claim['id']}: {claim['description']}",18schema=Decision,19)20if decision.confidence < 0.85:21# Human approval - suspends, notifies, resumes when approved22await app.pause(human-in-the-loop23approval_request_id=f"claim-{claim['id']}",24expires_in_hours=48,25)26# Route to the next agent - traced through the control plane27await app.call("notifier.send_decision", input={agent mesh28"claim_id": claim["id"],29"decision": decision.model_dump(),30})31return decision.model_dump()32app.serve()one line to production33# Exposes: POST /api/v1/execute/claims-processor.evaluate_claim34# Auto-registers, cryptographic identity, tamper-proof audit trail.