Skip to main content

Part 1: Setup

Friendly Introduction to Agentic AI for Social Scientists

Published

November 10, 2026

Part 1 of 6 · about an hour

Setup

Install the Claude desktop app, make a project folder, meet the agent, and let it set up Python for you

What do we do in this part?

Before a new research assistant can help, they need a desk, access to the right files, and the tools of the job. The agent is no different. In this part we install the app, make a folder for the agent to work in, have a first conversation with it, and let it install its own tools.

New here? Read the overview first: it explains what an agent is and what you need.

The five steps in one minute. No sound. Open it full screen

This part takes about an hour. The agent explains each step before it takes it, and you approve. If something fails, nothing is broken. See the troubleshooting table at the end, or ask the agent what went wrong.

TipWorried you will break something?

Many people are, and it is a good instinct. Here is why you can relax.

  • Nothing happens without your click. In Manual mode the agent asks before it changes a file or runs anything. When in doubt, click no. Nothing bad follows from a no.
  • It works in one folder you choose. Your other files are outside it. If a request ever names another folder, click no and ask why.
  • Start with copies. Put copies of your files in the project folder and keep the originals where they are. In the worst case, you delete the folder and start again.
  • You can stop it at any time. The stop button interrupts it mid-step.
  • You can ask before you approve. “What does this do? Is it safe? Can it be undone?” The agent answers in plain language.
  • You can’t run up a bill. Pro has a fixed monthly price. When you reach the usage limit, the agent pauses until the limit resets, unless you choose to buy extra usage.
  • Even the Python setup can be undone. The agent writes down what it installed and how to remove all of it (Step 1.4).
NoteWhat you will have at the end

1.1 Install the Claude desktop app

NoteWhich plan do I need?

The free Claude plan has no agent. For this course you need Claude Pro: $20 a month, or $17 a month paid for a year. You can cancel any time, so one month is enough to try. Prices as of November 2026; see claude.com/pricing.

  • Usage limits. Every plan has a limit that resets every five hours, and a weekly one. Long sessions, large files and the strongest models use it up faster. When you hit it, you wait until it resets. Pro is enough for this course and for light regular use.
  • More usage. Max ($100 a month) gives five times the usage of Pro, and Ultra ($200) more still. Move up only when you keep hitting the limit.
  • Through your university. Ask whether it has a Claude Team or Enterprise plan. These include the agent, and conversations on them are not used to train models. On Pro and Max, training is a setting you choose in your account’s privacy settings.
  • The alternatives cost about the same: ChatGPT Plus ($20) includes OpenAI’s Codex, and Google AI Pro (about $20) raises the limits of Antigravity, which also has a free tier. See the box below.
  1. Download the installer: Claude for Windows. (On a Surface or other ARM laptop, use the ARM64 installer.)
  2. Run the downloaded file. If Windows shows a blue “Windows protected your PC” box, click More info → Run anyway.
  3. Open Claude from the Start menu and sign in with your Claude account.
  1. Download the installer: Claude for macOS. It works on Intel and Apple Silicon Macs.
  2. Open the downloaded .dmg file and drag Claude into Applications.
  3. Open Claude from Applications (or press Cmd+Space, type Claude) and sign in.

The desktop app for Linux is in beta, for Ubuntu and Debian. Follow the steps on the official page: Claude Desktop on Linux. Then start Claude from your application launcher and sign in.

On another distribution, use the terminal version of Claude Code: install guide. The rest of this course still applies. You type the same prompts in the terminal.

Then open the Code tab at the top of the left sidebar (hover over the icons if you see no names). If it asks you to upgrade, your plan doesn’t include Claude Code.

TipChat or Code?

The Chat tab is the chatbot you know. The Code tab is the agent. Don’t let the name mislead you: Code is for any work on files in a folder, text included.

Two agents work much like Claude Code. Most of this course carries over: the project folder, AGENTS.md, planning first, small steps, and checking.

Codex, by OpenAI. The closest alternative. It comes with every ChatGPT plan: Free and Go include limited use, Plus and higher give more.

  1. Install the ChatGPT desktop app, which now includes Codex. OpenAI’s instructions have the download links. On Windows it comes from the Microsoft Store.
  2. Sign in with your ChatGPT account and open Codex.
  3. Open your project folder, and start with the setting that asks before every action.
  4. Codex reads AGENTS.md by itself, so our starter file works as it is. Skills live in a different folder: ask Codex where to put them.

Antigravity, by Google. It runs Google’s Gemini models. It is free to start, with weekly limits; Google AI Pro raises them. It looks more like a programmer’s editor than a chat window.

  1. Download it from antigravity.google (Mac, Windows, Linux).
  2. Sign in with your Google account.
  3. Open your project folder, and choose the setting where the agent asks for your review before it acts.
  4. Ask the agent to read AGENTS.md at the start of each session, or copy its rules into the tool’s own rules.

