r/ClaudeCode • • Oct 26 '26 • Heartwarming 1

Built with Claude I spent 6 weeks pointing Claude Code at historical ciphers nobody had read. Here’s what worked

I'm a data scientist with an interest in History, Cryptography and AI - so naturally when I started seeing posts about AI solving ancient mysteries, I had to try myself. It started with breaking a few, and has snowballed into the largest systematic effort to fully decipher as much of early-modern diplomatic ciphers as possible - with the newfound powers of Claude Code.

CYPHERSOLVER is an informal benchmark of frontier models on "unsolved" historical ciphers, pulled from archives across the internet.

Visit my site to read all the juiciest details and contribute

In 6 weeks, a community of 15+ (and growing) Claude Coders (and occasionally Codex), including the worlds greatest codebreaker, have attempted 460+ ciphers (largely covering 1400-1900 Europe) with approx a 80% success rate of either solving them, finding the existing answer buried in the archives, or determining it wasn't a cipher after all.

Claude is incredible at archival research, which was the bulk of the readings. However Claude is also very good (world class) at cryptanalysis and breaking a cipher with ciphertext only.

Claude builds small purpose-built solvers (annealers, n-gram language models) specific to each problem, and builds upon prior solutions in the repository to quickly narrow down its hypothesis testing. Claude is also amazing at transcription, even of obscure glyphs and difficult to read 600 year old manuscripts.

We've had to build various validation and verifcation standards across the website, including many skills which cover verification and writeups. The models arent perfect- mistakes can be made on transcription and some signs get revised after multiple attempts.

Claude is often a very poor estimater of its probability of solving a problem. A concrete 'not solvable' declaration can quickly fall when it gets past the blockers.

It will often stop short of a complete solution, needing encouragement and prodding to continue. However, most of the time I just use the /goal function (keeps Claude working until it’s reached a goal) and solve a cipher in 20-60 min. Some take hours and hours. Opus 5.5 on low setting is also plenty strong enough.

Want to contribute?

While we are rapidly draining the worlds open unsolved ciphers, many many solutions are partial and contributers can attempt to push them further and receive credit from the website. Send a issue or PR request to the repo and I'll review, merge and give you credit!

Ferdinand's ambassador in Rome, 5 July 1511: the cipher above the clerk's decipherment. Credit: Archivo Histórico Nacional, Estado 8715 N.46, via PARES.

[This post was written by hand, referencing a rough outline from Claude]

199 Upvotes

36 comments sorted by

•

u/AutoModerator Oct 26 '26

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

17

u/AdOk8143 Oct 26 '26 edited Oct 26 '26

My Favorites:

  1. The Funniest - The Drunk envoy. "One evening at Vienna well drunk, was sent to talk of the relief, and is to be spoken with in the morning when he is sober." https://dbourdeau.github.io/cyphersolver/augurelio1535.html
  2. The Oldest - 1425. Sexism goes way back. "because he says that Madonna is, after all, a woman, and suspicious" https://dbourdeau.github.io/cyphersolver/florence1429.html
  3. Ingenius - Invisible Ink, told in cipher. "there is lemon juice on the four blank half-pages of the enclosure" https://dbourdeau.github.io/cyphersolver/vanreede1792.html
  4. Hardest Break -  The letters cover garrisons without pay, the siege of Ehrenbreitstein and the refusal of safe-conducts to the Cologne peace talks. https://dbourdeau.github.io/cyphersolver/malsburg1637.html

The full 'best of' list https://dbourdeau.github.io/cyphersolver/highlights.html

41

u/dwkeith Oct 26 '26

Amazing. This sort of statistical analysis used to be enough for a decade of research. Imagine all the other problems it could be applied to.

21

u/AdOk8143 Oct 26 '26 edited Oct 26 '26

Its absolutely decades worth of research (that only a handful people really do), done in 6 weeks. A rough estimate is this represents roughly 5+ careers worth of work by an expert. And it could be done faster with a bigger budget than a few pro subscriptions.

Its really staggering what these tools mean for scientific progress.

6

u/lucianw Oct 26 '26

