Skip to main content

Friendly Introduction to Agentic AI for Social Scientists

A mini course: from a chatbot that polishes your text to an AI agent that works with your files

Published

November 22, 2026

A mini course in six parts

Friendly Introduction to Agentic AI for Social Scientists

From a chatbot that polishes your text to an AI agent that works with your files: your readings, your Word drafts, your data

Version 0.8 · 22 November 2026

Who is this course for?

You are a social scientist: a sociologist, a political scientist, an anthropologist, an economist. You have used ChatGPT or Claude in a browser, mostly to improve a text or as a better search engine. You haven’t used it for the actual work of your field, and you may never have written a line of code. This course is for you. Seniority doesn’t matter.

When I say you should experiment with agentic AI, I hear two typical reactions.

“This is for coders.” It isn’t. You won’t type a single command. You give instructions in plain language, as you would to a research assistant. Even the technical setup is done by the agent, which explains each step before it takes it.

“I don’t need this.” Maybe. The course lets you find out on your own material. You remain in charge, and can decide how much to delegate. You will see what an agent can do and how to supervise. At least, get a glimpse.

We use one tool: Claude Code, in the Claude desktop app, on Windows, Mac or Linux. Codex by OpenAI is the most similar, what you learn here carries over fully. Antigravity and Google Gemini is also similar, and there are open weight model alternatives that are close. But when learning, one tool is enough.

What is an AI agent?

Let’s start with what you know. A chatbot is a conversation in a browser. You paste in a text or upload a file, it answers, and you copy the answer back into your document. It knows only what you gave it in that conversation. It mostly relies on info it “remembers” from its training, which can be wrong. It cannot read your files, run code, or save results.

An agent is the same AI model with four additions. First, it has access to folder(s) on your computer: the ones you allow. Second, it can act there: open files, write and run program code, save results. Third, it works in a loop: it takes a step, looks at the result and decides on the next one, until the task is done or it needs you. Fourth, it can use tools, open a browser, or call other programs such as Microsoft Word.

Chatbot what you know You Chatbot in a browser Your files paste a text in copy the answer out out of reach Agent what this course adds You Agent on your computer One folder that you choose a task, your OK questions, results reads, runs, saves looks at the result again and again, until done
The model is the same. The difference is where it works and what it is allowed to do.

The loop makes the difference. Suppose you ask for a chart of turnout by age group from survey.csv. A chatbot needs the file uploaded and may guess what the columns mean. The agent does the following:

  1. it opens the file and sees that age is called age_cat, not age;
  2. it writes a short program and runs it;
  3. it hits an error because some ages are coded “refused”, and asks you how to handle them (or makes an assumption you can check);
  4. it runs the program again, opens the chart to check it, and saves it in output/.

You see every step, and at first it asks your permission before each one.

It helps to think of the agent as a very fast research assistant sitting at your computer. It has read a lot, but it is new to your project, and it can be wrong with confidence. Hence your job shifts from doing each step to instructing the agent and checking its work. Checking matters most.

One more point changes how you use it. The model behind the agent is not a database. It doesn’t look facts up in its memory, it reconstructs them, so a reference, a number or a date it “remembers” can be wrong. It is much stronger at working with material you put in front of it. So working with an agent is largely about designing its context: you provide the grounding material (your readings, your data, your notes) and the tools to search and compute, and you ask it to work from those rather than from memory. A table of readings built from the PDFs in your folder can be checked line by line. One built from what the model recalls cannot.

Indeed, the right habit is to make it write code that may be directly run, make it write notes that can be directly searched .

What can it do for a social scientist?

Here are a few tasks that fit an agent well. None of them needs you to write code.

Hundreds of historical notes, OCR-d in PDF Many large PDFs in a folder become first plain text that can later be searched and transformed into a data table

A draft in Word. The agent comments on the argument, or edits a copy, and you review each edit as a tracked change.

Paper review. Detailed review of a draft, with agent(s) that checks the numbers, the references, and the argument. It will read literature and place your work in it. Suggest journals.

Data Analysis. Download data, clean it, run regressions, make tables and charts, and write a first pass data description report. You check the code and the results.

Prototype. Think of an idea. Get AI do the first pass: literature, data, code, and a draft. You can decide if it’s worth your time to continue.