In both, the prompts of this course work as they are. The menus and the names of the settings differ, and they change often. When in doubt, ask the agent itself: “How do I make you ask before every action?”

1.2 Make a project folder

The agent works inside one folder. Think of it as the desk you give to a new research assistant: what is on the desk, they can read and work on. What is not, they can’t. Everything for a project lives there: data, code, notes, drafts, outputs. It is good practice to use a new folder for each project.

  1. In your Documents folder, or in your Dropbox (see the box below), create a folder called ai-projects, and inside it a folder called first-project.
  2. Use short names without spaces or accents (first-project, not My First Project (ÁÉ)). Programs handle plain names better.
  3. Show file extensions, so you can tell .md, .csv, .py and .docx files apart.
    • Windows: in File Explorer, click View → Show → File name extensions.
    • Mac: in Finder, open Finder → Settings → Advanced and tick Show all filename extensions.
TipPut the folder in Dropbox

If you use Dropbox, OneDrive or Google Drive, it is good practice to create ai-projects there rather than in Documents. These services keep earlier versions of each file. So you can go back in time: if the agent spoils a file, open its version history and restore yesterday’s version. How far back you can go depends on your plan.

Git and GitHub do the same job more precisely, with a saved snapshot after each step that works. They take some setup. See How do I keep a history of every change? in Part 4.

Open the folder in Claude. In the Code tab, find the row of controls under the prompt box. Click the first one (the environment) and choose the top entry under Local. Then click the folder control next to it, choose Open folder… and pick first-project.

WarningWhat not to put in the folder (yet)

The agent sends what it reads to Anthropic’s servers. So keep confidential material out of the folder until you have checked your data agreement: interview recordings and transcripts, identifiable survey data, health records, anything under a data-use agreement, other people’s unpublished work. In the EU, the GDPR applies: interview transcripts and survey answers about people who can be identified are personal data, even when names are replaced by codes, and sending them to an AI company needs a legal basis and safeguards. Only fully and irreversibly anonymised data falls outside it. Ask your university’s data protection officer before using such material, and see the European Commission’s What is personal data?. Also check your Claude account’s privacy settings, which control whether your conversations may be used to train future models. For more, see AI and your data. For learning, public data and your own drafts are fine.

1.3 Have a first conversation with the agent

Set the permission mode (in the row under the prompt box) to Manual. The agent then asks before it creates or changes any file and before it runs anything. True, this is slower. But you see everything, and that is what we want at the start. We advise staying in Manual for your first week. Next to the permission mode is the model picker. Leave the default for now: we come back to it in Which model should you use?

Type this and press Enter:

Hi. I am new to this. What can you see in this folder? Then create a file called hello.md with three sentences about what you can do for a social scientist.

The agent looks at the folder (it is empty), then asks to create a file. Read what it wants to do. If it is unclear, click no and ask: “What does this do? Explain in one sentence.”

Then try four things.

  • Click hello.md in the chat. It opens inside the app.
  • Ask: “Make it two sentences and less formal.” The agent edits the file, not just the chat.
  • The next time it asks to change the file, click no, on purpose. Nothing changes, and the agent waits for your instruction.
  • Click the stop button to interrupt it. You can also type a correction while it works.

Note the second one. With a chatbot, you would get a new version in the conversation and copy it over. Here the file itself changed.

1.4 Let the agent set up Python

This is the most technical step of the course, and you don’t need to follow the details. It takes five to ten minutes. Read the one-sentence explanation before each command, then approve.

Why Python, if you work with text? The agent uses small Python programs as its tools: to read Word and PDF files, to convert formats, to handle large datasets and to draw charts. Python is free, it runs on every computer, and AI models write it well. You won’t write any of it yourself.

Copy this prompt into the agent:

I have never used Python. Please set up Python for this project folder.

- Use uv (a modern Python installer) to install Python and create an environment for this project only. Do not change anything else on my computer without asking.
- Before each command, tell me in one sentence what it does.
- Install these packages: pandas, matplotlib, openpyxl, pyreadstat, pymupdf, python-docx, pypandoc-binary, requests.
- Test it: write a short script code/00_test.py that makes a simple bar chart of five made-up numbers and saves it as output/test_chart.png. Run it.
- Finally write docs/SETUP-NOTES.md: what you installed, where it lives, how to run a script, and how to undo all of it.

What do the packages do? pandas handles data tables, matplotlib draws charts, openpyxl reads Excel, pyreadstat reads Stata and SPSS files, pymupdf reads PDFs, python-docx reads and edits Word files, pypandoc-binary converts between Markdown and Word, and requests downloads data from the web.

It worked if output/test_chart.png shows a bar chart. Keep docs/SETUP-NOTES.md: when something breaks months later, show it to the agent first.

