← AI Agents and Applied Intelligence
Techne · Small Business Field Guide

Train the Behavior.
Retrieve the Facts.

The small business custom model playbook: how to decide what to build, teach a compact model how your company works, keep current knowledge outside the weights, and measure whether the system earns its place.

Custom AIFine-tuningRAGSmall business

Original As Above editorial illustration. Gold represents stable examples. Blue represents current facts retrieved at run time. Human approval remains inside the operating boundary.

Mark Cuban's useful proposition is that generic software forces a business to adapt to the tool, while custom AI can adapt the tool to the business. The proposition is directionally right. The common implementation is not.

Fine-tuning is not “put all our files into a model.” It is not a replacement for a database, a search system, permissions, or management judgment. It is a way to make a model repeat stable behavior: the voice, format, classification logic, escalation pattern, and decision structure that distinguish how your company works.

The facts that change belong in retrieval. The behavior that should remain consistent can belong in an adapter. Actions belong behind explicit tools and permissions. Quality belongs in a test set. Accountability belongs to a named human.

The opportunity is not to build one giant company brain. It is to build a small, measured operating system for one recurring job.

The shortest honest answer

  1. Choose one narrow, frequent, expensive workflow.
  2. Prove what prompting, rules, retrieval, and structured outputs can already do.
  3. Fine-tune only the stable behavior that the baseline still performs inconsistently.
  4. Keep current facts and source citations outside the weights.
  5. Integrate the result where people already work, with permission limits and human review.
  6. Measure corrections, time saved, defects prevented, and unsupported promises.
Operational advantage = private examples × fixed evaluations × current knowledge × workflow integration × correction speedThe model matters. The learning system around it matters more.

01 / Diagnose

Decide the job before you touch a model

Start with a job description, not a technology preference. A useful first sentence has three parts:

When this event happens, the system should produce this result, under these constraints.

For example: “When a residential cabinet inquiry arrives, draft an estimate request in our tone, extract the job details into the CRM schema, identify missing measurements, and refuse to promise an installation date.”

That sentence is trainable and testable. “Build an AI that knows the business” is neither.

GOOD FIRST JOB

Ticket or email triage

Classify intent, urgency, owner, and next action the way your strongest operator would. The input and output are visible, frequent, and easy to audit.

GOOD FIRST JOB

Structured extraction

Turn invoices, quotes, applications, or field notes into a fixed schema. Test structured output before fine-tuning. Train only if document-specific interpretation remains inconsistent.

GOOD FIRST JOB

Drafting within policy

Create estimates, follow-ups, or support replies using a stable voice and decision sequence. A human approves the message until the measured error rate is acceptable.

BAD FIRST JOB

Know everything

A universal business assistant hides scope, permissions, data quality, and failure costs. Break it into separate specialists with separate evaluations.

Use the lightest tool that solves the failure

Small businesses lose time when every AI problem is called “fine-tuning.” The actual choice is a routing problem.

Diagnose the failure before choosing the intervention.
Observed failureFirst interventionWhyFine-tune?
The answer is current but badly phrasedPrompt and examplesThe knowledge exists. The instruction is weak.Only if style remains inconsistent across many cases
The answer lacks a current price, policy, or order statusRetrieval or tool callChanging facts should remain editable and traceable.No, not for freshness
The output will not stay inside a schemaStructured outputs and validationA schema is enforced by software, not prose.Only for persistent interpretation errors
The model classifies or decides differently than the best employeeFew-shot baseline, then fine-tuningThe missing asset is a stable learned pattern.Often
The system must update a CRM, send a message, or issue a refundTool integration and permissionsActions need authorization, idempotency, logs, and limits.Fine-tuning does not grant safe authority
The process itself is vague or contestedFix the processA model cannot stabilize a policy the company has not decided.Not yet
Event

A ticket, form, invoice, call note, or task enters the workflow.

Retrieve

Current policies, prices, records, and cited sources are fetched.

Behave

