Custom AI Assistants & Agents for Local Business

Build a working private custom assistant, then extend it into a bounded tool-using agent with approved data, grounding, evaluation, human approval, and safe operations.

30 lessons

Estimated lesson study time: 540 minutes

Lesson estimates are a guide, not a deadline. Allow extra time for practice, projects, and review.

Learn AI & Technology Access gives you full access to all 19 tracks and 552 lessons after sign-up and onboarding. No time limit, paid subscription, or payment card required.

Start Learn AI & Technology Access

Includes three AI Tutor answers across these courses. AI-generated content remains subject to Learn’s monthly allowance.

Track overview

Start with a real local-business workflow and decide whether it needs an assistant or a tool-using agent. Develop permitted grounding data, build and evaluate the assistant, then add bounded actions and an operating plan without granting unrestricted authority.

Who this track is for

Local-business owners, operators, and builders working on private business assistance.

Before you begin

Choose a bounded business task and use fictional, redacted, or explicitly permitted data. Identify the person responsible for reviewing outputs and approving actions.

What you will work toward

Work toward a private business assistant and bounded agent, supported by grounding sources, protected evaluations, safe-tool evidence, a cost guide, and a rollback plan.

Complete lesson outline

1. Choose the Right Assistant or Agent

5 lessons

  1. 1.1 Assistant, Agent, or Automation?

    18 minutes
    • Distinguish an assistant that responds, an agent that plans with tools, and deterministic automation
    • Match foundation models, configured assistants, retrieval, fine-tuning, and prediction to their proper roles
    • Choose the smallest, safest capability that can solve a measurable business problem
  2. 1.2 Find a Business Problem Worth Solving

    18 minutes
    • Map repetitive work, delays, errors, and missed opportunities in a local business
    • Separate a measurable business problem from a vague request to use AI
    • Write a bounded problem statement with an owner and affected customer or employee
  3. 1.3 Select a Safe, High-Value Use Case

    18 minutes
    • Score candidate use cases by value, feasibility, data readiness, and consequence of error
    • Reject uses that require unsupported authority or unacceptable privacy risk
    • Choose one pilot that can be reviewed by a responsible person
  4. 1.4 Choose Prompting, RAG, Fine-Tuning, or Machine Learning

    18 minutes
    • Choose prompting when instructions and examples are sufficient
    • Choose retrieval when answers must use current approved business knowledge
    • Choose fine-tuning or predictive machine learning only when validated examples justify it
  5. 1.5 Define Success Before Building

    18 minutes
    • Create baseline measures for time, quality, cost, conversion, or error rate
    • Define acceptance thresholds and failure conditions before testing
    • Estimate pilot value without treating projections as measured results

2. Grounding and Permitted Business Data

5 lessons

  1. 2.1 Inventory Permitted Data and Sources

    18 minutes
    • List documents, examples, records, and signals available for the selected use case
    • Identify ownership, licensing, consent, and contractual limits
    • Exclude unnecessary personal, confidential, or regulated information
  2. 2.2 Clean, Version, and Govern Knowledge

    18 minutes
    • Remove duplicates, outdated statements, contradictions, and irrelevant material
    • Organize approved knowledge by topic, date, owner, and review status
    • Create a source register that supports later verification
  3. 2.3 Create Examples and Protected Evaluations

    18 minutes
    • Write representative input-and-output examples from permitted business scenarios
    • Include normal, ambiguous, adversarial, and out-of-scope cases
    • Separate development examples from a protected evaluation set
  4. 2.4 Protect Customer and Employee Information

    18 minutes
    • Recognize personal, financial, health, employment, and authentication data
    • Apply redaction, access control, retention, and deletion rules
    • Document when legal, security, or subject-matter review is required
  5. 2.5 Approve Grounding Sources with a Readiness Checklist

    18 minutes
    • Evaluate coverage, accuracy, permission, freshness, and format
    • Record known gaps and the consequences they may create
    • Decide whether to proceed, repair the data, or change the use case

3. Build the Working Business Assistant

5 lessons

  1. 3.1 Define Role, Boundaries, and Human Handoff

    18 minutes
    • Define the assistant's users, purpose, approved actions, and forbidden actions
    • Write instructions that separate facts, recommendations, and drafts
    • Specify when the assistant must decline or hand work to a person
  2. 3.2 Produce Reliable Structured Outputs

    18 minutes
    • Define an output format that fits the receiving business workflow
    • Require source references, uncertainty, and missing-information fields where appropriate
    • Validate outputs before they trigger business actions
  3. 3.3 Ground Answers with RAG

    18 minutes
    • Explain how chunking, embeddings, retrieval, and generation work together
    • Build a source-grounded question-and-answer flow from approved business documents
    • Require traceable sources and refuse unsupported answers
  4. 3.4 Add Business Rules, Tools, and Human Approval

    18 minutes
    • Encode prices, service areas, policies, and approval limits outside free-form generation
    • Place human review before consequential messages or actions
    • Create fallback behavior for missing, conflicting, or low-confidence information
  5. 3.5 Build and Exercise a Working Multi-Turn Assistant

    18 minutes
    • Assemble instructions, approved knowledge, examples, outputs, and review controls
    • Run the prototype against representative business scenarios
    • Record failures without quietly changing the evaluation criteria

