Diego Oppenheimer · Ideas into operating practice

Build for value.
Operate for reality.

A field guide to putting AI into production, governing probabilistic systems, deploying useful agents, discovering markets, and building companies that last.

“If a model does not reach production, there is no value.”
10 Measures and KPIs for ML Success

Start here

Choose the problem in front of you.

Each path is a practical sequence, not a theory of everything.

The field guide in six principles

A common operating philosophy

  1. Production is the value threshold. Experiments only matter when they change a real workflow.
  2. Start with the improvement. Define the business result before choosing the model or platform.
  3. Specialize before generalizing. Narrow domains produce reliability; expand after evidence.
  4. Controls should create speed. Pre-approved paths beat repeated manual review.
  5. Evidence beats consensus. Track claims, sources, counterexamples, and decisions.
  6. Humans own judgment. Delegate execution, not accountability, strategy, or exceptions.

01 · Production AI

Turn a model into a business result.

The model is one component in a changing socio-technical system. Design for the application, the operators, the economics, and the next version—not just the first demo.

The value loop

Work backward from a minimal justifiable improvement: the smallest worthwhile change to a real business process. If the whole journey costs more than the improvement, stop before training.

1Business questionWhat decision or process changes?
2Justifiable improvementRevenue, cost, speed, or risk
3Production workflowData, model, application, people
4Measured outcomeUsage, SLA, economics, assurance
5Fast iterationKeep winners, kill losers quickly
Avoid the two classic failure modes. Do not build infrastructure without a proven use case. Do not “boil the ocean” by designing for every future use case before two workflows demonstrate value.

The production scorecard

Measure the serving workflow, not model accuracy in isolation. Accuracy still matters, but it sits beside adoption, latency, operating cost, reuse, and business impact.

DimensionMetricQuestion it answers
ValueTime to deploymentHow much expected value is delayed while a candidate model waits?
Business outcome per workflowWhat revenue, cost reduction, efficiency, or risk reduction resulted?
AdoptionModels in productionIs the organization converting experiments into operating capability?
API calls and active consumersAre people and applications actually using each model?
IterationNew deployments per monthCan operations keep pace with data science?
Release and rollback velocityCan the team improve or reverse a workflow without disrupting consumers?
EconomicsCompute and memory per workflowDoes infrastructure cost preserve the expected return?
Reuse across workflowsAre extractors, connectors, and model components producing leverage?
AssuranceSLA, quality, and driftIs each serving pattern meeting its own latency and quality requirement?
Audit and cost attributionCan you tell who called what, with which data, at what cost?

Adapted from 10 Measures and KPIs for ML Success. Batch and real-time systems need different SLAs; there is no universal latency target.

Build versus buy is really build and maintain.

A Flask endpoint proves deployment is possible. It does not prove the organization can operate hundreds of heterogeneous workflows securely, reliably, and economically.

Build when the platform is the differentiator

  • The capability itself is central to your product or advantage.
  • Your constraints are genuinely unavailable elsewhere.
  • You can fund a sustained, dedicated platform team.
  • You accept upgrades, support, patching, testing, and multi-environment complexity.

Buy or compose when the outcome is the differentiator

  • Your best people create more value on data, models, and applications.
  • Time to production matters more than infrastructure ownership.
  • You need pre-hardened security and governance paths.
  • Best-in-class components can integrate without forcing one stack.

The maintenance audit

One planning heuristic from Build vs. Buy an ML Platform: roughly a quarter of lifetime cost is initial construction; the rest is maintenance. Treat that as a prompt to budget, not a universal accounting rule.

A durable production architecture

ConcernTraining / developmentInference / operations
WorkloadLong-running, relatively fixed loadShort bursts, elastic and highly concurrent
StateStateful checkpoints and weightsOften stateless per request
Primary ownersData science and ML engineeringML engineering, DevOps, SRE, application owners
Useful primitivesFramework-specific tools, experiment trackingContainers, orchestration, APIs, monitoring
OptimizationModel quality and development speedLatency, utilization, reliability, cost, assurance
  • Compose loosely coupled components. Pre-processing, models, post-processing, and connectors should be replaceable without rewriting the whole workflow.
  • Abstract runtime and data sources. Let teams use the right framework and language while presenting a consistent operating interface.
  • Version APIs and models together. Multiple versions may need to run simultaneously while consumers test on different release schedules.
  • Design for just-in-time compute where appropriate. Elastic inference can reduce idle capacity, but cold starts and latency requirements still constrain the design.
  • Integrate tightly; couple loosely. Automate the whole path while preserving component choice.

