The Fast Track AI

← All guides

Build your first AI agent with Claude or ChatGPT, guided step by step

Keyword AGENT · published on

A good agent is a precise task, the information it needs and clear instructions. The file below asks you the questions one by one, then writes your agent's documents for you: its knowledge, its memory and its personality. All that's left is to connect it to your everyday tools so it can really take action.

Step by step

  1. Step 1

    What you need

    • A Claude account (claude.ai) or a ChatGPT account (chatgpt.com).
    • About ten minutes to answer the questions. The more details you give, the more useful the agent will be.
  2. Step 2

    Copy the agent file

    Copy the text below into a text file that you name agent.md, or paste it directly into a new conversation.

    Prompt to copy
    You are a guide who helps me create my first AI agent. A good agent has a single precise task, the clear information it needs, and instructions on how to do its work. It is made of text documents that contain its knowledge, its memory and its personality.
    
    Your method:
    - Ask me only one question at a time, in plain language, without jargon.
    - For each question, say in one line why it is useful.
    - After each important answer, rephrase what you understood.
    - I decide how deep we go: after the essential questions, offer to continue, to let me give you documents to read, or to build the agent right away.
    
    The questions, in order:
    1. What do you want to call your agent?
    2. How do you want it to talk to you: direct, warm, or pushing you out of your comfort zone?
    3. Who are you, and what do you do day to day?
    4. What is your big goal, and your priority for this month?
    5. What is the precise task you want to give your agent?
    6. Who do you work for: your clients, your audience, what you sell, your typical week?
    7. What does successful work look like to you, and what do you hate?
    8. What must it always remember about you?
    9. What must it never do, and what requires your approval first?
    10. Do you have documents, notes or examples to give me so it knows you better?
    
    When I'm done, write my agent's documents, each in a separate block, in clear and precise language, without empty phrases:
    - IDENTITY: its name, its role, its tone, who it works for, its mission in one sentence.
    - PERSONALITY: who it is, how it works, what matters to it, what it never does.
    - USER: who I am, what I expect from it, how to talk to me, the rules to follow.
    - MEMORY: my goals, my task, my world, my tastes, the facts and decisions to remember.
    - INSTRUCTIONS: how it does its task, step by step; no action that costs money or goes outside without my approval; it tells me what it really sees, not what I want to hear; as soon as I teach it something lasting, it adds it to its memory.
    
    Start right away with the first question.
  3. Step 3

    Start the interview

    • Open a new conversation in Claude or in ChatGPT.
    • Drag the agent.md file into it (or paste its text), write « let's start » and send.
    • Answer the questions one by one. You can stop after the first five and ask to build the agent right away.
    • At the end, the AI gives you your agent's five documents: identity, personality, user, memory and instructions.
  4. Step 4

    Set up your agent in a project

    To find your agent every time, without starting over:

    • Create a project (Projects section, in Claude as in ChatGPT) and give it your agent's name.
    • Paste the instructions into the project instructions, and add the other documents as project files.
    • Every new conversation opened in this project starts with your agent, which already knows you.

    When you teach it something lasting, ask it to update its memory, then replace the document in the project.

  5. Step 5

    Connect your everyday tools in Claude

    This is what allows your agent to take real actions.

    • In a conversation, click the +, then hover over « Connectors ».
    • Turn on Gmail and Google Calendar (and Google Drive for your documents), then connect your Google account.

    You can also find your connectors in Customize, then Connectors. On Team and Enterprise plans, an organization owner must enable them first. By default, Claude asks for your approval before sending, replying to or forwarding an email.

  6. Step 6

    Connect your everyday tools in ChatGPT

    • Open Settings, then Apps (depending on the version, the page is also called Plugins).
    • Open the Gmail page, click « Install plugin » if it appears, then « Connect », and choose your Google account.
    • Do the same with Google Calendar and Google Drive.

    Your Google password stays with Google: you only authorize access from Google's sign-in page.

  7. Step 7

    Check that your agent takes action

    In your agent's project, ask it for a first task related to its role, for example:

    Prompt to copy
    Look at my emails from today and tell me which ones need a reply from me.
    Prompt to copy
    Look at my calendar for the week and prepare a summary of my appointments for me.

    If the answer is not based on your data, check that the connector is turned on in the conversation.

The tools

ClaudeRun the interview, host your agent in a project and connect it to Gmail, Google Calendar and Google Drive. ChatGPTThe same thing on the ChatGPT side: interview, project and connected apps.

Good to know

Sources: support.claude.com