Book a consult

How we work

One clear path

Talk, decide, build. You always know what happens next.

Visit How we work →
Start here
  1. 01Talk
  2. 02Decide
  3. 03Build
A free 30-minute call with a senior engineer. Nothing to prepare.Book a free 30-minute call ↗

The journal

Notes from the build floor.

Engineering write-ups, design essays, and post-mortems from our team. We publish what we wish we had read.

Engineering write-ups

Engineering write-ups.

  1. AI EngineeringRAG Chunking for PDFs With Tables: An Ingestion Strategy That Holds Up
  2. AI EngineeringLLM Guardrails in Production: Where Each Check Belongs
  3. MLOpsSelf-Hosted LLM vs API: A Decision Guide for Production Teams
  4. MLOpsLLM Model Migration Checklist: What to Do When Your Model Is Retired
  5. AI EngineeringLLM Regression Testing: Build a Suite That Gates Every Change
  6. MLOpsModel Risk Management for LLM Features in Banking
  7. AgentsHow to Scope an AI Agent Project Before You Ask for Quotes
  8. MLOpsBefore Patient Data Touches an LLM: A HIPAA Checklist for Health Tech Teams
  9. AI EngineeringLLMs in KYC and AML Reviews: Where They Help and Where They Must Not Decide
  10. MLOpsAudit Trails for LLM Features in Fintech: What to Record
  11. MLOpsWhat to Log From an LLM App Without Storing Personal Data
  12. AgentsZapier or n8n vs a Custom AI Agent: When to Build Custom
  13. AI EngineeringHybrid Search and Reranking in RAG: When You Need Each
  14. AI EngineeringPrompt Injection Testing Before Launch: A Checklist for AI Apps
  15. AI EngineeringPer-User Access Control in RAG: Keep Documents Away From the Wrong Eyes
  16. AgentsHuman-in-the-loop for AI agents: approval patterns that work
  17. AgentsAI agent vs chatbot vs workflow automation: which do you need?
  18. AgentsBusiness process automation with AI agents: where to start
  19. AI EngineeringRAG evaluation: how to measure retrieval quality before launch
  20. AI EngineeringRAG vs fine-tuning: which one your product needs
  21. AI EngineeringHow to integrate an LLM into existing software without a rewrite
  22. AgentsHow to build an AI agent for your business, step by step
  23. AI EngineeringRAG in production: six anti-patterns we keep finding
  24. AI EngineeringEval-first AI: how we ship copilots that survive Tuesday
  25. MLOpsVector DB selection in 2026, a pragmatic guide
  26. AgentsDesigning autonomous agents that don’t go rogue

Design essays

Design essays.

  1. DesignRAG Citations UI: How to Show Sources in a RAG Chatbot
  2. DesignLLM Streaming Response UX: How to Design the Wait
  3. DesignWhat an AI Assistant Should Say When It Does Not Know
  4. DesignDesigning for AI surfaces: prompts as product

Strategy

We publish what we wish we had read.

  1. StrategyLLM Project RFP Template: What to Include So AI Proposals Compare
  2. StrategyFixed Price or Time and Materials for an AI Project?
  3. StrategyAmbient Clinical Documentation: Build, Buy or Integrate?
  4. StrategyHow to Evaluate an AI Vendor's Demo: Questions That Expose a Fragile Prototype
  5. StrategyIn-House AI Team or an Outsourced Partner: How to Decide
  6. StrategyAI Proof of Concept, Pilot or Production: What Each Stage Must Prove
  7. StrategyHow to Choose an AI Development Partner: A Buyer's Scorecard
  8. StrategyOutsourcing AI Development to Pakistan: What to Check Before You Sign
  9. StrategyWhat to ask a RAG development company before you sign
  10. StrategyWhen AI is the wrong answer: a build-vs-buy framework

Featured

Every article, newest first.

OCTALCODE JOURNALPARSEKEEP TABLESCHUNKIngest PDFsthat hold up.