4. Extend the Assistant into a Bounded Agent

5 lessons

  1. 4.1 Plan an Agent Loop with Safe Tools

    18 minutes
    • Describe the observe, decide, act, and verify steps in a bounded agent loop
    • Define one read-only or reversible business tool with an explicit input and output contract
    • Keep tool selection, permissions, and consequential actions outside unconstrained model authority
  2. 4.2 Manage State, Memory, and Context

    18 minutes
    • Separate conversation state, task state, durable memory, and retrieved context
    • Choose what an agent may retain, for how long, and under whose permission
    • Prevent stale, sensitive, or user-controlled memory from silently changing behavior
  3. 4.3 Set Termination Conditions and Business Rules

    18 minutes
    • Set step, time, budget, confidence, and repeated-failure limits for an agent run
    • Encode deterministic business rules for eligibility, routing, and approval thresholds
    • Explain when the agent must stop, summarize state, and hand work to a person
  4. 4.4 Handle Prompt Injection and Agent Failures

    18 minutes
    • Recognize direct and indirect prompt injection, tool misuse, hallucination, and retrieval failure
    • Design layered defenses that treat retrieved text and tool output as untrusted input
    • Create a failure path that refuses, limits access, logs the event, and requests human review
  5. 4.5 Run Protected Evaluations and Control Cost

    18 minutes
    • Run protected evaluations for quality, safety, tool behavior, latency, and cost
    • Keep evaluation cases separate from development prompts and preserve reproducible results
    • Set token, request, tool-call, and review budgets with a stop or downgrade policy

5. Production Readiness and Controlled Operations

5 lessons

  1. 5.1 Design the Working Assistant Experience

    18 minutes
    • Place the multi-turn assistant and bounded agent inside a clear end-to-end workflow
    • Show users what the assistant can do, what it cannot do, and when approval is required
    • Provide correction, escalation, accessibility, and human-support paths
  2. 5.2 Identity, Permissions, and Safe Tool Access

    18 minutes
    • Map user, service, and tool identities using least privilege and explicit ownership
    • Separate drafting and read-only tools from sending, changing records, spending, or commitments
    • Log tool calls, approvals, denials, and consequential actions without excess content retention
  3. 5.3 Observe Quality, Cost, and Agent Behavior

    18 minutes
    • Define signals for quality, grounding, tool errors, latency, cost, drift, and human overrides
    • Trace an agent run across model calls, retrieval, tools, approvals, and final output
    • Set quotas, rate limits, alerts, and stop conditions that protect the business budget
  4. 5.4 Run a Controlled Pilot with Change Control

    18 minutes
    • Limit a pilot by users, duration, data, tools, authority, and acceptance criteria
    • Train participating employees on grounding review, approval gates, and incident reporting
    • Require documented change review and retesting before expanding scope or permissions
  5. 5.5 Operate, Roll Back, and Retire Safely

    18 minutes
    • Monitor quality, cost, latency, failures, complaints, permissions, and data drift
    • Maintain a versioned rollback path and incident response procedure for assistant and agent changes
    • Retire models, tools, credentials, data, and memories with an auditable handoff

6. Guided Capstone: Build for a Local Business

5 lessons

  1. 6.1 Capstone 1: Select the Business and Use Case

    18 minutes
    • Choose a real or realistic local business and obtain permission for any nonpublic information
    • Define one measurable problem, responsible owner, users, and excluded decisions
    • Complete a use-case canvas with baseline, risks, and acceptance threshold
  2. 6.2 Capstone 2: Prepare the Data and Evaluation Set

    18 minutes
    • Create a permitted grounding-source inventory with owner, permission, freshness, and provenance
    • Clean, organize, redact, and version the material used by the assistant and agent
    • Build a protected evaluation set containing normal, edge, injection, tool-failure, and unsafe requests
  3. 6.3 Capstone 3: Build the Working Assistant and Bounded Agent

    18 minutes
    • Implement a working private multi-turn assistant grounded in permitted sources
    • Extend it with at least one safe, bounded tool, structured outputs, business rules, and an approval gate
    • Demonstrate identity, permission, termination, fallback, and human-review controls without autonomous unsafe deployment
  4. 6.4 Capstone 4: Evaluate, Protect, and Improve the Agent

    18 minutes
    • Run the protected evaluation set and preserve results for quality, grounding, safety, tools, and cost
    • Compare assistant and agent behavior with the original baseline and acceptance threshold
    • Repair failures, retest changed behavior, and document limits, rollback, and operating decisions
  5. 6.5 Capstone 5: Present the Working Private Agent

    18 minutes
    • Demonstrate the working private assistant and bounded agent in the local-business workflow
    • Deliver a model/assistant card, grounding sources, protected evaluation results, cost and operations guide, and rollback plan
    • Present approval-gate and safe-tool evidence honestly, separating measured results from projections