Dev.to AI 🤖 Ai 👁 2 📖 17 min read

Stop Chatting With AI. Start Staffing It.

Stop Chatting With AI. Start Staffing It. A field guide to setting up AI agents that actually do repeatable work for a small business INTRO Most small-business owners treat an AI model like a g

Stop Chatting With AI. Start Staffing It.

A field guide to setting up AI agents that actually do repeatable work for a small business

INTRO

Most small-business owners treat an AI model like a glorified search box: you type a single question, you get a single answer, and then the conversation ends. The result is a one-off answer that disappears as soon as you close the window. That approach gives you a quick fact or a draft, but it never builds anything that can be reused.

The owners who get real leverage keep the same models, but they add a thin layer of structure around them. They write a short brief that tells the agent what to do and why it matters, they give the agent a place to read background information, they store “recipes” for jobs that happen again and again, they define a checklist that the output must pass, and they schedule the agent to run at the right time. In other words, they turn a chat session into a repeatable employee.

This guide shows you how to create that structure without writing code. Every step is a copy-and-paste prompt you can drop into the tool you already use. The instructions come from daily practice: we run agents for customer-service emails, blog outlines, inventory alerts, and more, every weekday. By the end of the guide you will have a folder of plain-text files that act as the “office” for your AI staff, a brief template you can hand to any new task, and a simple way to verify the work before you trust it.

PART 1 — Give your agent a home

There are two practical ways to host an AI agent for a small operation:

  1. Local file-based bots – the model runs from a folder on your computer and reads plain-text files you keep next to it.
  2. Cloud-hosted bots – the model lives on a web service and stays active even when your laptop is shut down.

Both options can do the job. The key is to keep the knowledge base, the recipes, and the quality checks as simple text files that you own. When the tool you started with becomes too expensive or you want to try a newer model, you can move the folder to a new service without rebuilding everything.

Pick the environment you will actually open each day. If you already have a “Docs” folder you use for contracts and marketing copy, drop the AI files there and launch the bot from the same shortcut. If you prefer a web dashboard that you can reach from any device, sign up for a basic cloud bot and point it at the same shared folder (e.g., a Google Drive or Dropbox directory).

Do not spend weeks configuring integrations that you will never use. Set up three things now:

  • Memory file – a text file that the agent reads at start-up to remember ongoing projects or policies.
  • Recipe folder – a sub-folder where each repeatable job gets its own brief file.
  • Check list file – a short list of criteria the output must satisfy before you accept it.

Once those three pieces sit together, you have a portable “office” for your AI staff.

PART 2 — Brief it like a manager, not a search box

A single-line query produces a single-line answer. That is fine for trivia, but it is useless when you need an email, a report, or a social-media post that meets a business standard. Treat the AI as a new hire you are briefing on day one. Give it context, constraints, and a clear definition of success.

Below is the exact brief template you will copy into a text file for every new task. Keep the file name descriptive (e.g., refund-email-brief.txt).

Job:                [What the agent must produce]
Why it matters:     [Business reason for the task]
Done looks like:    [Concrete description of a satisfactory result]
Facts to use:       [Files, data sources, or key points the agent must read first]
Never do this:      [Specific actions or language to avoid]
How to check:       [Checklist or test the output must pass]
--- 
Before you start, ask me up to five questions about anything that is unclear.

Why the “ask me up to five questions” line matters most
The AI model will not guess the missing pieces; it will ask for clarification if you invite it. By giving it permission to ask, you reduce the chance of a half-baked output that later needs heavy editing. The questions also surface hidden assumptions you might have missed when you wrote the brief.

Example brief for a small-business scenario

Job:                Draft a reply to a customer who received a late delivery and is requesting a refund.
Why it matters:     Protect the brand’s reputation and comply with our refund policy while limiting loss.
Done looks like:    A polite email that (1) acknowledges the delay, (2) explains the cause, (3) offers a partial refund of $15, (4) includes a coupon for a future purchase, and (5) ends with a friendly sign-off.
Facts to use:       - Order #4521 details from orders.txt  
                    - Refund policy excerpt from policy.txt  
                    - Current coupon code “SAVE10” from coupons.txt
Never do this:      Do not promise a full refund or a discount larger than 10% without manager approval.
How to check:       - Does the email contain all five required elements?  
                    - Is the tone apologetic but not overly defensive?  
                    - Are the monetary values correct?  
                    - No mention of “AI” or “bot”.
--- 
Before you start, ask me up to five questions about anything that is unclear.