02 · Governance & risk

Govern the workflow, not just the model.

Foundation models and agents make the old model-only catalog insufficient. The unit of risk is now the entire workflow: model versions, data, tools, permissions, context, output, and human response.

Balance three risks

OperationalIt fails, leaks, or causes loss.

Security incidents, bad decisions, downtime, wasted compute.

BrandThe failure becomes public.

Customers, regulators, and the market lose trust.

StrategicControls prevent useful action.

Deployment becomes so slow that the organization loses the opportunity.

There is no bulletproof software. The goal is a conscious risk–reward decision. Excessive restriction is not “safe”; it moves exposure into strategic risk.

The workflow assurance cycle

  1. Catalog the workflow.

    Record model providers and versions, data access, tools, owners, intended use, and downstream consumers. Classify scrutiny by use case, not merely by model.

  2. Define failure boundaries.

    Document plausible failure modes, error cost and frequency, acceptable outer bounds, and explicit acceptance or rejection criteria.

  3. Install structural and quality guardrails.

    Validate types, schemas, content, sources, permissions, and task-specific correctness. Correct output when possible; stop when necessary.

  4. Manage provider and workflow changes.

    Revalidate after model updates, fine-tuning, prompt changes, new tools, or altered data. A provider’s silent improvement can still change your risk.

  5. Document the human fallback.

    Name the expert path when quality cannot be guaranteed. Escalation should be an operating route, not an improvised emergency.

  6. Log interventions and evidence.

    Retain errors, corrections, human actions, model and tool calls, data access, and permission changes so behavior can be reviewed and audited.

Threat-model the whole surface

Bring DevSecOps in early. ML teams understand probabilistic behavior and data risks; security teams understand organizational controls and operating requirements. Each side needs to teach the other before the production deadline.

Automate the guardrails into the highway

The mature pattern is a pre-hardened path where approved dependencies, identity, scans, authentication, logging, and deployment are built in. Practitioners keep flexibility inside visible boundaries rather than recreating controls for every use case.

Who responds when probabilistic software fails?

The emerging ML reliability role extends the SRE model: understand the application and the model enough to diagnose, roll back, or escalate quickly. Data scientists should not become default pager owners; operations teams need enough ML literacy to act.

03 · Agent systems

Give agents a job, not a kingdom.

Agents differ from earlier automation because they choose actions and tools at runtime. That makes them adaptable—and makes their execution graph, resource use, and failure modes harder to predict.

Choose the simplest architecture that fits

ApproachBest fitWatch for
Deterministic automation / RPAStable, prescribed steps where exact execution is requiredFragility when interfaces or workflows change
One model with toolsMost bounded tasks, context-aware execution, adaptable discoveryTool selection, latency, permissions, cost, context dilution
Multiple independent agentsParallel tasks with little shared state; specialized expertise; negotiation or independent validationConflicting decisions, communication overhead, partial context
Coordinated agent swarmsMostly exploratory today; genuinely interdependent machine-speed collaborationRuntime-unknown graph, debugging, memory boundaries, runaway fan-out

Start with one model and well-designed tools. Add independent paths for parallelism, specialization, or consensus only when the task benefits from them.

The digital employee deployment playbook

  1. Pick a narrow, valuable workflow.

    Target repeated operational work with a clear completion test. Avoid an omnipresent “do everything” agent and deceptively complex first projects such as general scheduling.

  2. Create a distinct identity.

    Give the agent its own account and delegated access instead of letting it act as you. Scope tools and credentials to the job, and make revocation possible.

  3. Minimize and containerize.

    Reduce components, tools, permissions, and data access. More tools mean more choices, more ambiguity, and more attack surface.

  4. Attack it before users do.

    Test credential injection, privilege escalation, container escape, malicious instructions, and adversarial users. Measure how it fails—not only whether it succeeds.

  5. Instrument the entire session.

    Centralize model, tool, credential, cost, and application logs across every harness and provider. Review anomalies and efficiency regularly.

  6. Route exceptions to humans.

    People set direction, approve sensitive actions, review outbound communication, and handle edge cases. Expand autonomy only after evidence.