AI Engineering· 7 min· November 13, 2026

RAG Chunking for PDFs With Tables: An Ingestion Strategy That Holds Up

How to parse and chunk PDFs with tables, headers and multi-page layouts for RAG: layout-aware extraction, structure-first chunks, tables kept whole, table-to-text, chunk metadata, overlap and testing on your own questions.

Read article

OCTALCODE JOURNALINPUTRETRIEVALTOOLSOUTPUTA check atevery layer.

AI Engineering· 7 min

LLM Guardrails in Production: Where Each Check Belongs

A map of runtime guardrails for LLM apps and AI agents: what to check on input, retrieved content, tool calls, output and streamed text, plus latency, logging and testing.

OCTALCODE JOURNALSELF-HOSTEDVSAPIWho shouldrun the model?

MLOps· 7 min

Self-Hosted LLM vs API: A Decision Guide for Production Teams

Whether to run an open-weight model yourself or keep calling a provider's API: data terms, quality on your own task, traffic shape, the team you need, licences and hybrid setups.

OCTALCODE JOURNALQ1WHAT PROBLEM?Q2WHAT DATA?Q3HOW IS IT SCORED?Proposals youcan compare.

Strategy· 7 min

LLM Project RFP Template: What to Include So AI Proposals Compare

The sections an RFP for an LLM application, AI agent or RAG system needs so vendors answer the same question: the problem, metrics, honest data, integrations, security, evaluation, a paid proof stage and a published rubric.

OCTALCODE JOURNALINVENTORYPINSHADOWROLL OUTWhen your modelis retired.

MLOps· 7 min

LLM Model Migration Checklist: What to Do When Your Model Is Retired

When a provider retires the model your product runs on: inventory every model call, pin versions, run a regression suite, fix what breaks, then shadow, stage and keep a rollback.

OCTALCODE JOURNALINLINE MARKERSOURCES PANELUSER CAN OPEN ITShow whereanswers come from.

Design· 6 min

RAG Citations UI: How to Show Sources in a RAG Chatbot

Sources are how users check a RAG answer. How to choose between inline markers and a sources panel, group chunks by document, deep-link to the passage, respect permissions and stream citations cleanly.

OCTALCODE JOURNALRLS ONPOLICY PER ACTIONTESTED PER ROLEEvery table,every role.

Engineering· 7 min

Supabase Row Level Security Checklist for Prompt-to-App Builds

A practical RLS review for Supabase apps generated by prompt-to-app builders: tables that skip RLS, one policy per operation, secret keys, views and functions, storage, testing as each role and the Security Advisor.

OCTALCODE JOURNALCHANGEGOLDEN SETRELEASENo releasewithout the suite.

AI Engineering· 7 min

LLM Regression Testing: Build a Suite That Gates Every Change

How to build a regression suite that runs before every prompt, model or retriever change: a golden set from real traffic, deterministic checks, a calibrated judge and a written release gate.

OCTALCODE JOURNALTHINKINGSTREAMINGDONEDesignthe wait.

Design· 7 min

LLM Streaming Response UX: How to Design the Wait

Streaming gets words on screen sooner, but it creates new waits of its own. How to design time to first token, tool-call pauses, stop and retry, half-finished answers and screen reader support.

OCTALCODE JOURNALSERVER-SIDE AUTHSECRETS ROTATEDRESTORE TESTEDBefore real usersfind the gaps.

Engineering· 7 min

Vibe-Coded App Production Checklist: What to Fix Before Real Users

A founder's checklist for an app built with Lovable, Bolt, Replit or Cursor: server-side access control, secrets, payments, backups, monitoring, environments and ownership, and what to fix first.

OCTALCODE JOURNALFIXED PRICEVSTIME + MATERIALSWhich contractfits the stage?

Strategy· 6 min

Fixed Price or Time and Materials for an AI Project?

Which contract model fits each stage of an AI project, why pure fixed price is risky for both sides, and what to write into the contract so acceptance is measured, not argued.

