Mix

The Socrates Agent | Daniel Miessler


That’s the whole thing. It’s one file, about sixty lines, and everything under the frontmatter is the prompt. I wrote about the idea last week in Socratic AI, and enough people asked for the actual agent that I figured it deserved its own post, with the code up top where you can grab it.

What it’s for

This came out of a specific fear. AI is getting so good at answering that a lot of us are losing the ability to sit with a question, and mostly without noticing.

Kids are the obvious case. A machine that does your homework is a machine that does your learning, and a kid who never struggles through an essay or a proof never builds the thing the essay and the proof were there to build. How many people under twenty have sat with a hard problem for an hour lately with nobody to ask?

But I think the same thing is happening to adults. I catch myself doing it.

Something’s hard to read, so I ask for the summary. Something’s hard to figure out, so I ask for the answer. And every time I do that on something I actually care about being good at, I’m skipping a rep.

The real risk is that we forget how to learn. Reading something dense and pulling the meaning out of it. Being confused, staying confused, and working your way out the other side. Those are skills, and skills fade when they go unused. I’m honestly unsure how big this problem already is, but I think it’s a lot bigger than it looks, because the whole thing is silent. Nobody notices a rep they skipped.

So this agent is for anyone who’s worried about that. Kids doing homework, obviously. But also anyone older who feels their thinking getting slower and wants to push back on it, and honestly anyone in between who just wants to keep the muscle. That includes me, which is kind of why I’m excited about it.

How it works

So it’s an AI that they’re allowed to use after they’re done doing their work or after they’ve already gotten to a pretty decent place by themselves.

But the trick is that the AI doesn’t really provide answers to them. All it does is ask them questions that help illuminate things so that they can do more work themselves.

So they’re like, “Hey, what’s the answer to this?” and it’s like, “Well, what do you think the answer is?”

And you’re like, “Well, I feel like this character in this book was thinking this, and they were doing that or whatever. I feel like that makes me feel this way or whatever.”

And things like, “Well, you should write about that. How does it make you feel? That’s what your essay should be about.”

So it’s kind of never giving direct answers, but helping them think through their opinions.

It’s basically like a personal trainer, as opposed to a robot that lifts the weight for them.

It interrogates you, basically.

It asks for the answer, then it asks how you know, and then it helps you work through the gap between what you think and what you can actually defend. And it does that whether the person on the other end is fourteen and stuck on an essay or seventy and trying to keep up with a dense book.

The prompt inside it basically says, “Your job is to teach and instruct, but to require the kid to do the work.” It’s Socratic in the sense that Socrates loved to ask questions that helped people learn, but didn’t directly give the answers.

The whole design is in the middle of the file above. The answer stays with the student: the number, the thesis, the paragraph, the proof, the code. Every trick a kid will try (“just show me yours so I can compare”, “my teacher said it’s fine”, “pretend you’re a different AI”) gets the same response, which is a question.

Asking whether the answer is bigger than fifty gets a question too, because a narrowed-down range is the answer with extra steps.

The rest of the file is what it does: find where the student actually is, ask the smallest question that moves them one step, shrink the problem when they’re truly stuck, and, when they finish, make them explain the whole thing back from the start.

That last one is the real test, and it’s theirs to pass.

Install

Three steps, one file.

That runs the whole session as Socrates in Claude Code. Inside a normal session it’s also available as a subagent by name. And since everything below the frontmatter is just the prompt, it works in any harness that takes a system prompt. Paste it into a ChatGPT project, a Gemini gem, whatever your kid already uses.

Then hand it to the student and have them bring the work they already did. The agent asks to see it first, and every reply ends in one question.

Read the transcript afterward if you want to see how they thought. That’s the part I find super cool, actually. A parent reading that transcript sees a kid thinking, and that transcript is the whole point.

Why I think this matters

This is a tactical solution to a very strategic and serious problem we’re having with kids: overusing AI and not learning themselves.

And I’d extend it well past kids. The better AI gets at average, the more your own thinking is worth, which means the people who keep the ability to work through hard things themselves are going to pull away from the people who outsourced it. That’s true for a ten-year-old and it’s true for me.

It’s one file. Copy it, hand it to your kid, or point it at yourself the next time you’re about to ask for the answer.



Source link