Raphael Doukhan ✨ (@raphael_dkhn) header
Raphael Doukhan ✨ (@raphael_dkhn) profile picture

Building... Previously zkML @gizatechxyz, wallet infra @GetRevelator (acq. by Warner Music)

Joined July 2019
Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)Photo by Raphael Doukhan ✨ (@raphael_dkhn)
My bet: just as AI labs are productizing verticals, every company will eventually become an AI lab
1
101
Miroir v0.0.2. I've significantly simplified the project, making it more opinionated and Harbor-native by design. miroir.mintlify.site
I'm open-sourcing Miroir 🪞, a tool I originally built for myself. It turns your product into an environment for training and evaluating AI agents. You add a manifest and a few tasks to your product's Docker image. Miroir seeds the data, resets state between episodes, exposes APIs as tools through OpenEnv and MCP, and grades what the agent actually changed. There's some cool stuff too, like turning production traces into tasks. And it works with @huggingface's TRL and @PrimeIntellect's verifiers. It's still early. If you're working on agentic RL, I'd love to get feedback. github.com/raphaelDkhn/miroi…
1
200
Agree with this. It was one of the motivations behind Miroir. If you already have a product and its data, turning it into an RL environment should be easy. Miroir handles the plumbing: turning production traces into tasks, seeding data, resetting state between episodes, exposing tools through OpenEnv/MCP, and grading agents against db changes and HTTP side effects github.com/raphaelDkhn/miroi…
I’m realizing that some SaaS businesses could make tens of millions in additional revenue by building RL environments for AI labs. Take a KYB startup. You’ve spent years collecting company records across 150 countries, cleaning them, linking entities, and building APIs on top. You have millions of real-world investigations hiding in your database. You can turn them into tasks for AI agents: “Find the CEO of this company and cite the official document.” “Identify everyone who indirectly owns more than 25% of this business. Follow the ownership chain across France, Luxembourg, and Singapore.” “Compare this company’s onboarding application with the registry filings. What’s missing or inconsistent?” Give the agent tools to search the records and read the documents. Then use your structured data to check the answer: did it find the right entities, calculate the ownership correctly, and cite the right evidence? Now you have an environment where agents can practice millions of investigations and get a reward when they get them right. These aren’t just KYB tasks because the same skills matter for due diligence, investing, procurement, compliance, and a ton of other knowledge work. If you can show that training on your environment makes models better at these tasks, I think you’ll find a buyer for a lot of $$$
3
225
I'm open-sourcing Miroir 🪞, a tool I originally built for myself. It turns your product into an environment for training and evaluating AI agents. You add a manifest and a few tasks to your product's Docker image. Miroir seeds the data, resets state between episodes, exposes APIs as tools through OpenEnv and MCP, and grades what the agent actually changed. There's some cool stuff too, like turning production traces into tasks. And it works with @huggingface's TRL and @PrimeIntellect's verifiers. It's still early. If you're working on agentic RL, I'd love to get feedback. github.com/raphaelDkhn/miroi…
12
9
2
147
6,475
For the past few days, I’ve been letting my agents run on autoresearch to improve an architecture I’m working on. I define a metric, freeze the eval and let agents experiment. Keep what improves the score and revert what doesn’t. Then let the harness recursively improve its own research process. Inspired by Karpathy’s autoresearch, @yukonresearch and Harness², I turned my workflow into a small Claude Code plugin to make it easier to run. Feedback and contributions welcome: github.com/raphaelDkhn/infin…
4
7
548
Congrats for the launch @CemFDagdelen It would be nice to see if musicians can use it to collaborate on Ableton projects (cc @CaseyWescott)
find the others. egregore is now open source. a shared mind for teams working with AI.
2
6
598
You are in the Squiggle. You've left (or want to leave) your job. You don't know what to build yet. You're reading, journaling, talking to friends, getting nowhere fast. What do you actually want to spend the next five to ten years on? worldbuilder is a collection of Skills that operationalize @spc' -1 to 0 thesis. Inspired structurally by @garrytan's gstack, but oriented around the pre-founder phase instead of the shipping phase. Every skill pushes you toward the things -1 to 0 founders avoid: shipping artifacts into the world, talking to external humans, and killing your favorite ideas. Disclaimer: I'm not part of SPC. I'm just a builder who found the -1 to 0 thesis compelling enough to apply it to my own squiggle. I'd love to see SPC contribute and add their own personal touch (cc @adityaag, @rsanghvi) github.com/raphaelDkhn/world…
1
10
326
If we verify these proofs on-chain, we could enable smart contracts or protocols to only accept inputs coming from specific watermarked LLMs
Let’s dive deeper into what it really means to prove LLM watermark detection. 🧵
1
2
366
Invoking innovators in onchain agentic space here. I may be wrong, but I think this could be useful for some agentic flows. @DavideCrapis, @_sumeetc, @lordOfAFew, @renckorzay
1
2
217
Let’s dive deeper into what it really means to prove LLM watermark detection. 🧵
LLM watermark detection isn’t publicly verifiable: checking a watermark typically requires a secret key. I built a STARK prover for Unigram LLM watermarking using @StarkWareLtd S-two that proves watermarking detection without revealing the key. Code: github.com/raphaelDkhn/zunig…
2
6
1
19
6,623
First, what’s is Unigram LLM watermarking scheme? A secret-keyed PRF splits tokens into green/red set. The model subtly favors green during generation. To detect, we classify tokens, count greens using the same PRF, and compute a z-score. A high z suggests watermarking.
1
96
LLM watermark detection isn’t publicly verifiable: checking a watermark typically requires a secret key. I built a STARK prover for Unigram LLM watermarking using @StarkWareLtd S-two that proves watermarking detection without revealing the key. Code: github.com/raphaelDkhn/zunig…
8
8
3
34
10,803
I dive deeper into the implementation in this article: raphaeldoukhan.com/articles/…
206
I just implemented freivalds-stwo, a STARK-based AIR for proving matrix multiplication, built on top of @StarkWareLtd’s S-two. It produces succinct proofs of Freivalds’ algorithm, which probabilistically verifies whether C = A × B in O(n²) instead of O(n³). Some benchmark so far: Repo: github.com/raphaelDkhn/freiv…
14
10
2
40
4,524
I dive deeper into the implementation in this article: raphaeldoukhan.com/articles/…
1
6
455
The Greeks behind Morpho. This article explores how @Morpho V2 can be used to mimic option-like payoffs. raphaeldoukhan.com/articles/…
1
6
608
4am, insomnia. Rereading the @Morpho V2 announcement and just realized you can basically view it as an options protocol. Might need to map the Greeks and write an article on this…
Today, we unveil Morpho V2. An intent-driven lending platform powered by fixed-rate, fixed-term loans. Designed to liberate the potential of onchain loans.
2
184
Amazing milestone for @Starknet Congrats @StarkWareLtd, S-two is an amazing frontend and backend framework for generating STARK proofs
1/ S-two is live on Starknet mainnet. The fastest prover ever built now proves every Starknet block, securing all transactions with the most advanced Circle STARK technology. More speed, more privacy, more scalability, more decentralization 🧵
3
4
416
With our zk-ML work and LuminAIR framework, we’ve built: - Trustless content recommendation systems - Provable algorithm for climate claim protocol - Intelligent AMM solvers As you look to bring verifiable intelligence into your agents, oracles, or protocols, build with us. gizatech.xyz/verify From risk assessment to credit scoring, option pricing, or recommendation systems, we’re here to help you make it verifiable. My DMs are open.
We're solving the biggest trust problem on the internet. 4.8B people rely on recommendation algorithms daily. But no one can verify if platforms *actually* run the code they claim. Here's how we built the first cryptographically verifiable content recommendations with @RektHQ:
5
23
4,464
Fib 59452 in 5.27 s on my iPhone 13. Very cool @hyli_org ! Cairo M is very promising @KakarotZkEvm 👏 LFG
1
2
177
Pendle is complex. We make it easy to use. Our new agent, Pulse, autonomously allocates your deposits across PT markets. usepulse.xyz/
✦ 𝐈𝐧𝐭𝐫𝐨𝐝𝐮𝐜𝐢𝐧𝐠 𝐏𝐮𝐥𝐬𝐞 ✦ Built in partnership with Pendle, Pulse is the first agent that autonomously optimizes your PT portfolio. We're starting with ~13% APR on ETH-PT markets. More assets coming soon. This is what intelligent fixed yield looks like ↓
7
316
This is how the compute graph being proven looks like. ✅ Trace generated in 5.063625ms ✅ Proof generated in 499.265167ms ✅ Proof verified in 514.208µs Note that LuminAIR is still in development. In the next phase we will fuse operators to reduce the graph size and improve performance.
New LuminAIR example: A zkML implementation that uses Physics-Informed Neural Networks to solve the Black-Scholes partial differential equation for option pricing. The proof of inference is generated via @gizatechxyz LuminAIR with @StarkWareLtd S-two prover. PINNs are neural networks that are trained not just on data, but also on the underlying physical (or financial) laws described by differential equations. The idea of this example is to demonstrating how Black-Scholes PINN can be implemented with the LuminAIR zkML framework to generate verifiable proofs for option pricing computations, useful for DeFi protocols. github.com/gizatechxyz/Lumin…
1
11
378