OCTALCODE JOURNALBUILDBUYINTEGRATEWhich path fitsyour clinicians?

Strategy· 6 min

Ambient Clinical Documentation: Build, Buy or Integrate?

How health-system and health-tech leaders should choose between an established ambient scribe, a vendor API inside their own product, or a custom build, judged on EHR fit, sign-off, accuracy, consent, BAAs and upkeep.

OCTALCODE JOURNALQ1YOUR OWN DATA?Q2NO ANSWER?Q3SHOW THE LOGS?Test the demo,not the deck.

Strategy· 6 min

How to Evaluate an AI Vendor's Demo: Questions That Expose a Fragile Prototype

Demos are curated. Here is how a buyer stress-tests one in the room, with the inputs to bring, the questions to ask and a red, amber, green guide to the answers.

OCTALCODE JOURNALIN-HOUSEVSPARTNERWho shouldbuild it?

Strategy· 6 min

In-House AI Team or an Outsourced Partner: How to Decide

How to choose between building an in-house AI team and working with an outsourced partner, the hybrid models in between, and what you must own either way.

OCTALCODE JOURNALINVENTORYVALIDATEMONITORCHANGEThrough modelrisk review.

MLOps· 7 min

Model Risk Management for LLM Features in Banking

How a bank or lender brings an LLM feature through model risk management: inventory and tiering, LLM-specific validation problems, evaluation evidence, monitoring, vendor risk and change control.

OCTALCODE JOURNALONE WORKFLOWALLOWED ACTIONSTEST CASESScope it beforeyou ask for quotes.

Agents· 7 min

How to Scope an AI Agent Project Before You Ask for Quotes

A buyer's worksheet for scoping an AI agent before talking to vendors: one workflow, its systems, approval rules, real test cases, hand-offs, data access and ownership.

OCTALCODE JOURNALCONCEPTPILOTPRODUCTIONWhat each stagemust prove.

Strategy· 7 min

AI Proof of Concept, Pilot or Production: What Each Stage Must Prove

Why so many AI prototypes stall before launch, and a stage-gate model with exit criteria for the proof of concept, the pilot and production.

OCTALCODE JOURNALBAA SIGNEDMINIMUM NECESSARYNO PHI IN LOGSBefore patient datatouches a model.

MLOps· 7 min

Before Patient Data Touches an LLM: A HIPAA Checklist for Health Tech Teams

A practical HIPAA checklist for teams adding LLM features to products that handle PHI: business associates, BAAs across the whole data path, minimum necessary, de-identification, retention terms, safeguards, risk analysis and disclosures.

OCTALCODE JOURNALQ1HOW DO YOU TEST?Q2WHO OWNS IT?Q3HOW DO WE EXIT?Score everyvendor the same.

Strategy· 7 min

How to Choose an AI Development Partner: A Buyer's Scorecard

A vendor-neutral, weighted scorecard for comparing three to five AI vendors on the same brief, with the red flags that should end the conversation whatever the score.

OCTALCODE JOURNALALERTAI DRAFTANALYST DECIDESThe model drafts.People decide.

AI Engineering· 7 min

LLMs in KYC and AML Reviews: Where They Help and Where They Must Not Decide

Where LLMs earn their place in KYC and AML work (summaries, extraction, draft narratives, triage), which decisions must stay with accountable people, and the controls to build in first.

OCTALCODE JOURNALFLUTTERVSNATIVEWhich onewins for you?

Mobile· 6 min

Flutter or Native for a Startup: When Each One Wins

One Flutter codebase wins on speed to both stores, small teams and shared custom UI. Native wins on deep hardware, heavy graphics, one-platform apps, day-one OS features and platform fidelity.

OCTALCODE JOURNALPROMPT VERSIONSOURCES USEDWHO APPROVEDRecord everydecision.

MLOps· 7 min

Audit Trails for LLM Features in Fintech: What to Record