Already use Stata or R? Keep using them. The agent can write and run do-files and R scripts, too. For this course, Python is the path.

  • Windows: if the agent says it needs Git, install Git for Windows with the default options, restart the Claude app, and ask the agent to continue.
  • Mac: a window may ask to install command line developer tools. Click Install, wait a few minutes, then tell the agent to continue.
  • “Command not found” right after an install: quit the Claude app fully and open it again.
  • In every case, paste the error into the chat and ask: “What went wrong? Explain simply, then fix it.”

1.5 Install a Markdown reader: Typora

The agent writes its notes, memos and plans in Markdown: plain text files ending in .md, where a few symbols do the formatting (# Title for a heading, **word** for bold, - item for a list). Agents read and write it very well, and the files open on any computer.

To read Markdown as formatted text, install Typora. It looks and edits like Word, runs on Windows, Mac and Linux, and costs about $15 once, after a free trial.

A free alternative is Zettlr, made for academic writing. It is open source, runs on Windows, Mac and Linux, and exports to Word.

  1. Download and install Typora from typora.io.
  2. Open hello.md from Step 1.3 in Typora (right-click the file → Open with → Typora). It should look like a formatted document.
  3. Make Typora the default program for .md files, so a double-click opens it.
NoteIf you write code, or plan to

Use VS Code instead (free). It previews Markdown and also shows the agent’s Python, R or Stata code. The main course uses it.

Which model should you use?

The Claude app offers several models, and they differ in strength, speed and price. You choose in the model picker, toward the right end of the row under the prompt box. You can change the model in the middle of a session, too.

Our advice is simple. Start with the default, and change only when you have a reason.

Model What it is Use it for Price
Opus (5.5) The default. A strong model for work that needs reasoning Almost everything in this course: extracts, the memo, the data task 1
Sonnet (5.5) Faster and lighter Routine work with a clear instruction: reformatting, tidying files, simple edits about half
Haiku (5.5) The smallest and fastest One simple step repeated many times, such as sorting short texts into categories a small fraction
Fable (5.2) The strongest model, and the slowest The hardest and longest tasks: a whole project from one prompt, as in Part 3, or the review of a finished paper about twice

The price column compares Anthropic’s list prices per unit of text with Opus (November 2026). With a subscription you don’t pay per task, but the price shows up in another way: the stronger the model, the faster you reach your usage limit. Fable is special. On the Pro plan it is paid from usage credits, and on Max it is included up to half of your weekly limit. Model names and versions change every few months, so the picker may show newer ones.

When should you change?

  • Go up to Fable when the task is long and has many steps, or when the default got the same thing wrong twice.
  • Go down to Sonnet or Haiku when you keep hitting your usage limit, or when the task is simple and you repeat it many times.

Two more points matter for researchers.

A stronger model is not a substitute for checking. Every model can misquote a paper or drop observations without saying so. The checks of Part 2 apply to all of them.

Write down which model you used. Models are replaced and retired, and the same prompt gives a different result with another model. For anything you may publish, note the model and the date, for example in DECISIONS.md. You would do the same for the version of a statistical package.

NoteOther settings worth knowing
  • Effort. In the model picker, under Effort, you set how hard the model thinks before it answers: low, medium, high, xhigh (extra high) or max. The default is medium. Lower is faster and uses less of your limit. We suggest medium for this course, and high for work where a mistake is costly, such as the data task or a review. Max is rarely worth it.
  • Thinking. The current models always think before they answer, and there is no switch for it. To read the thinking, set the Transcript view to Thinking.
  • The usage ring. Next to the model picker, a small ring shows how much of your plan’s usage you have used. Click it for the details.
  • Permission mode. Manual for now (Step 1.3). For what to choose later, see Step 2.1.
  • Long sessions. What the model can see at once is limited, and a long session fills it up. Start a new session for each task. Part 2 shows how to carry over what matters.

Want to use models from other companies, such as cheaper open-weights models? See Part 5. For a comparison of the main models, see Which AI model in the knowledge base.

Troubleshooting

Problem What to do
The Code tab asks me to upgrade Claude Code needs a Pro plan or higher. A free account only has Chat
The Code tab shows a sign-in prompt or a 403 error Finish the sign-in in the browser, then quit and restart the app. Still failing: see the official troubleshooting
The agent can’t see my files Check the folder control under the prompt box: is the right folder open?
Python, Git or a package “not found” after installing Quit the Claude app fully and start it again
An error I don’t understand Paste it in and ask: “Explain this error simply, then fix it.” This works more often than you would expect

Unfamiliar terms? See the glossary in the overview.

Are you ready for Part 2?

Before we move on, check that you have:

Setup is done. In Part 2 we put the agent to work on a small project: a pile of papers, a memo you review, and a little data.