Context engineering is an operations discipline

Put the right information in

  • Preserve relevant detail; more context can reduce performance.
  • Ground recurring work in explicit plans and files.
  • Separate global instructions from task-local context.
  • Refresh information whose truth expires.

Control what accumulates

  • Watch summaries of summaries for lost evidence.
  • Limit tool catalogs and long, contradictory prompts.
  • Inspect caches for security and tenant boundaries.
  • Trace the actual runtime graph, not an imagined static path.

Failure lab

Turn weird behavior into better systems.

Attribution failure

The agent invited itself to coffee

An assistant read a thread in which a person proposed coffee with Diego. It treated the invitation as its own next action and volunteered to attend.

System fix

Require speaker and recipient attribution for every message. For each need, identify the appropriate actor; the agent acts only when it can justify why that actor is itself. Add regression tests for similar threads.

Oh, Ashley! Episode 1 →
Tool-selection failure

The agent rebuilt the same CLI on every run

The required tool was installed and documented. The model repeatedly rebuilt it anyway, wasting time and tokens. Centralized logs exposed the pattern within minutes.

System fix

Look for model priors overriding instructions, long-context attention dilution, tool overload, and premature commitment to a plan. Analyze logs continuously for repeated work, unnecessary browsing, and ignored tools.

Oh, Ashley! Episode 2 →

Agent-native systems can be simpler than expected

A deal-flow prototype replaced CRM objects with Markdown and YAML files, Git history, schema validation through GitHub Actions, and S3 for binary assets. Agents resolve entities, update relationships, generate current summaries, and create follow-ups.

Useful pattern: files for collaboration, Git for history and governance, schemas for integrity, agents for retrieval and updates. Do not copy the architecture blindly; copy the exercise of asking which database features the new workflow still needs. Watch the deal-flow demo.

Five questions for cognitive infrastructure

  1. Memory vs. compute: Can state persist, version, search, and roll back independently of ephemeral execution?
  2. Provisioning: Does capacity respond to cognitive depth and fan-out, or only request count?
  3. Execution: Can sensitive, low-latency work run on device or edge while heavy reasoning uses cloud?
  4. Economics: Can you attribute cost to tasks, teams, and value created—not just uptime?
  5. Resilience: Do provider routing, rate-limit handling, permissions, and audits survive machine-speed decisions?

04 · Research & discovery

Write claims, not reports.

A generic model-generated report gives you the same consensus everyone else can obtain. Research becomes valuable when it finds divergence, survives evidence, and changes a decision.

The claim-led research loop

  1. Scope through questions.

    Have the AI interview you: what space, why now, rough hypothesis, existing material, constraints, non-goals, time budget, and what evidence would change your direction. Do not launch research until you sign off.

  2. Create a claim ledger.

    Extract falsifiable claims, not slogans. “Buyers pay $200 per engineer per month” is testable; “AI will transform engineering” is not.

  3. Write the consensus map.

    Record the standard story, common market figures, named winners, cited trends, and confidence. This is the null hypothesis; a later finding must diverge from it.

  4. Follow money, information, and influence.

    Trace budgets, buyers, intermediaries, regulation, and obligations. Map where margins sit and which actor can become a distribution shortcut.

  5. Hunt for divergence in parallel.

    Run independent searches for counterexamples, primary documents, deployment evidence, pricing, and base rates. Require URLs, dates, quotes, and affected claim IDs.

  6. Break your own frame.

    Force alternative market cuts. Ask why a ten-year operator would laugh at the report. Audit missing companies, missing workflows, and evidence that appears on both sides.

  7. Use an independent checker.

    Give the ledger and sources to another model or context. Mark each claim supported, narrowed, contested, outdated, unsupported, or rejected.

  8. Go to the field.

    Design interviews only for remaining uncertainty. Prioritize buyers over vendor or investor testimony, and include a contradictor in every lane.

  9. Decide and refresh.

    Update the ledger, change the action, and schedule a refresh. A claim that survives repeated attempts to break it becomes a useful insight.