The agent has limits, too. First, the agent makes mistakes, and it makes them in fluent, confident prose. It may misread a variable, drop observations without telling you, or hand you a paraphrase in quotation marks. Second, it doesn’t know the judgment calls of your field: which cases belong in the sample, or what a concept means in your literature. Third, what it reads is sent to the company’s servers, so confidential material needs care.

Each of these problems has a routine that handles it, and you already know most of them from supervising research assistants and refereeing papers. Part 2 builds them into every step.

What do you need?

  • A paid Claude plan. Claude Code needs Claude Pro or higher (about $20 a month, cancel any time; see pricing). A university Claude Team or Enterprise plan also works. ChatGPT Plus includes OpenAI’s Codex, the closest alternative. Antigravity, with Google’s Gemini, is similar. See Which plan do I need?
  • A computer with Windows 10 or 11, macOS, or Linux (Ubuntu or Debian).
  • Permission to install software. A university laptop may need IT approval. Try first, and ask if you are blocked.

How is the course organized?

The course has six parts. The first two are hands-on: setup takes about an hour, the first project about two. The third is a live demonstration, followed by homework. Parts 4 and 5 are for later: the fourth when you use the agent on your own work, the fifth when you want to try other models. The sixth is a short list of links on where social science research may be heading. If something fails along the way, nothing is broken: check the troubleshooting table of that part, or ask the agent what went wrong.

1

Steps 1.1–1.5 · about an hour

Setup

Install the app, make a project folder, meet the agent, let it set up Python, and install a reader for the files it writes.

You end with a working agent in a folder of your own.

2

Steps 2.1–2.6 · an hour in class, an hour after

First Steps

One small project on one question: do big events change when babies are born? The agent collects six papers, makes an extract of each, answers your questions, and writes a memo. You review the memo on paper, and it revises. Then a short task with data. Each step ends with how to stay in charge: limits, visibility, checks, and the final say.

You end with extracts you verified on the page, a reviewed memo, and work you can put your name on.

3

Live demo · then homework

A Paper in 50 Minutes

We give the agent a single prompt, “Does the World Cup affect fertility?”, and watch it produce a short empirical paper and a slide deck. Then comes your part: go home and study what it left behind, from the paper and the deck to the decision memo, the code and the skills it used.

You end with a view of a whole project, and practice in reading an agent’s work as a referee would.

4

At your own pace

After the Course

A menu for the weeks after: a better AGENTS.md, making the agent write like you, your own skills, a history of every change with Git, and new uses.

You end with an agent set up for the way you work.

5

Steps 5.1–5.2 · for self-study

Go Further

Two steps beyond the course. Use an app that works with any model, so you don’t depend on one provider. Then use cheap open-weights models to experiment: a large corpus, repeated runs, a cheap worker with a strong reviewer.

You end with a sense of which tasks need the strongest model, and which don’t.

6

Links · updated as they come

AI in Science

A few links that peek into the future of social science fields: economics, political science, survey research, psychology. Each comes with a two- or three-sentence summary.

You end with a sense of where research in your field may be heading.

TipTaking this as a two-hour workshop?

Before the session (at home, about an hour): Part 1, and Step 2.1.

In the session (two hours): at the start we give the agent the World Cup prompt of Part 3, and it works in the background. The first hour is Part 2: we explain a few ideas, you work on Steps 2.2 to 2.4 on your own laptop, and we end with a short debrief. The second hour is Part 3: the ingredients of the prompt, and what the agent produced.

After the session (homework): Steps 2.5 and 2.6 of Part 2, and the referee homework of Part 3 on the project folder we share. Parts 4 to 6 are for the weeks after.

A short glossary

  • Agent: an AI model that acts on your computer (reads files, runs code, saves results) in a loop until a task is done.
  • Prompt: the instruction you type for the agent. In this course, prompts to copy come in boxes.
  • Session: one conversation with the agent. Each session starts fresh.
  • Context window: what the model can see at once. Long sessions fill it up, and quality drops.
  • Permission mode: how much the agent may do without asking you. We start with Manual: it asks every time.
  • Markdown (.md): plain text with a few formatting symbols. It is the common language of people and agents.
  • AGENTS.md: your standing instructions, which the agent reads at the start of every session.
  • Skill: a recipe file the agent follows for one type of task.
  • Terminal: a text window for typing commands. The agent uses one behind the scenes. You don’t have to.
  • Environment (Python): a project’s own copy of Python and its add-ons, kept in the .venv folder.
  • Harness: a word you will hear later. It is the program around the model that gives it these abilities. Claude Code is one.