What to record for every decision an LLM feature touches in fintech, how to keep the store tamper-evident, retention, and why an explanation is not an audit trail.

OCTALCODE JOURNALCALLREDACTSTOREREVIEWUseful logs,no personal data.

MLOps· 6 min

What to Log From an LLM App Without Storing Personal Data

A privacy-first logging plan for LLM apps: per-call metadata, traces across retrieval and tools, quality scores, redaction before storage, pseudonymous ids, retention windows and access.

OCTALCODE JOURNALNO-CODEVSCUSTOM AGENTWhen to buildcustom.

Agents· 6 min

Zapier or n8n vs a Custom AI Agent: When to Build Custom

Zapier and n8n are often the right answer. Where they stop: volume, deep branching and state, long-running work, data control, testing and versioning, and predictable running costs.

OCTALCODE JOURNALKEYWORDMEANINGRERANKFind the rightpassage.

AI Engineering· 7 min

Hybrid Search and Reranking in RAG: When You Need Each

Keyword search versus embeddings, how reciprocal rank fusion merges the two, when a cross-encoder reranker is worth its latency, and how to decide each step with an eval set.

OCTALCODE JOURNALTOOL CALLSSYSTEM PROMPTHIDDEN INSTRUCTIONSTest itbefore launch.

AI Engineering· 6 min

Prompt Injection Testing Before Launch: A Checklist for AI Apps

Prompt injection testing before launch: four failures a script can check, a suite built from your own tools and data, CI runs on every change, and tool limits that hold.

OCTALCODE JOURNALUSERFILTERALLOWED DOCSOnly what theymay see.

AI Engineering· 6 min

Per-User Access Control in RAG: Keep Documents Away From the Wrong Eyes

Per-user access control in RAG belongs in retrieval, not after generation. How to carry ACLs into the index, sync permission changes, close cache and history leaks, and test by role.

OCTALCODE JOURNALQ1WHO OWNS THE CODE?Q2HOW DO YOU TEST?Q3WHO CAN I CALL?Check beforeyou sign.

Strategy· 7 min

Outsourcing AI Development to Pakistan: What to Check Before You Sign

A buyer's checklist for hiring a Pakistani team to build LLM systems: time-zone overlap, ownership of code and data, evals over demos, real references, written security and life after launch.

OCTALCODE JOURNALON-DEVICEVSCLOUDWhere shouldthe model run?

Mobile· 7 min

On-Device or Cloud LLM in a Flutter App: How to Choose

A decision list for Flutter teams choosing where an LLM runs: privacy, offline use, model size against the device, latency, battery, updates, and a hybrid fallback pattern in Dart.

OCTALCODE JOURNALQUESTIONNOT SUREHAND OFFWhen it doesnot know.

Design· 7 min

What an AI Assistant Should Say When It Does Not Know

Design patterns for the moment an assistant lacks an answer: admit the gap plainly, offer an alternative and one next step, hand off with context, and log the miss to fix the source.

OCTALCODE JOURNALAGENTREVIEWERAPPROVESEND BACKA personin the loop.

Agents· 6 min

Human-in-the-loop for AI agents: approval patterns that work

Approve-before-act, confidence thresholds, batch review, sampling audits, reversible actions, approval UX and audit trails: where people belong in an agent.

OCTALCODE JOURNALSUGGESTEDAI featuresin your app.

Mobile· 7 min

How to add AI features to a mobile app

On-device or server, latency, privacy, cost, UX and app store review: the decisions that matter when you add AI to a mobile app people already use.

OCTALCODE JOURNALFLUTTERVSREACT NATIVEChoosing foryour MVP.

Mobile· 6 min

Flutter vs React Native for a startup MVP

A balanced, benchmark-free comparison for founders: team skills, UI fidelity, ecosystem, web reuse, hiring, performance and long-term maintenance.

OCTALCODE JOURNALQ1HOW DO YOU EVALUATE?Q2WHAT IF SOURCES CHANGE?Q3WHO OWNS THE INDEX?Ask beforeyou sign.