Practical tips

  • Voice dictation – If you find typing brief after a busy morning slows you down, use your phone’s speech-to-text feature to dictate the brief directly into the text file. The structure stays the same; you just write faster.
  • Iterate on the brief, not the output – When the first draft misses a point, refine the brief (add a missing fact, tighten the “never do this” rule) instead of editing the email line-by-line. Over time the brief becomes a reliable recipe that you can reuse.
  • Save good briefs – Store every brief that produced a satisfactory result in a “recipes” sub-folder. Over months you will build a library of proven workflows that you can schedule or trigger automatically (see Part 6).

With this briefing method you turn a casual chat into a repeatable work instruction, and you give the AI a chance to ask the right questions before it starts. This is the foundation for scaling AI assistance across your business.

PART 3 — Give it a memory, or repeat yourself forever

Without a memory the AI starts each conversation from scratch. That means you spend the first five minutes of every call re-explaining what you sell, who your customers are, and how you like to sound. The fix is simple: give the agent a folder of plain-text files it can read before it works. Think of the folder as a “cheat sheet” that lives outside the chat window.

Starter memory layout

memory/
│
├─ RULES.md          # How to use the other files, never delete, date every new fact
├─ BUSINESS.md       # What the business does, who it serves, pricing, key facts
├─ VOICE.md          # Writing style, two example replies we love, one we hate
├─ CUSTOMERS.md      # Notes on regulars, tricky cases, preferred contact channels
├─ DECISIONS.md      # What we decided, when, why – short bullet entries
└─ projects/
   └─ Project-Name/
       └─ README.md   # Scope, milestones, deliverables for this big effort

Fast way to fill the files

Let the agent interview you. Copy the prompt below, paste it into a fresh session, and answer one question at a time. After the 25-question run, ask the agent to write the five core files.

You are going to act as my business knowledge collector. Ask me ONE question at a time, waiting for my answer before moving to the next. Limit the whole interview to 25 questions. Cover: what we sell, who buys, price points, tone of voice, repeat customers, key decisions made, and any large projects. When you have all answers, generate the following files in the structure shown earlier: RULES.md, BUSINESS.md, VOICE.md, CUSTOMERS.md, DECISIONS.md. Keep each file under one printed page. Use the date format YYYY-MM-DD for every new fact.

Daily habit

At the end of every job, tell the agent:

“Write a brief note of what you learned from this task and append it to the appropriate file in the memory folder.”

Keep each entry short—no more than a paragraph. This prevents the files from ballooning and makes weekly reviews painless.

Weekly cleanup

Set a weekly reminder. Run this prompt in a fresh session:

Read all files in the memory folder and list any statements that are outdated, contradictory, or no longer relevant. Output a numbered list with the file name, line excerpt, and suggested action (delete, update, keep). Limit each suggestion to one sentence.

Apply the suggestions immediately; the memory stays reliable.

Session hygiene

Long sessions accumulate stale context. For each distinct job, start a new session. When you finish and need to hand the work to another agent or a human, ask for a one-page handoff note:

Summarize what was decided, what was completed, what is left undone, and any failures that occurred during this job. Keep the note to one page and title it “Handoff – [Job Name] – YYYY-MM-DD”.

Store the handoff note alongside the job’s folder in projects/. This practice keeps the AI from “remembering” irrelevant details across jobs and gives you a clean audit trail.

PART 4 — Turn repeated jobs into recipes

A recipe (sometimes called a skill) is a single-page, plain-English instruction that tells the agent exactly how to perform ONE recurring task. Write it after you have run the job successfully a few times, not before you start from a blank page.

How to create a recipe

  1. Run the job with the agent, correcting mistakes until the output meets your standards.
  2. Once you are satisfied, feed the agent this prompt:
You have just completed a job correctly. Write a recipe for this job in plain English. Include:
- When to use it (trigger condition)
- Ordered steps the agent must follow
- Checks to perform before declaring the job done
- A “mistakes to avoid” list that records any errors we corrected today, with dates
- Any rule that governs the decision (e.g., “never offer a discount above 10 % because margins”).  

Keep the whole recipe to one printed page. Title it “Recipe – [Job Name]”.
  1. Save the output as recipes/Job-Name.md.

Test the recipe

Open a brand-new session with no prior context and run:

Please perform the “Reply to a negative review” job using the recipe file at recipes/Reply-to-negative-review.md.

If the agent asks you for additional background, that information belongs in the recipe, not the chat. Update the recipe accordingly and retest.

Example recipe

# Recipe – Reply to a negative review (Small shop)

**When to use**  
- Customer leaves a 1- to 3-star review on Google, Yelp, or Facebook.

**Steps**  
1. Read the full review text.  
2. Open BUSINESS.md and pull the correct product/service name and price if mentioned.  
3. Acknowledge the reviewer’s feeling in one sentence.  
4. Offer a private resolution (phone number or email) and invite them to contact you.  
5. End with a courteous sign-off, never argue or blame the customer.  
6. Keep the reply under 120 words.