The model follows the trained format, voice, and decision pattern.

Validate

Schemas, business rules, permissions, and evaluations check the result.

Approve

A human or bounded policy authorizes the external action.

Visual architecture showing curated examples and current documents flowing into a compact model, then through validation, permissions, human approval, and business tools
The operating split: gold examples shape stable behavior, blue sources supply current facts, and external actions remain behind validation, permission, and human approval.

02 / Specify

Write an acceptance contract

Before collecting training data, define what counts as correct. This is the difference between a demonstration and an operating system.

An acceptance contract for a support-drafting model might say:

Add a cost of failure. A wrong internal category can be corrected cheaply. An invented delivery promise can damage trust. A wrong medical, legal, financial, employment, or safety decision can cause serious harm. The more consequential the output, the more the system should retrieve sources, constrain actions, log decisions, and require qualified human review.

Operating rule: If you cannot describe a failure, assign its cost, and name who catches it, the workflow is not ready for automation.

03 / Curate

Build a golden set, not a data dump

Your historical archive contains examples of the company at its best, average, confused, rushed, outdated, and wrong. Training on all of it teaches the model to reproduce the entire distribution.

Start with a screening set of roughly 100 to 300 high-quality examples for one task, plus 30 to 50 untouched evaluation cases. These are starting ranges, not laws. The right volume depends on task diversity, model quality, response length, and the precision you need.

Good source material

What to exclude

Minimize before you anonymize

Anonymization is not a magic eraser. Names can be removed while combinations of location, order details, dates, and circumstances still identify a person. Begin by asking whether each field is necessary. Remove what the task does not need. Then replace identifiers with consistent placeholders such as [CUSTOMER], [EMAIL], [ORDER_ID], and [LOCATION].

Keep a written data register: source, owner, permitted use, sensitivity, retention period, access group, and deletion method. If the dataset contains regulated, contractual, employee, health, payment, or customer information, obtain appropriate legal and security review before training.

Represent the behavior explicitly

For conversational tasks, a message-based JSONL format makes the instruction, input, and ideal answer visible. Hugging Face TRL's SFT Trainer supports conversational datasets using a messages field.

{"messages":[
  {"role":"system","content":"You draft cabinet estimates. Follow current shop policy from retrieved context. Never invent lead times."},
  {"role":"user","content":"[CUSTOMER] wants twelve painted shaker doors. Measurements are incomplete. Asked whether installation can happen next Friday."},
  {"role":"assistant","content":"Thanks for the details. Before I can price or schedule the work, I need the finished opening width and height for all twelve doors. I cannot confirm next Friday until measurements are verified and the current production calendar is checked. I have listed the missing measurements below."}
]}

Do not train current lead times into the response. Train the behavior of checking, qualifying, and refusing to invent. Retrieve the actual calendar at run time.

Split by source, customer, or time

A random 80/10/10 split is easy to understand, but it can leak near-duplicate threads across train and test. When possible, split by customer, project, document family, or time period. Preserve a truly untouched test set. Otherwise the score may measure memorization of a template rather than generalization to new work.

04 / Baseline

Make the generic model earn the fine-tune

Before training, run the same evaluation against the strongest practical baseline:

  1. A clear system instruction.
  2. Three to ten representative examples.
  3. Retrieved current documents or records.
  4. A required output schema.
  5. Deterministic business-rule checks after generation.

Record every failure by category. If the baseline misses facts, fix retrieval. If it violates the schema, strengthen validation. If it misunderstands the task, improve the instruction and examples. Fine-tune when a stable pattern remains unreliable after these simpler controls.

DecisionWas the policy or classification correct?
EvidenceDid the answer use the right current source?
FormDid it follow the required schema and format?
RestraintDid it avoid invented facts and promises?
VoiceDoes it sound like the company at its best?

Keep the baseline results. After training, the custom model must win on the same held-out cases, at an acceptable latency and operating cost. “It feels more like us” is not enough.

05 / Select

Choose a compact model you can govern