Strategy· 6 min

What to ask a RAG development company before you sign

Sharp questions to put to any RAG partner, what a good answer sounds like, and the red flags that tell you you are buying a demo, not a system.

OCTALCODE JOURNALCHATBOTAGENTWORKFLOWPick the rightkind of help.

Agents· 6 min

AI agent vs chatbot vs workflow automation: which do you need?

Three tools get sold under one label. A practical decision guide: what each one is, how they fail, and when plain rules-based automation is the honest answer.

OCTALCODE JOURNALINTAKEAGENTRULESWhere tostart.

Agents· 5 min

Business process automation with AI agents: where to start

Most agent projects fail at the first decision: which process. How we pick it, map it, split it between agent and code, place approvals and measure the result.

OCTALCODE JOURNALRETRIEVAL RECALLFAITHFULNESSCITATIONSMeasure itbefore launch.

AI Engineering· 6 min

RAG evaluation: how to measure retrieval quality before launch

Score retrieval and answers separately, against a test set of real questions. Recall@k, MRR, faithfulness, citations, judge caveats and regression on every change.

OCTALCODE JOURNALRETRIEVALVSFINE-TUNINGKnowledge, orbehaviour?

AI Engineering· 7 min

RAG vs fine-tuning: which one your product needs

Retrieval changes what a model knows. Fine-tuning changes how it behaves. A practical framework for picking one, both, or neither.

OCTALCODE JOURNALYOUR APPLLMAdd it beside,not inside.

AI Engineering· 6 min

How to integrate an LLM into existing software without a rewrite

A language model is a slow, probabilistic, external dependency. Integrate it like one: sidecar services, a gateway, feature flags, async jobs and evals.

OCTALCODE JOURNALSCOPETOOLSEVALSSHIPOne workflow,step by step.

Agents· 6 min

How to build an AI agent for your business, step by step

Seven unglamorous steps that take an AI agent from demo to trusted: one workflow, a definition of done, scoped tools, approvals, evals, rollout and monitoring.

YESNOYESNOYESNOBUILD AI?DATA READY?RULES OK?BUILDCOLLECTUSE RULESBUILDBUILD VS BUY · DECISION TREE

Strategy· 9 min

When AI is the wrong answer: a build-vs-buy framework

A decision tree we run with every prospective client before quoting any AI build. It saves them money and us reputation.

!RAG · RETRIEVAL AUDIT

AI Engineering· 10 min

RAG in production: six anti-patterns we keep finding

A field report on RAG in production. The failure modes are remarkably consistent, and most of them are fixable in an afternoon.

EVAL HARNESS · v3.2ACCURACY88%✓HALLUCINATION72%✗LATENCY P9595%✓COVERAGE61%✗

AI Engineering· 12 min

Eval-first AI: how we ship copilots that survive Tuesday

A walkthrough of the eval harness we attach to every AI project before model selection, prompt design, or anything else interesting.

DIM 1DIM 2EMBEDDING SPACE · 3 CLUSTERS

MLOps· 8 min

Vector DB selection in 2026, a pragmatic guide

pgvector vs Pinecone vs Weaviate vs Turbopuffer, what we use, when, and what the gotchas look like at million-scale.

PLANSEARCHCODEMEMORYHUMANAGENTCORE

Agents· 14 min

Designing autonomous agents that don’t go rogue

Guardrails, tool-use schemas, and the eval suite we run before any agent gets production credentials.

summarise the contractSure. 3 key clauses...what are the risks?Ask anything...

Design· 6 min

Designing for AI surfaces: prompts as product

The user interface for an AI product is half text, half waiting. Lessons from a year of shipping conversational and copilot UI.

Available for new engagements

Have an AI system that needs to ship?

30 minutes, one of our seniors, no slide deck. By the end of the call you will know whether we are the right team, and if not, who is.

Or call +1 (512) 710-5701

Let's scope it.Instant answers · free project scoping