cd /news/artificial-intelligence/building-your-second-me-a-practical-… Β· home β€Ί topics β€Ί artificial-intelligence β€Ί article
[ARTICLE Β· art-102518] src=dev.to β†— pub= topic=artificial-intelligence verified=true sentiment=Β· neutral

Building Your Second Me: A Practical Framework for Encoding Yourself into an AI Agent

A developer has outlined a practical framework for building a 'Second Me' AI agent that encodes an individual's identity, reasoning, skills, and intuition. The framework combines behavioral recording, think-aloud extraction, and chain-of-thought distillation into a week-by-week process, building on Andrej Karpathy's concept of a personal wiki. The approach aims to capture tacit knowledge that is not easily expressed in writing.

read10 min views1 publishedAug 19, 2026

What Karpathy started with a personal wiki, this article turns into a buildable system.

Andrej Karpathy once wrote about the idea of a "second self" β€” an AI model trained on your writing, your decisions, your reasoning patterns, your voice. A system that, when asked a question you would be asked, gives an answer you would give. Not a chatbot. A mirror.

He started building it with a personal wiki: a continuously updated document of his thinking, preferences, opinions, and mental models. It was a fascinating experiment in self-modeling. But a wiki is only half the problem. Text is explicit. What about the stuff you do but never write down?

This article picks up where Karpathy left off. It combines behavioral recording, think-aloud extraction, and chain-of-thought distillation into a practical, week-by-week framework for building your own Second Me β€” an AI agent that thinks like you, defaults like you, and can represent you when you are not in the room.

A personal wiki captures your declared knowledge: what you believe, how you approach problems, what your values are. It is excellent for identity and values alignment.

But it misses your tacit knowledge: the things you know how to do but could not easily explain. The judgment call you make in two seconds. The pattern you recognize but cannot describe. The instinct that guides your fingers before your brain catches up.

Karpathy himself hinted at this gap when he noted that his wiki was "only the beginning." The real challenge β€” and the real prize β€” is encoding the tacit layer. That is what this framework is designed to do.

Before diving into methods, let us define what we are building. A functional Second Me has four layers:

Layer What It Encodes Source
Identity
Values, beliefs, communication style Personal wiki, essays, writing samples
Reasoning
How you think through problems Think-aloud recordings, decision logs
Skills
Domain-specific expertise and workflows Behavioral recordings, process documentation
Intuition
Pattern recognition and gut calls Chain-of-thought distillation, RLHF feedback

The wiki feeds Layer 1. This article focuses on Layers 2, 3, and 4.

Timeline: Week 1-2 | Effort: Medium | Output: Raw reasoning corpus

The Think-Aloud Protocol comes from cognitive psychology. The idea is simple: ask someone to narrate their thinking out loud while performing a task. No editing. No structuring. Just talk.

What comes out is extraordinary. The expert will say things they did not know they knew: "This approach feels wrong but I cannot explain why yet β€” let me think... Oh, because if X breaks, there is no fallback." That "feel" is tacit knowledge escaping in real time.

Pick your recording triggers. Do not try to record everything β€” that is unsustainable. Instead, identify the high-value moments:

Set up minimal friction. Use a headset microphone and a one-button recording tool (Otter.ai, macOS Voice Memos, or Tactiq for Google Meet). The moment you make recording inconvenient, you stop doing it.

The recording prompt. Before each session, say out loud:

"I am going to work on [task]. Here is what I know so far. Here is what I am unsure about. Here is what I am going to try first and why."

This framing forces you to externalize your starting model before you begin β€” which makes the later delta (what you learned) explicit.

Transcribe everything. Use Whisper or Otter to batch-transcribe your recordings. Do not try to clean the transcript as you go β€” speed matters more than perfection at this stage.

Mark the gold. Go through transcripts and flag these patterns:

This annotation is tedious but irreplaceable. It is the difference between raw data and training signal.

Timeline: Week 3-4 | Effort: High | Output: Structured skill manifests

Each skill in your Second Me should have a structured manifest β€” not a procedure, but a decision-making model. The difference matters: a procedure tells you what to do; a decision-making model tells you how you decide what to do.

## Skill: [Name]

### What it looks like when done well
[Description of the outcome you produce]

### Trigger conditions
[When does this skill activate? What signals?]

### My default approach (unconscious first step)
[What do I instinctively reach for first?]

### My decision tree
[How do I evaluate options? What questions do I ask?]

### Edge cases I handle differently
[The exceptions I have learned, and why]

### Signals I use to know I am done
[What "done" looks like to me]

### Common mistakes I have seen (and avoid)
[The wrong turns others make that I now avoid]

### Related skills
[What this connects to]

For each high-frequency skill you identified in Phase 1:

Step 1 β€” Pull relevant recordings. Find all the think-aloud segments where this skill appeared.

Step 2 β€” Identify the unconscious first step. Every expert has a reflex. Find yours. What is the first thing you check, say, or do when this type of problem appears? This is often the hardest part to articulate and the most valuable to capture.

Step 3 β€” Map the decision tree. Work backward from your conclusions. What options did you consider? Why did you reject the ones you rejected? What information did you prioritize?

Step 4 β€” Surface the edge cases. Your intuition is most differentiated from a novice in edge cases. When do you deviate from the obvious answer? What have you learned from failure that is not in any book?

## Skill: Code Review

### What it looks like when done well
PRs that ship are correct, readable, and leave the codebase in better shape than I found it. I approve fast when it is good and block firmly when it is not.