The right starting model is not simply the newest or largest. It must fit the task, language, hardware, license, context length, tooling, and risk profile.

Two concrete, permissively licensed examples available in 2026 are Qwen3-4B-Instruct-2507, published under Apache 2.0, and Microsoft Phi-4-mini-instruct, a 3.8-billion-parameter model published under the MIT license. These are starting candidates, not universal winners. Model catalogs move quickly. Recheck the model card and license before every production decision.

Benchmark candidates on your own held-out work.
QuestionEvidence to collectFailure if ignored
Does the license permit the intended use?Saved model card and license versionCommercial or distribution conflict
Does it handle your language and domain?Held-out task score, not a general benchmarkFluent but wrong output
Does it fit the serving environment?Measured memory, latency, throughput, and powerA model nobody can afford to run
Does it support the required context and schema?Long-document and structured-output testsTruncation or invalid fields
Can you update or replace it?Versioned base, adapter, prompt, eval, and rollback recordVendor or checkpoint lock-in

Memory requirements vary with checkpoint, quantization, context length, batch size, adapter settings, optimizer, and implementation. Test the exact configuration. Do not approve a project from a viral claim about what “fits on one GPU.”

06 / Train

Train the adapter, not the whole model

Low-Rank Adaptation, or LoRA, freezes the base model and trains smaller low-rank matrices. Quantized LoRA, commonly called QLoRA, further reduces memory use by loading the base model at lower precision during adapter training. The resulting adapter can be much smaller than a full model copy and can be versioned separately.

That makes adapters well suited to a portfolio of narrow business specialists: one for estimate drafting, one for support classification, one for document extraction. It does not eliminate the need to validate the combined base model, adapter, prompt, retrieval system, and serving stack as one release.

Lower-friction path

Unsloth Desktop and Studio provide local tooling for running models, preparing datasets, training adapters, and exporting formats. A business owner can use that interface for the first experiment without building a raw training stack. The ease of clicking “train” makes the acceptance contract even more important.

More-controlled path

Use a scripted environment with Unsloth, Hugging Face PEFT, and TRL. Version the environment, base checkpoint, dataset hash, split logic, random seed, configuration, adapter, and evaluation result.

Parameters such as LoRA rank 16, alpha 16 or 32, two to three epochs, and a moderate learning rate are reasonable experiments, not defaults ordained by the field. Run small comparisons. Stop when held-out performance stops improving. A falling training loss can accompany a model that is learning your examples too literally.

Release unit: Base checkpoint + adapter + prompt + retrieval configuration + tool permissions + evaluation report. An adapter alone is not a deployable system.

07 / Evaluate

Test like an owner, not a demo producer

Run the untouched test set, then add 30 to 50 current cases that were not available during training. Include normal work, edge cases, adversarial phrasing, missing information, conflicting documents, and requests the system should refuse.

Use a structured scorecard and require a human explanation for every failure.

QUALITY

Correct outcome

Did it make the decision the responsible employee would make? Record disagreements instead of averaging them away.

GROUNDING

Current and traceable

Did factual claims come from retrieved, authorized sources? Can a reviewer identify the source version?

BOUNDARY

No unsupported promise

Did it avoid inventing price, timing, inventory, warranty, authority, or policy?

SECURITY

No sensitive disclosure

Did it respect role boundaries, resist injected instructions, and avoid exposing unrelated records?

If fact errors dominate, repair retrieval. If format errors dominate, repair schema enforcement. If decision or voice errors cluster, add a small set of corrected examples to the training data and run a new version. The second disciplined iteration is often more valuable than the first large training run.

Keep the old adapter and its score. A new version should not replace production merely because it is newer.

08 / Deploy

Put it where the work already happens

The custom model creates value only when it reduces friction inside the existing workflow. An internal web form, helpdesk draft panel, CRM action, accounting queue, or messaging assistant is more useful than a separate chat window employees forget to open.

