Tutorials
Hands-on guides for building on AgentField. Each one ships runnable code.
21 tutorials · since 2026jul 2026Your personal control planeRun AgentField in local mode on your own laptop or homelab, register one agent, and call it over HTTP. This is the substrate the rest of the personal stack builds on.4 minjul 2026Thinking in reasonersThe capstone mental model for the personal stack. Five habits that turn a pile of prompts into a system, each shown as a small before and after, with the one table you need for deciding between app.ai and app.harness.6 minjul 2026Simulate a market with 200 agentsA market simulation where 200 trader reasoners read a shared order book from global memory, decide with a cheap model, and post orders back every round, while an orchestrator fans them out and code clears the price, all watchable live in the dashboard DAG.6 minjul 2026The deployment that promotes itselfA self-tuning rollout deploys a new agent version at a small traffic weight, then an operator agent polls per-version failure rates and shifts weight itself, promoting on wins and rolling back on regressions.5 minjul 2026Agents that wake up when data changesDeclare @app.memory.on_change("order_*") and a handler fires whenever a matching key changes, written by any agent, in any scope. No cron, no broker, no consumer groups.5 minjul 2026Pipelines that build themselvesAn intake reasoner reads the input, decides which analysis dimensions it actually needs, then the orchestrator spawns exactly those specialists with prompts written at runtime, so the pipeline shape is a trace of what happened rather than a graph declared upfront.5 minjul 2026One control plane for XGBoost and agentsWrap a trained XGBoost model as a skill, serve 95% of traffic in milliseconds, and cascade the low-confidence remainder to a reasoner. Same tracing, same DAG, one ops story.5 minjul 2026A nightly maintenance fleet for your reposOne scheduled reasoner that clones your repos at 3am, runs a budget-capped coding agent on each, and leaves a morning summary and a stack of ready PRs behind an approval gate.7 minjul 2026From LangGraph prototype to productionThe mechanical path from a LangGraph StateGraph that works in a notebook to reasoners other services can call, retry, and run for 40 minutes.5 minjul 2026Human approval gates in 20 linesSuspend a running agent on a low-confidence decision, notify a reviewer, and resume exactly where it stopped. The wait state lives in the control plane, so it survives restarts.5 minjul 2026Fan out 1,000 parallel agents from one requestA recursive reasoner that decomposes a question and calls itself in parallel through the control plane, depth-capped, with queueing and tracing handled for you.4 minjul 2026Claude Code as a functionCall a multi-turn coding agent like Claude Code from your backend with a dollar budget cap, a turn limit, restricted tools, and typed output.4 minjul 2026Build your own personal assistantA reasoner with per-chat memory that reaches your other agents, plus a 70-line Telegram bridge you own. Text your personal stack from your phone.5 minjul 2026Approve your agents from your phoneNotify yourself when an agent pauses, then approve or reject it with one tap from a lock screen. A five-line notify plus a twenty-line signed handler turns any pause into a phone gate.7 minjul 2026An agent that ships new versions of itselfA self-improvement loop where a production agent records its own failures to memory, an improver agent reads them and writes a revised prompt, and that prompt ships as a new version the self-tuning rollout then canaries behind a human gate.5 minjul 2026Agents that run for three daysFire an agent with one POST, close the connection, and get a signed webhook when it finishes hours or days later, backed by a durable PostgreSQL queue with retries.4 minjul 2026The agent that finds its own toolsA reasoner that calls app.ai(tools="discover") sees every capability registered on the mesh at call time and invokes what it needs, so deploying a new agent tonight makes it callable by tomorrow with zero redeploys.5 minjul 2026Agents that debug agentsA workflow fails at 2am. Instead of a human paging through logs, an operator agent fetches the failed DAG, diagnoses the root cause, and drafts a fix behind an approval gate while you sleep.6 minjul 2026Add an agent mesh to your existing FastAPI or Next.js appDeploy a reasoning agent as a sidecar service and call it over REST from the app you already have. No framework adoption, no rewrite.3 minjul 2026How we ran a 250-agent security audit for 90 centsA full security audit that runs 166 to 255 agent calls and confirms 28 exploitable findings costs between 18 and 90 cents, because each call is small, routed to the right model, and capped.5 min