**Checks before finishing**  
- Does the reply contain the customer’s name (if provided)?  
- Is the tone consistent with VOICE.md?  
- Is the word count ≤ 120?  
- Have we avoided any discount higher than 10 % (see RULES.md)?

**Mistakes to avoid**  
- 2024-11-02: Said “We’re sorry you felt that way” – too vague; replaced with “We’re sorry you had a disappointing experience with our [product].”  
- 2024-11-15: Offered a 15 % discount – violated margin rule; changed to “We can offer a complimentary service upgrade.”

**Rule**  
Never offer a discount above 10 % because it erodes profit margins. Use the rule to decide whether a discount is permissible in any similar situation.

Keep it one-job-per-recipe

If a task branches into multiple outcomes, create separate recipes for each branch. This keeps each file focused and easier to maintain.

Ongoing maintenance

Whenever you discover a new edge case while using a recipe, open the same session and run:

Add a “mistake to avoid” entry to the recipe “Reply to a negative review” with today’s date and a brief description of the error.

Regularly (monthly is fine) run the weekly cleanup prompt on the recipes/ folder to catch duplicate or obsolete recipes.

By converting repetitive work into concise, test-driven recipes, you eliminate the need for on-the-fly instructions and give the AI a reliable playbook it can follow without supervision.

PART 5 — Check the work, or you’re guessing

You can’t trust a feeling that something is “better” until you have a way to measure it. Build a tiny, repeatable scorecard that lets you compare the agent’s output against what you already know works.

  1. Gather a reference set – Pull about 20 real past jobs from your archive (customer emails you answered, social posts that performed well, proposals you signed). For each item, save two things: the exact input you gave the agent and the final result you were happy with. Make sure at least a third of the set are hard cases – things the agent got wrong before, or edge-case requests that stretched your tone or knowledge.

  2. Write pass/fail questions – From the failures you observed, craft 3-6 binary questions that capture the most important quality checks. Typical questions look like:

    • Are all factual statements correct?
    • Does the tone follow the guidelines in VOICE.md?
    • Are no invented prices or unavailable features mentioned?
    • Is this something I would send without editing?

Keep the wording short and unambiguous. The grader will answer PASS only when it is 100 % sure; any doubt equals FAIL.

  1. Create a copy-paste grader prompt – This is the prompt you feed to a different model (e.g., GPT-4 if the work model is GPT-3.5). The prompt must include the input, the agent’s output, and one “gold-standard” example from your reference set. Example:
   You are a strict quality auditor. Below is the original request, the agent’s response, and a known-good example.

   INPUT:
   {{input}}

   AGENT OUTPUT:
   {{output}}

   GOOD EXAMPLE:
   {{example}}

   Answer each of the following questions with PASS or FAIL, followed by a single-sentence justification. If you are unsure about any part, answer FAIL.

   1. Are all factual statements correct?
   2. Does the tone match VOICE.md?
   3. Are no invented prices or unavailable features mentioned?
   4. Would I send this unedited?

Replace the placeholders with the actual text when you run the test.

  1. Validate the grader – Run the grader manually on 10 reference cases. Compare its PASS/FAIL list to your own judgment. If it disagrees on more than a couple of items, tweak the wording of the questions or add clarifying notes. The goal is a grader that mirrors your standards most of the time.

  2. Improvement loop – Change only one line in the recipe file (the prompt, temperature, a few examples, etc.). Then run the entire scorecard again. For each of the 20 cases, generate three independent outputs (agents vary). Record the pass rate (number of PASS answers ÷ total questions). Keep the change only if the overall pass rate rises.

Keep five of the 20 cases hidden; never use them to guide tweaks. They act as a sanity check that you haven’t over-fitted to the visible set.

  1. Let the agent iterate itself – Once you trust the grader, you can hand the loop to the agent. Give it a prompt that lets it edit the recipe file, re-run the scorecard, and log the results. The agent must never edit the test cases or the grader prompt. Here is the loop prompt you can paste into a script:
   You are an autonomous optimizer. Your only permission is to edit the file "recipe.txt". Do not modify any other files.

   Loop up to 20 times:
   1. Load "recipe.txt".
   2. Run the scorecard on the 20 visible cases (three runs each) using the grader model.
   3. Record the overall pass rate.
   4. If the pass rate improved compared to the previous iteration, keep the edit; otherwise revert to the prior version.
   5. Log the edit, pass rate, and any failures in "opt_log.md".
   6. If no improvement after 3 consecutive attempts, stop.

   Remember: you may only change "recipe.txt". Do not touch the test cases, the grader prompt, or any secret files.

This loop guarantees that any improvement comes from a better recipe, not from a softened test.

By the end of this process you will have a concrete, repeatable metric that tells you whether a tweak helped or hurt. No more guessing; you have data to back every change.