### Trigger conditions
Any PR that touches shared code, introduces new dependencies, or affects data integrity. I scan everything but deep-review selectively.

### My default approach
1. Read the diff with fresh eyes (never review immediately after reading the ticket)
2. Ask: what is the simplest version of this? Is this it?
3. Look for what is NOT in the diff (tests, error handling, rollback)
4. Check for premature optimization
5. Comment with a question before a judgment ("what happens if X?" is better than "this is wrong")

### Edge cases I handle differently
- Senior engineer PR: review for design, not line-by-line correctness. Trust but verify.
- Urgent hotfix: risk-aware review. What is the blast radius? Is there a faster safe path?
- First PR from a new team member: generous with coaching, firm on standards.
- Architecture change: slow way down. Understand the why before the what.

### Signals I use to know I am done
- I can explain the change to someone who has not read the code
- I have left comments that help the author, not just criticize
- I have flagged at least one thing that genuinely improves the code

### Common mistakes I avoid
- Bikeshedding (arguing about style when substance is wrong)
- Reviewing the implementation instead of the problem-solution fit
- Approving because I am tired of the thread

### Related skills
Debugging, technical writing, mentoring

Build 5-10 such manifests in Month 1. You do not need to capture everything β€” you need the things you do most often and care about most.

Timeline: Month 2 | Effort: Medium | Output: Reasoning chain dataset

The goal of this phase is to take your implicit reasoning (captured in think-aloud recordings) and turn it into explicit reasoning chains that an LLM can learn from.

A reasoning chain is not just your conclusion. It is your path from input to conclusion, including the information you prioritized, the options you considered, the leap you made when the obvious answer was wrong, and the uncertainty you held rather than resolving prematurely.

Pick 50-100 decisions from your recordings that have clear inputs, observable outputs, and recorded reasoning. For each case, structure the chain:

## Reasoning Chain: [Case Title]

### Context
[The problem as it presented itself]

### Initial hypothesis
[What I first thought was going on]

### Information I gathered
[The signals I looked for and what they told me]

### Options I considered
[What alternatives I weighed]

### The decisive factor
[The thing that tipped the balance]

### The leap
[The non-obvious connection or intuition I acted on]

### What I held uncertain
[The things I chose not to resolve yet]

### Final decision
[The conclusion and why]

### Outcome (post-hoc)
[What actually happened β€” especially useful when I was wrong]

The outcome field is critical. When you were wrong, the reasoning chain is even more valuable. The mistake reveals the boundary of your model β€” exactly where your intuition stops being reliable. Include both successes and failures. The failures are the most honest data.

Once you have 50+ structured reasoning chains, you have three deployment options:

1. Few-shot prompting (easiest, start here)

When [type of problem], here is how I reason through it:
[Insert 3-5 relevant reasoning chains as examples]
Now, here is a new problem: [current situation]
What would I conclude, and why?

2. Fine-tuning (most powerful)

Fine-tune a 7B-8B model (Llama 3.1, Qwen 2.5) on your reasoning chains. This requires more technical setup but produces a genuinely autonomous Second Me that can reason in your voice without prompt scaffolding.

3. Retrieval-augmented reasoning (most scalable)

Store chains in a vector database (Chroma, Weaviate, or Qdrant). When your Second Me encounters a new problem, retrieve the most similar past reasoning chains and use them as context. This is the approach that scales best over time and lets you add new chains without retraining.

Timeline: Month 3+ | Effort: Ongoing | Output: Self-improving agent

A Second Me that does not learn from interaction is a snapshot. Here is how to keep it alive.

After any significant interaction where your Second Me was used (or where you made a decision you would have asked it about):

Keep this as a daily practice. Five minutes per significant interaction. Over time, this becomes your RLHF dataset β€” the raw material for fine-tuning future iterations.

Every quarter, review your skill manifests against your actual behavior. Your intuition evolves. New patterns emerge. Old ones break. Your Second Me should track that evolution. A Second Me that stops learning is not a second you β€” it is a fossil.

Karpathy is personal wiki approach had one thing exactly right: identity and voice are the foundation. Before you can encode how you think, your Second Me needs to know who it is.

The wiki gives you:

The behavioral recording + reasoning chain distillation gives you:

Together, they are a complete picture. The wiki is the soul. The reasoning chains are the operating manual.

Week Focus Output
Week 1 Start recording (3 high-value sessions) 3-5 hours raw audio
Week 2 Transcribe and annotate first batch 50+ annotated snippets
Week 3-4 Build 5-10 skill manifests Structured skill library
Month 2 Build 50+ reasoning chains Reasoning chain dataset
Month 2-3 Inject into prompts / begin fine-tuning Functional Second Me v0.1
Month 3+ Start feedback journal Continuous improvement loop
Quarterly Skill manifest refresh Living knowledge base

This is not a chatbot with your personality. It is not a digital clone or a productivity hack.

It is a thinking partner that has been trained on your thinking β€” one that can hold your context, mirror your reasoning, and be a credible proxy when you are not in the room.

The closer it gets to actually thinking like you, the more useful it becomes. And the more useful it becomes, the more you refine it. It is a flywheel.

Start with one recording. One skill manifest. One reasoning chain.

The Second Me does not get built in a weekend. It gets built in the margins of your actual work, week by week, as you go.

Tags: ai

productivity

selfimprovement

llm

personaldevelopment

── more in #artificial-intelligence 4 stories Β· sorted by recency
── more on @andrej karpathy 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/building-your-second…] indexed:0 read:10min 2026-08-19 Β· β€”