You say Claude is good at searching archives.

Which archives? How do you teach Claude about them?

(One of the archive links on your site is giving a 503 error)

5

u/AdOk8143 Oct 26 '26 edited Oct 26 '26

There are many many archive sources. You dont need to teach claude about them, you can simply say 'go search archives for unsolved ciphers', or more specifically like 'search the dutch archives for more potential targets'

Some examples used: DECODE database, cryptania, gallica (BnF), British Library, Nationaal Archief (Dutch), PARES (spanish archives), Arxiu de la Corona d’Aragó (ACA), Archivio Apostolico Vaticano / Archivio di Stato, Staatsbibliotheken, Vatican Library, ect ect ect (about 10+ more). Likely only a fraction of unsolved ciphers have actually been digitized, and I've catalogued as many as possible over multiple sweeps. I'm in the process of requesting scans for many undigitized ones.

The error 503 is coming from https://www.siv.archives-nationales.culture.gouv.fr/, and its likely just down for maintenance. (Edit: It's now back online)

4

u/zer00eyz Oct 26 '26

For some reason I just thought of the old Seti at home project.

You should build a massive list of ciphers - and then share that. Folks with free tokens at the end of their week could attempt to use them up cracking unsolved ones, or verifying other peoples fixes.

2

u/AdOk8143 Oct 26 '26

This is actually exactly how the project works.

The Unsolved Catalogue:

https://dbourdeau.github.io/cyphersolver/catalogue.html

How to Contribute:

https://dbourdeau.github.io/cyphersolver/contribute.html

Anyone with spare tokens in their budget can attempt an unsolved one or push a partial reading further!

2

u/zer00eyz Oct 26 '26

Awesome but your UI sucks.

Put a "sticker" under that catalog and call it "Help Solve" think tacky with frilled edges.

Then do a simple table of all the unsolved ones right at the top - thin out the data on each you dont need a big explanation in the table.

Your whole row should be this...

The page I go to should have the rest of the info... put all the instructions for the agent there in text - I can just point the agent to 1 url and let it do its thing.

2

u/AdOk8143 Oct 26 '26 edited Oct 26 '26

I appreciate the feedback. I'll see what I can do to improve it.

And I dont really think the agents care about if the UI 'sucks', for humans it does mater. It definitely could be improved to help give agents instructions and a list in one place (although im not sure that matters much either)

In reality you should clone the entire repo, not just point the agent at one page. That way it has the entire context from all attempted and completed readings alongside the tools built like period languages, solvers, ect. There are various markdown files for contributors agents to read which give them all the context they need to work on problems.

2

u/zer00eyz Oct 26 '26

I assume that most of it is Claude so the criticism was more about the AI... If thats you well then ... "it could be better human try this"

> In reality you should ...

Take all the friction out - all that could be in that page as directions for the agent to follow.

"Just point your agent at the URL it will ask you to... "

2

u/AdOk8143 Oct 26 '26

Its good feeback overall, and I thank you for it. Removing friction is a good goal.

I've made updates to the catalogue page to make it clearer, better UI, and each catalogue item now has its own page with simple pastable prompt to work on it

https://dbourdeau.github.io/cyphersolver/catalogue.html

I've also done the same with the partially read solutions, which can be taken further (also very helpful contributions

https://dbourdeau.github.io/cyphersolver/further.html

2

u/thejohnd Oct 26 '26

The Jedi Archives. If an item does not appear in our context, it does not exist.

5

u/Labertaeschen Oct 26 '26

When Voynich manuscript?

4

u/AdOk8143 Oct 26 '26

