agentfield-sdk

agentfield-sdk is a skill for Claude Code, Codex from Agent-Field/agentfield. It costs 119 tokens per session (3,368 once invoked), scanned B, original, Apache-2.0.

A reference skill for building AI agents as backend services with the AgentField Python and TypeScript SDKs. It covers agent setup, REST calls, communication between agents, approvals, identity, access policies, memory, and audit records.

In plain words
What is it for?
Use it to create agents in Python, TypeScript, or Go, expose them through REST, run calls synchronously or asynchronously, connect agents, request human approval, and configure identity, policy, and audit features.
Why use it?
It gives developers the concepts and examples needed to connect agent functions to a control service instead of designing the service interface and operational rules from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create agents in Python, TypeScript, or Go, expose them through REST, run calls synchronously or asynchronously, connect agents, request human approval, and configure identity, policy, and audit features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent-field/agentfield/agentfield-sdk
About the project

AgentField is an open-source control plane that turns AI-agent code into callable APIs and coordinates its execution across workflows. Developers use it to route, queue, retry, trace, and scale agents written in Python, Go, or TypeScript, from individual agents to large fan-outs. Catalogue add-ons support working with AgentField and its agent-building workflow.

Agent-Field/agentfield · 2,674 stars · on GitHub · agentfield.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Agent-Field/agentfield --skill agentfield-sdk
Clone the repo
git clone --depth 1 https://github.com/Agent-Field/agentfield

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agentfield-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent-field/agentfield/agentfield-sdk/github.svg)](https://agentmods.dev/skills/agent-field/agentfield/agentfield-sdk)
Your own site
<a href="https://agentmods.dev/skills/agent-field/agentfield/agentfield-sdk"><img src="https://agentmods.dev/badge/skills/agent-field/agentfield/agentfield-sdk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agentfield-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent-field/agentfield/agentfield-sdk"><img src="https://agentmods.dev/badge/skills/agent-field/agentfield/agentfield-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.03368
Opus 5.5 $0.00048 $0.01347
Sonnet 5.5 $0.00024 $0.00674
Haiku 4.5 $0.00012 $0.00337

Measured 7d ago against content hash 3c58e5dad2e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

agentfield-sdk scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://agentfield.ai/install.sh | bash # the `af` CLI and control plane

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://agentfield.ai/install.sh | bash # the `af` CLI and control plane
skills/agentfield-sdk/SKILL.md · 299 lines

How it starts

The opening of the file, as written. The whole thing — 299 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Building agents with AgentField

AgentField is an open-source (Apache-2.0) framework for running AI agents as backend services. You write agents as ordinary Python, TypeScript or Go functions; a Go control plane routes every call between them, records each run, and exposes each agent function as a REST endpoint. Durable async execution, retries, human approval, shared memory, per-agent cryptographic identity (W3C DIDs), tag-based access policies and verifiable-credential audit trails are part of the framework, not add-ons.

Vocabulary used everywhere in the SDKs, CLI and API:

Term Meaning
control plane The af server process (default http://localhost:8080). Routes calls, stores runs, serves the dashboard.
agent / node One process built with the SDK, identified by node_id. It registers with the control plane on start.
reasoner An agent function that usually calls an LLM (@app.reasoner() / agent.reasoner(...)).
skill A deterministic agent function, no LLM (@app.skill()).
execution One call of a reasoner or skill. Has an execution_id; a tree of them shares a run_id.

Endpoint names are <node_id>.<function>. A function registered through a router with prefix="demo" is exposed as <node_id>.demo_<function>.

Install

curl -fsSL https://agentfield.ai/install.sh | bash   # the `af` CLI and control plane
pip install agentfield                               # Python SDK
npm install @agentfield/sdk                          # TypeScript SDK

Scaffold a project instead of writing one by hand (from the repository README):

af init my-agent --defaults                            # Scaffold agent
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
# Go
af init my-agent --defaults --language go && cd my-agent && go run .

# TypeScript
af init my-agent --defaults --language typescript && cd my-agent && npm install && npm run dev

Read the full file on GitHub · 299 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 299 lines · 119 tokens per session scan B 3c58e5dad2e1

Subscribe to this mod's changes

agentfield-sdk is a skill published in the GitHub repository Agent-Field/agentfield (2,674 stars, last pushed 2d ago), licensed Apache-2.0. It adds 119 tokens to every session and 3,368 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

agentfield-sdk compared with skills from other repositories

agentfield-sdk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentfield-sdkAgent-Field/agentfieldSkill2.7k2d agoApache-2.0B119Claude Code, Codex
vllmPrism-Shadow/penguin-harnessSkill3.4ktodayApache-2.0B29Claude Code, Codex
data-fetchingIntelligent-Internet/ii-agentSkill3.4k3mo agoApache-2.0B41Claude Code, Codex
LLMjjyaoao/HelloAgentsSkill3.5k1mo agononeA59Claude Code, Codex
Skill: Verify server/API changes (example for Verify skill)openonion/connectonionSkill1.6ktodayApache-2.0A28Claude Code, Codex
Telephonyagentic-in/elephant-agentSkill5863mo agononeA45Claude Code, Codex
GIF Searchagentic-in/elephant-agentSkill5863mo agononeA26Claude Code, Codex