Ollama exposes an OpenAI-compatible local endpoint, which can reduce integration work for tools already built around that interface. It also supports structured outputs. Unsloth documents export options including GGUF. Validate that export and quantization preserve the behavior measured before deployment.

Local is a location, not a security program

Running on a workstation you control can reduce data sent to third-party inference providers. It does not automatically provide access control, encryption, safe logs, backups, patching, network isolation, or incident response.

At minimum, define:

The NIST AI Risk Management Framework is a useful governance reference for mapping, measuring, managing, and governing AI risk. It does not replace requirements specific to your industry, jurisdiction, contracts, or data.

Separate prediction from authority

A model can recommend that a ticket receive a refund. It should not possess unrestricted refund authority. Put actions behind conventional software controls:

This is correspondence in operational form. As above, the model proposes a pattern. So below, the company must still survive the consequence.

09 / Operate

Build the correction loop

Treat the system like a junior employee whose work is inspectable. Every production output should create one of four signals: accepted, edited, rejected, or escalated. Capture the reason for edits. Those reasons reveal whether the next intervention belongs in training data, retrieval, the prompt, a business rule, or the underlying process.

Circular operational learning loop showing a model draft, human review, a marked error, corrected examples, a test gate, versioned adapters, and a preserved rollback version
The correction loop: review real work, mark the failure, add the corrected example, test a new adapter, preserve the prior version, and release only after the held-out gate passes.

Do not retrain because a price changed. Update the source of truth. Retrain when the desired behavior changed or when repeated behavior errors have produced enough reviewed examples to justify a new version.

Correction velocity = reviewed failures ÷ time from discovery to verified improvementA model that learns from operations can compound. A model that merely generates text decays into another inbox.

The metrics that matter

Do not report “messages generated” as value. A faster stream of drafts can create more review work. Measure the completed business outcome.

10 / Execute

A 30-day plan a small business can actually run

WEEK 01

Choose and measure

Select one workflow. Write the acceptance contract. Preserve 30 to 50 test cases. Establish current cycle time, error rate, and review burden.

WEEK 02

Curate and baseline

Build the golden set. Minimize sensitive data. Test prompts, examples, retrieval, schemas, and rules against the untouched cases.

WEEK 03

Train and compare

Train one compact adapter only if a stable behavior gap remains. Compare it with the baseline using the same cases and scorecard.

WEEK 04

Pilot with humans

Integrate the winner into one internal queue. Humans approve every external output. Log corrections, defects, time saved, and cases that should never be automated.

At day 30, choose among four honest outcomes:

11 / Compound

What Cuban's proposition gets right

Generic software reflects the vendor's model of a business. Custom AI creates the possibility of encoding your operating judgment without rebuilding the entire application. That can shift software from a rigid form into a flexible layer fitted to the way the company already creates value.

But the durable advantage is not “we fine-tuned a model.” An adapter can be copied, replaced, or outperformed. The harder asset is the living system around it:

This is why the scarce resource is not merely CUDA, a larger checkpoint, or a prompt library. It is an owner willing to define the work, show what good looks like, measure the result, and keep responsibility attached to the system.

Do not build a company brain

Build a portfolio of bounded specialists. An estimator adapter should not inherit payroll permissions. A support model should not decide credit. A bookkeeping extractor should not send an invoice simply because it parsed one.

Boundaries make systems easier to evaluate, secure, replace, and improve. They also reveal where conventional software is the better tool.

Train the behavior. Retrieve the facts. Constrain the actions. Measure the work.

That is the practical path from a generic chatbot to a system that fits the business without forcing the business to become the system.

Primary technical references

Educational and operational guidance only. Model behavior, licensing, privacy, security, employment, consumer-protection, and sector-specific obligations require review for the actual system and jurisdiction. Technical claims were checked against the primary documentation linked above. AI tools assisted research, editing, and original illustration production.

The weekly intelligence letter

Build systems that have to survive reality.

Source-linked research on AI, robotics, capital, and the operating systems connecting them.

Share this field guide