PART 6 — Put it on a schedule, then add hands

An agent that only works when you summon it is a manual helper, not an automation. Move it into a daily rhythm, then give it limited autonomy.

1. Connect tools cautiously

Start with read-only access. Link the agent to your email inbox and calendar using API tokens that can only fetch data. After each connection, run a tiny test: ask the agent to list today’s meetings or pull the subject line of the latest unread email. Verify the output matches what you see in the native app. Only when the test passes do you proceed to the next integration (e.g., a CRM read-only view).

2. Define standing jobs

Give the agent two fixed daily tasks.

Morning briefing (7:30 AM weekdays)

Prompt example:

Read my inbox (unread only) and my calendar for today.  
Compose a briefing that includes:
- The three emails that need my reply, each with a draft reply.
- Today’s meetings, each with one line of prep (e.g., “review Q3 numbers”).
- Any open items from yesterday, draft only.
Do not send anything; just return the text.

Nightly tidy-up (after work)

Prompt example:

Review everything I did today (emails sent, docs edited, tasks closed).  
List every correction I made manually and every job I duplicated.  
Propose exact edits to the memory files and recipe files in a file called "proposals.md".  
Do not apply any changes yet; I will approve them in the morning.

The agent will output the briefings; you read them, edit if needed, and hit send. The nightly proposals sit in a draft folder for your morning review.

3. Safety rules for autonomous runs

  • Secrets stay out of chat. Store passwords, API keys, and card numbers in a vault (e.g., 1Password, HashiCorp Vault). The agent may only retrieve a token via a secure call; never embed the secret in a prompt or a file it can edit.
  • Ask-me-first list. Anything that can cause irreversible change—sending an email, making a payment, deleting a file—must be listed in RULES.md under an “ASK_ME_FIRST” section. The agent’s code should check this list before executing any action.
  • Two-week draft period. New routines (e.g., a weekly report generator) should run in “draft” mode for at least 14 days. During this window the agent writes the output to a staging folder; you must manually move it to production.

4. Scale sideways

Once the single agent is reliable, duplicate the pattern for other functions:

  1. Create separate folders for each agent (e.g., social/, support/, analytics/). Each folder contains its own recipe, memory files, and a small “checker” model (often a cheaper LLM) that runs the same scorecard against your standards.
  2. One-line summary. Configure each checker to return a single sentence: “All PASS” or “FAIL on X”. You read that line, decide to approve, reject, or ask for revision.
  3. Backlog of briefs. Keep a queue of pre-written prompts (e.g., “Write a 150-word product update for LinkedIn”) so the agents never sit idle waiting for you to type a request.

Use the strongest model you can afford for planning, validation, and the scorecard. Deploy a faster, cheaper model for bulk generation where the output will be filtered by the checker anyway.

By staging the automation—first a schedule, then limited autonomy, then multiple agents—you keep control, maintain safety, and still free up real work time. The system grows only as fast as your confidence in each layer.

THE SHORTCUT — “Have your agent build the setup with you”

You can create every folder, file, and rule by hand, but the quickest way to get going is to give your AI a single “setup” prompt and let it walk you through each step. Paste the block below into your chosen agent platform, hit enter, and answer the questions as they appear. The agent will pause after every instruction, so you stay in control while the whole structure appears automatically.

set this up with me one step at a time, wait for my answer before moving on.

Steps:
1) Create a memory folder with these files: RULES.md, BUSINESS.md, VOICE.md, CUSTOMERS.md, DECISIONS.md. Also create sub-folders called recipes and scorecard_cases.
2) Write RULES.md with these directives: read BUSINESS.md and VOICE.md before any task; never delete anything; date every new fact; ask me before any action that can’t be undone.
3) Interview me (one question at a time, max 25) to fill BUSINESS.md, VOICE.md, and CUSTOMERS.md.
4) Ask me which weekly job I dislike the most; perform that job together once; save the process as a recipe in the recipes folder.
5) Build a scorecard for that recipe using my past examples, then show me the first pass rate.

CLOSING

If you take away only one piece of this guide, make the memory folder today. With a dedicated place for rules, business facts, voice guidelines, customer profiles, and decision logs, every later step—recipes, scorecards, schedules, or multiple agents—becomes a matter of adding files, not inventing a new system. The underlying language models are the same for every user; the advantage lies in how you organize and protect the context around them. Build the folder, populate the core docs, and you’ll find the rest of the workflow falls into place with far less friction.

— Hokodaca, a small studio that builds and runs AI agents for small businesses

We also give away a free starter pack — “AI Customer Service Cheat Sheet” (10 copy-paste prompts for everyday customer messages) — https://hokodaca.gumroad.com/l/mmoowl. The full customer-service skill set is available in the same store for those who want deeper coverage.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.