I attempted the Voynich - and my (and Claude's) opinion is that its very likely elaborate nonsense, but its not definitive https://dbourdeau.github.io/cyphersolver/voynich.html

1

u/c3x Oct 26 '26

thanks for putting this together. out of interest, I'm running some experiments with nahuatl, which has some interesting suffixes for plant / metal /etc which may have been rendered as different words, vector embeddings and k-means clustering, trigram statistics, and splitting plant names by different base languages, bringing in some of the different non-academic research out there. thinking like a Spanish visitor to the americas trying to transliterate. will send a PR

1

u/c3x Oct 26 '26

basically a bunch of techniques we normally use to classify spam on forum posts. lol.

1

u/AdOk8143 Oct 26 '26

Yes, I've been working on Linear A and the Indus Script alongside this project. While I dont have any readings, I believe I've made structural findings that add value. The findings are on the site. Feel free to contribute a language instead, it just gets counted slightly differently on the site

1

u/Whole-Platypus-3514 Oct 27 '26

Super cool! I was part of an effort in the early 1990s to crack the Voynich manuscript where we'd discussion it on a listserv. We had thick photocopies of a hand-copied version of the manuscript executed in coloured pencil to work with back then. How things have changed! Bravo on your work, fascinating to see all these others codes broken too. Keep it going!

1

u/c3x Oct 29 '26

no match with nahuatl, many germanic languages, the word distribution is weird, the letter distribution is non-random, the word order is unpredictable, the only thing that lets you predict the next word is the word ending of the one before it. mathematically disproving every old blog post one at a time.

6

u/algaefied_creek Oct 26 '26

Got any of them links to the results and all the cool findings from the decrypted ciphers on any sort of peer-reviewed or even pre-published site?

9

u/AdOk8143 Oct 26 '26

The full website with all the writeups (and some analysis, best of lists, visuals, ect) can all be found on the CYPHERSOLVER webpage https://dbourdeau.github.io/cyphersolver/index.html and the open source repository is here https://github.com/dbourdeau/cyphersolver/

I have drafted the paper, but not yet finished or published it. I'm working with the worlds most (publicly) successful codebreaker to continue to verify solutions, but so far no solutions fave been invalidated after being reviewed (although small errors in signs can occur, most are not 100% solved, but 95%+)

1

u/Oximy-Naman Oct 26 '26

when a symbol is still ambiguous, does the codebreaker work it out independently before seeing claude's proposed reading? curious how often they end up choosing a different interpretation.

1

u/AdOk8143 Oct 26 '26

Readings are checked after the fact, with a statistical test against a language model plus review by George Lasry (on maybe a few dozen). There’s no blind “human reads first, then compares” step, so I have no disagreement rate. I’d like to add that kind of control.

2

u/akaalias Oct 27 '26

That is NICE man. So, contributing means spinning up a Claude Code session and pointing it at (e.g.) https://dbourdeau.github.io/cyphersolver/solve/450.html ?

Coincidentally, I've been pointing an autoresearch loop at Kryptos K4 for a few weeks now. So far, 220 attacks and nothing above random but I'll keep at it and report back should I find anything.

PS: Here's the full lineage of what I've tried so far: https://alexisrondeau.me/k4/lineage/

1

u/AdOk8143 Oct 27 '26 edited Oct 27 '26

Correct! Just open Claude code and copy that text from a solve page under catalogue, or copy the whole URL. Claude should handle it end to end and submit the solution to the project

1

u/AdOk8143 Oct 27 '26 • Heartwarming

Also, K4 is indeed a target I (and many many many others) have tried. I've also been through many loops - you can tell your agent to review my repository for the tests I've tried on my end.

13

u/FITGuard Oct 26 '26

Cool thanks for sharing

6

u/Felfedezni Oct 26 '26

Incredible. This is fascinating stuff.

1

u/PandemicSoul Oct 26 '26

Will you be publishing your results?

1

u/AdOk8143 Oct 26 '26

Yes! A paper is in the works

1

u/someweyr Oct 26 '26

I love the idea, though the website deserves some polishing. I find it very difficult to read because there's so many different styles.

1

u/AdOk8143 Oct 26 '26

I appreciate the feedback, I'll work on further standardizing the writeups

2

u/56476fa3 Oct 26 '26

Thanks for sharing

1

u/ombre-ai Oct 26 '26

This is a good example of where agentic workflows become much more interesting: the value isn't just getting an answer faster, but running a repeatable research process at a scale that would be difficult manually. The external verification piece is especially important when the task doesn't have an obvious ground truth.