A claim ledger you can copy

FieldWhat to record
ID and claimA specific, falsifiable statement with numbers or boundaries when possible.
Consensus positionWhat the crowd believes and what evidence it repeatedly cites.
DivergenceWhere new evidence disagrees, narrows scope, or reveals an overlooked actor.
EvidencePrimary URL, retrieval date, short quotation, and independent corroboration.
StatusUntested, supported, narrowed, contested, outdated, unsupported, rejected.
Decision impactWhat changes if the claim is true, false, or narrower than expected?
Next testSource check, adversarial pass, calculation, or field interview with a named persona.
Discard ungrounded certainty. Treat generated numbers and citations as suspects. Trace repeated market figures to their origin; apparent consensus may be one weak source copied many times.

Prompt patterns that produce better work

01

Scope before search

“Ask me the questions needed to bound this investigation: hypothesis, geography, materials, non-goals, time budget, and evidence that would make me stop.”

02

Make output inspectable

“Return named claims in a ledger. For each, give the consensus position, contradictory evidence, primary URLs, retrieval dates, and the decision affected.”

03

Force the insider test

“You have operated in this market for ten years. Explain why this analysis would make you laugh, which incumbents or workflows it omitted, and what only an outsider would believe.”

04

Separate advocate and judge

“Argue the strongest case on each side without making the decision. I will evaluate the evidence and sign off before the next stage.”

Keep human judgment at two gates

Before research: approve the scope and claims. Before action: approve the verdict and evidence. AI can expand coverage and expose alternatives; it does not own strategic direction.

From market map to opportunity

Use AI for a first primer, stakeholder map, interview guides, outreach drafts, transcript synthesis, and cross-interview patterns. Then test the opportunities with people.

Discovery practices

  • Build a narrative primer, not a pile of disconnected links.
  • Interview across buyers, operators, regulators, vendors, and contrarians.
  • Do initial interviews without a product mock-up to avoid steering the answer.
  • Search for common themes and meaningful disagreement by persona.

Opportunity scorecard

  • Market size and timing
  • Defensibility and data or network effects
  • Founder fit and durable obsession
  • Go-to-market clarity and distribution paths
  • Capital efficiency and validation cost

AI can draft messages and monitor replies, but a person should review and send research outreach. Relevance and trust beat an automated “slop cannon.”

05 · Building companies

Alignment beats theater.

Customer trust, employee growth, investor expectations, and founder resilience all improve when incentives are explicit. The work is to find win–win structures rather than pretend every interest is identical.

Two customer-acquisition engines

Developer-led: teach and demonstrate

  • Publish useful technical content and working examples.
  • Build demos worth sharing; show the product in action.
  • Let developers read, test, and build instead of forcing a sale.
  • Use “GIF-driven development”: frequent visible proof of progress.

Enterprise: champions and presence

  • Find a believer with an urgent problem and willingness to bet.
  • Show up at focused events; you cannot win from off the field.
  • Use founder expertise to open and close while the team runs the middle.
  • Turn early references into evidence for the next account.

The nine-person roundtable

A generous listening environment can create deeper customer insight than another pitch campaign.

  1. Choose one industry problem.

    Invite senior operators who share a real workflow, even if their companies compete.

  2. Keep it small and closed.

    About nine participants, Chatham House Rule, no recording, no sales team, no marketing, and no product pitch.

  3. Moderate for substance.

    Ask about hiring, deployment, internal barriers, workarounds, and shared frustrations. Make it safe to compare notes.

  4. Curate participation.

    Invite strong contributors again and let usefulness—not seniority alone—shape the next table.

  5. Follow the relationships.

    Stay in touch as people change companies. The immediate return is learning; trust and future opportunities follow.

Hire for mutual growth and team multiplication

“You start tomorrow. Two years have gone by. Look back: why are you a better person, and why are you in a better position than today?”

