Build Your Own
Import any text. Get a behavioral specification.
A short document built from your own writing that an AI agent reads to align its responses with how you think.
Tested on as little as 8 journal entries and as much as 600K+ words. Conversations, essays, letters, autobiographies, any text that reflects how someone reasons.
Paste this into your AI agent
Works with any agent that has terminal access: Claude Code, Cursor, Windsurf, Cline, Aider, GitHub Copilot, Warp
Install Base Layer from github.com/agulaya24/BaseLayer, run the pipeline on [folder you want the model to build from], and show me the cost estimate first.
What happens
✓ Agent installs Base Layer directly from GitHub
✓ Reads the folder of writing you specified
✓ Shows cost estimate before spending
✓ Runs full pipeline: import → extract → author → compose
✓ Outputs your behavioral specification, 3 to 6K tokens
Requires Python 3.10+ and an Anthropic API key. Please store your API key as an environment variable.
Works on any folder of writing. Text files, journals, essays, ChatGPT or Claude exports, anything that reflects how someone reasons.
Prefer the terminal? pip install git+https://github.com/agulaya24/BaseLayer.git && baselayer run [your-folder]
Where to use your brief
Click a card for step-by-step directions.
Estimated cost
Based on actual pipeline runs across our example subjects.
| Corpus Type | Cost |
|---|---|
| Journal entries | $0.10–0.25 |
| Personal conversations | $0.30–0.80 |
| Short autobiography | $0.25–0.50 |
| Full autobiography | $0.30–0.60 |
| Long-form writing | $0.40–0.80 |
| Investment letters | $0.50–1.00 |
| Dense professional memos | $0.50–1.50 |
| Technical patent corpus | $0.50–1.50 |
Uses Haiku (extraction), Sonnet (authoring), and Opus (composition). Run baselayer estimate to preview your exact cost before spending anything.
Privacy: Your data stays on your machine. Conversation text is sent to Claude's API for extraction, the same way any API call works. Nothing persists remotely beyond Anthropic's standard API retention. No data is sent to Base Layer.
Upload your conversations
Want your own behavioral specification? Upload your ChatGPT export, Claude export, journals, essays, or any text about or by you. We'll run the pipeline and send you a private link to your spec within 48 hours.
Common formats: .json, .zip, .txt, .md, .pdf, .docx — or anything text-based.
Google sign-in required for secure file upload.
Follow the research
We're publishing new findings as we go. Leave your email and we'll share updates as the research develops.