Guided project · How chatbots work · Talking to AI

Build your own custom AI assistant

Create a personal assistant with its own instructions and knowledge files, then test it like a professional.

About 60 minBeginnerNo coding needed
0 of 7 steps done

What you'll build

A custom assistant, for example a "Study buddy" that quizzes you on AI terms, with a written test log.

What you'll learn

  • How a system prompt shapes a chatbot
  • Adding knowledge files (a simple form of RAG)
  • Testing for hallucinations and edge cases

You'll need

Gemini (Gems), Claude (Projects) or ChatGPT (GPTs; creating them may need a paid plan)

Create a free account to unlock this project

The step-by-step instructions, copy-ready prompts, progress tracker and portfolio texts are for members. It's free, takes under a minute, and unlocks all guided projects.

Want to try first? These projects are open to everyone: Prompt lab and One idea, five posts.

Before you start

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Step by step

  1. Write the job description

    In a doc, write in 3–5 lines: who the assistant is for, what it should do, and what it must never do.

    Copy this text
    Purpose: help beginners revise AI terms.
    Does: explains terms simply, gives an everyday analogy, then asks me one quiz question.
    Never: invents facts; gives answers without checking the knowledge file first.

    You should see: A clear purpose. Everything else builds on this.

  2. Create the assistant

    Open your tool: Gemini → Gems → New Gem, Claude → Projects → New project, or ChatGPT → GPTs → Create. Give it a name.

    You should see: An empty assistant waiting for instructions.

  3. Paste the instructions

    Paste these into the instructions box and adjust them to your purpose.

    Copy this text
    You are "AI Study Buddy", a patient tutor for complete beginners.
    For every term I ask about:
    1. Explain it in 2 plain sentences.
    2. Give one everyday analogy.
    3. Ask me one multiple-choice question to check I understood.
    Use the uploaded file as your main source. If the answer isn't in it, say so before using general knowledge.
    Keep answers under 120 words. Be encouraging.

    You should see: Saved instructions the assistant will follow in every chat.

  4. Add knowledge

    Upload a file it should use, for example a page of notes from this site's glossary saved as a document.

    You should see: The assistant now answers from your file, like a mini RAG system.

  5. Test with 6 questions

    Ask: two normal questions, one that's not in the file, one trick question, one in another language and one request it should refuse.

    You should see: Most answers follow your rules. Note any that don't.

  6. Fix and retest

    For each failure, change one line of the instructions, then ask the same question again.

    You should see: Better behaviour after small, targeted changes. That's how real assistants are tuned.

  7. Write a test log

    Make a small table: question, expected behaviour, actual result, fixed (yes/no).

    You should see: Evidence that your assistant works, which you can show in an interview.

Level up

  • Add a second knowledge file and see if answers mix them correctly.
  • Ask a friend to try to break it and log what happens.
  • Build a second assistant for your actual job.

Lessons behind this project

Show it off

Finished? Post about it on LinkedIn. Here's a starting point; add a screenshot and your own words.

Copy this post
I built my own AI assistant today, with custom instructions, a knowledge file and a test log. Turns out the instructions matter as much as the model! Learned with AI From Zero.
Share on LinkedIn

Add it to your portfolio

Employers love seeing what you've built. Use these ready-made texts, then add your own results and a screenshot.

1. A line for your CV or LinkedIn "Projects" section

Copy for your CV
Build your own custom AI assistant: A custom assistant, for example a "Study buddy" that quizzes you on AI terms, with a written test log. Skills: How a system prompt shapes a chatbot, Adding knowledge files (a simple form of RAG), Testing for hallucinations and edge cases. Tools: Gemini (Gems), Claude (Projects) or ChatGPT (GPTs; creating them may need a paid plan).

2. A README for GitHub

Create a free GitHub account, make a new repository, add a file called README.md and paste this in along with screenshots of your work.

Copy README.md
# Build your own custom AI assistant

Create a personal assistant with its own instructions and knowledge files, then test it like a professional.

## What I built
A custom assistant, for example a "Study buddy" that quizzes you on AI terms, with a written test log.

## What I learned
- How a system prompt shapes a chatbot
- Adding knowledge files (a simple form of RAG)
- Testing for hallucinations and edge cases

## Tools
Gemini (Gems), Claude (Projects) or ChatGPT (GPTs; creating them may need a paid plan)

## How it works
1. Write the job description
2. Create the assistant
3. Paste the instructions
4. Add knowledge
5. Test with 6 questions
6. Fix and retest
7. Write a test log

## Results
(Add a screenshot and 2–3 sentences about what you found. Never include API keys or personal data.)

## Next steps
- Add a second knowledge file and see if answers mix them correctly.
- Ask a friend to try to break it and log what happens.
- Build a second assistant for your actual job.

---
Built by following the free guided project at https://learnaifromzero.com/projects/custom-assistant.html