Use the answer to test whether the company can genuinely provide the candidate’s desired growth—not to extract another declaration of loyalty.

  • Make the social contract explicit. The company looks after its interests; the employee looks after theirs. Honest alignment is more durable than pretending those interests never diverge.
  • Define “10x” by organizational lift. A person who improves engineering, marketing, sales, and customer response can be worth more than a higher-performing solo contributor.
  • Do not use alignment as an excuse for weak skills. Set the capability bar first, then evaluate growth fit and the candidate’s effect on the team.

Manage large-customer opportunity cost

Logo customers can create credibility and reveal the next market. They can also hijack the roadmap and consume disproportionate time.

Retain the upside

  • Find internal champions with a problem you truly solve.
  • Use demanding security and scale requirements as proof for later buyers.
  • Recognize that early references may make the company viable.

Develop a backbone

  • Define the ideal customer profile and expected organizational cost.
  • Hold the customer accountable for their side of the work.
  • Contain custom demands and be willing to fire a damaging fit.

Choose investors and directors by actual contribution

TypeExpected contributionFounder action
ExceptionalIncreases company value, coaches the CEO, knows when to stay outRecruit deliberately and use their strengths.
Useful / neutralHelps on selected questions, introductions, or capitalSet bounded expectations; cash-only can be acceptable.
Actively detrimentalCreates dysfunction, distraction, or destructive incentivesCross-reference heavily before accepting a hard-to-remove director.

Do not expect every investor to provide the same value. Disappointment often comes from an unstated contract, not from an investor failing to become someone else.

Run the company with risk–reward clarity

  • Know the alternative to the next round. Periodically test the acquisition market so dilution and new goalposts can be compared against a real alternative.
  • Look for natural strategic demand. Algorithmia’s production strength complemented DataRobot’s model-generation customers; repeated competitive encounters helped reveal the fit.
  • Use the three-year filter. Ask which current issue will still matter in three years. Most urgent noise does not survive that lens.
  • Buffer the emotional rollercoaster. A CEO absorbs near-death experiences so employees, customers, and investors can keep moving. Buffering is not denial; it is emotional load management.
  • Optimize your career for skill acquisition. Choose opportunities by what you will learn and how that compounds over the next two years.
Advice to a younger self: nothing is as fatal as it seems. Preserve perspective, keep learning, and take the long view. Watch the short clip.

Build communities around demonstrated work

AI Tinkerers began with twelve people bringing laptops to lunch. Its operating norms are a useful antidote to performative tech culture:

Rough demosBuilder feedbackNo pitchesNo salesNo hiringIn person

Require evidence that participants are building. Make it acceptable to show unfinished work and failures. Small, trusted feedback loops can become companies and communities without starting as either. The “Homebrew Computer Club” for AI builders →

06 · Idea timeline

The infrastructure changes. The standard remains value.

Data becomes a way to explain and build

Early analytics, algorithm marketplaces, and composable intelligence point toward a world where developers can access useful models as services.

VentureBeat, 2014

Microservices become the AI operating layer

Elastic inference, runtime abstraction, model composition, and APIs turn research artifacts into intelligent applications.

The Operating System for AI, 2017

MLOps becomes an organizational capability

Business-first use cases, production metrics, governance, reusable components, and build-versus-maintain economics move to the center.

Measures and KPIs, 2020

Governance moves from models to workflows

Foundation models require documented failure boundaries, validation, change management, guardrails, and expert fallbacks.

Evolving AI Governance, 2023

Founder craft meets agent infrastructure

Roundtables, alignment, and acquisition discipline sit alongside context engineering, non-human identity, and cognitive workloads.

The Future of Compute

Research and digital employees become force multipliers

Claim ledgers, parallel adversarial research, narrow digital employees, and continuous log analysis emphasize verified insight and operational leverage.

Advanced AI Prompting for Research

07 · Video library

Go to the source.

Filter by theme or search titles and channels. Durations are shown in minutes.

The final filter

What will be different
when this reaches reality?

Choose the workflow. Define the value. Bound the risk. Test the claims. Watch the logs. Keep the humans accountable.

Back to the top