Forward deployed AI engineering: shipping production agents in 5 days
Forward deployed AI engineering: shipping production agents in 5 days
Direct answer: Forward deployed AI engineering replaces open-ended prompt experiments with a five-day production cutover: scope failure budgets on Day 1, build a golden CLI eval suite on Day 2, package scoped MCP and SKILL.md modules on Day 3, isolate tenant runtimes with hard spend caps on Day 4, and hand over verifiable telemetry receipts on Day 5.
Every engineering team can wire a chat completion call to three tools in an afternoon. Almost all of those prototypes stall before reaching a single live customer workflow because nobody knows what happens when an upstream API returns HTTP 429, a tool schema drifts, or an agent retries a write operation three times.
Operating multi-agent fleets across live repositories taught us a blunt lesson on FrankX and Starlight Intelligence. When coding agents merge pull requests without independent cross-harness review, silent regressions and repeated rewrites accumulate fast. Trust collapses without verification boundaries.
This guide lays out the exact five-day field protocol we use to take an ambiguous customer bottleneck from whiteboarding to an audited production runtime. Start with the forward deployed engineer hub for role shortcuts, or read straight through for the complete implementation blueprint.
Why demos stall at production
Customer environments punish assumptions that pass in a clean sandbox:
- Permission sprawl: A demo uses an admin API token; production requires read-only defaults, per-action allowlists, and human approval before any spend, deletion, or external send.
- Context bloat: Dumping 40 MCP tool schemas into turn zero burns tens of thousands of tokens before the user types a sentence, pushing reasoning quality down.
- Unmeasured drift: Without a golden eval fixture running on every commit, a harmless wording edit quietly breaks structured JSON output three days after launch.
- No rollback boundary: When an agent mutates files or database rows without commit-SHA receipts or idempotency keys, recovery turns into manual archaeology.
Fixing these four failures takes engineering discipline rather than bigger models.
The 5-day field deployment protocol
Living Architecture · starlight.living_architecture.v1
Forward-Deployed AI Engineering System
5-day isolated customer delivery loop from failure spec to verified portable handover.
Selected Node · human
FDE & Customer Owner
Defines allowed actions, hard dollar ceilings, and human approval triggers.
- Protocol:
- ADR + SLA Contract
- Auth boundary:
- No customer PII leaves tenant environment
- Fallback:
- Escalate ambiguous permissions before implementation
Executive Brief
Ships production customer agents inside isolated tenant runtimes while proving reliability against 20-50 golden scenarios before cutover.
- • p95 latency target: 3200 ms · Cost: Tenant-metered BYOK
- • Boundary: Client credentials and data remain inside tenant Workers/VPC custody.
- • Gate: Live production cutover requires signed FDE + Customer Tech Lead approval.
| Day | Phase | Concrete engineering action | Exit gate before advancing |
|---|---|---|---|
| Day 1 | Scope & failure budget | Map the exact human workflow, data boundaries, latency target, and forbidden write actions. | Signed 1-page spec naming allowed tools, human-gated actions, and max daily spend. |
| Day 2 | Golden eval harness | Capture 20–50 anonymized customer inputs and write deterministic assertions plus an independent judge check. | Reproducible CLI test command exits 0 on baseline fixtures. |
| Day 3 | Scoped skills & MCP | Package domain instructions into progressive-disclosure SKILL.md files and typed MCP endpoints. | @frankxai/mcp-doctor check clean; zero secrets or raw positional arg bugs. |
| Day 4 | Isolated runtime & caps | Deploy either BYOK local install or an isolated Cloudflare Workers tenant with circuit breakers. | Forced timeout, quota exhaustion, and permission-denial tests pass. |
| Day 5 | Receipts & handover | Wire structured run logs, diff/SHA attribution, and a one-command rollback runbook. | Customer engineer reproduces setup and triggers a clean rollback independently. |
Day 1: Define the failure budget first
Before writing a single prompt, sit with the operator who owns the broken queue and record three lists:
- Read surfaces: Exactly which repositories, SQL views, or document stores the agent may inspect.
- Reversible writes: Actions an agent can execute autonomously inside a sandbox or draft state (opening a draft PR, writing a staged report, validating a schema).
- Human-gated actions: Anything irreversible or externally visible—moving money, modifying IAM permissions, rotating DNS, emailing customers, or merging to production without independent review.
Document those boundaries in a machine-readable contract inside the target repository so runtime guards enforce them mechanically rather than relying on polite system-prompt reminders.
Day 2: Build a golden eval suite before tuning prompts
If a workflow cannot be scored from the command line in under two minutes, it will rot as soon as you leave the client site.
Structure every engagement eval around three tiers:
- Deterministic structural checks: Valid JSON schema, exact file path constraints, zero leaked tokens, zero forbidden copy patterns, and bounded response length.
- Tool-call trajectory assertions: Did the agent call read-only lookup tools before mutating state? Did it stop cleanly when an upstream dependency returned an error?
- Independent judge scoring: Send the diff or output packet to a separate model family with a crisp pass/fail rubric for edge cases where regex cannot judge accuracy.
Keep the fixture suite inside the repo (tests/evals/) so CI blocks regressions automatically. See Anatomy of a production skill for a concrete breakdown of eval-backed skill folders.
Day 3: Progressive disclosure and MCP security
Modern agent deployments routinely choke on their own tool definitions. Anthropic Engineering demonstrated in November 2025 that exposing MCP servers as on-demand code APIs instead of loading full tool schemas up front reduced token overhead from 70,000 tokens down to roughly 800 tokens—a 98% reduction in context tax.
Apply the same rule to your knowledge corpus and skills:
Turn 0 (Minimal Index)
├── Skill catalog (~30 lines: name + trigger condition)
└── Core safety contract (read-only vs human-gated actions)
│
▼ (Triggered only when task matches)
On-Demand Load
├── Full SKILL.md workflow + schema
├── Single-level index → exact passage retrieval
└── Typed Streamable HTTP MCP call (OAuth-scoped)
For external client deployments over Model Context Protocol, prefer hosted Streamable HTTP with OAuth over distributing long-lived static keys inside stdio configs, which easily leak across developer laptops. Before shipping any config, validate transport health and schema hygiene with mcp-doctor and inspect proven module layouts in claude-skills-library.
Day 4: Isolated execution, BYOK, and edge tenants
Choose between two clean runtime boundaries depending on who operates the workflow:
| Runtime model | Best fit | Billing & security boundary | Rollback & custody |
|---|---|---|---|
| Install-first BYOK | Developer tools, coding agents, local research packs | Runs inside customer's Claude Code, Codex, or Cursor with customer API keys; zero vendor inference bill. | Git branches, worktrees, and local repo history stay 100% with the buyer. |
| Isolated Cloudflare Tenant (staged roadmap) | Planned for always-on webhooks and team pipelines | Cloudflare Workers for Platforms isolates each customer worker with hard token/spend caps (waitlist-gated). | Customer owns data export and tenant deletion; every run emits a signed receipt. |
Never mix customer state inside a shared global vector store or run customer compute off your own uncapped API key without hard rate limits and prepaid billing gates.
Day 5: Verification receipts and clean handover
On the final day of a deployment sprint, verify three operational behaviors under failure injection:
- Upstream outage test: Simulate a 503 response from the LLM or database API. Confirm the workflow fails closed with a clear diagnostic log instead of writing partial junk.
- Cross-harness review test: If the agent opens pull requests or modifies production config, confirm an independent reviewer (human or distinct model family) signs off the exact commit SHA before promotion.
- Cold-start handover: Have a customer engineer who did not pair with you run the setup script, execute the eval suite, and inspect a run receipt in under 15 minutes.
Every real deployment also benefits from explicit sibling reading on production agentic AI system patterns and A2A agent card specifications.
Next step
- Engineers building in the open: Browse working skill definitions and evaluation scripts in
claude-skills-libraryor start from the Forward Deployed Engineers hub. - Teams adopting structured packs: Inspect the Playbooks catalog for multi-agent operations patterns.
- Founders scaling delivery: Read The AI-native company architecture or request updates on the waitlist.
Audience decisions
One call per audience. The source on the row is the page the call has to survive.
| Audience | Call | Why | Source |
|---|---|---|---|
| Forward deployed engineers deploying customer workflows | Adopt | Pairing isolated execution with deterministic CLI evals and Streamable HTTP MCP boundaries eliminates silent production drift during fast five-day sprints. | modelcontextprotocol.io/specification/2025-06-18/changelog |
| Teams loading 30+ raw MCP tool schemas into every prompt turn | Skip | Loading full schemas into turn zero wastes context budget and degrades tool-selection accuracy; progressive disclosure or code-execution wrappers scale cleanly. | www.anthropic.com/engineering/code-execution-with-mcp |
| Multi-tenant SaaS operators running customer agent workloads | Adopt | Per-customer isolation on Cloudflare Workers for Platforms prevents noisy-neighbor compute leakage and keeps billing caps enforceable at the edge. | developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/ |
Frequently asked questions
What separates a forward deployed AI engineer from a standard prompt builder?
A forward deployed engineer works directly inside messy customer repositories, permissions, and legacy APIs to leave behind an audited system with eval coverage, hard spend ceilings, and a documented rollback path.
How do you prevent MCP tool definitions from exhausting context windows?
Expose a compact skill index up front and load full schemas or code-execution wrappers on demand, reducing upfront schema tokens sharply compared to loading dozens of raw JSON schemas in turn zero.
Why separate the model that edits code from the model that verifies it?
When one harness writes and self-approves its own pull requests, silent regressions accumulate. Binding verification to a different harness or model family against the exact commit SHA catches broken invariants before production.
Where should multi-tenant customer agents run?
Run developer tools in the buyer's own harness on their own keys when possible. When hosting multi-tenant workflows, isolate each customer inside its own Cloudflare Workers sandbox with explicit spend caps and export controls.
What artifacts must exist on Day 5 before customer sign-off?
A passing golden eval suite against real anonymized inputs, a scoped MCP or skill manifest verified by @frankxai/mcp-doctor, structured telemetry receipts, and a tested rollback runbook.
Keep learning
Continue in the Learn Hub
Curated videos, official docs, and expert channels for the platforms this guide touches.
Claude & Anthropic Mastery
A short, video-led introduction to prompting Claude and to Claude Code, from Anthropic's own videos plus one independent setup tutorial.
Codex & OpenAI Agent Mastery
Master OpenAI Codex for agentic software work: setup, local CLI workflows, AGENTS.md, code review, and production-ready iteration.
ChatGPT & OpenAI Mastery
Master ChatGPT for everyday work, prompting, data analysis, custom workflows, and practical OpenAI fluency.
Gemini & Google AI Mastery
Master Google's full AI stack — Gemini, Antigravity 2.0, NotebookLM, Veo 3.1, and Nano Banana Pro — from your first prompt to production agents.
Antigravity Mastery
Master Google Antigravity — the standalone agent-first development platform (desktop app, CLI, SDK) — from first install to production multi-agent workflows.