Our work

We automated your dev research.

The Starknet Agent was an AI assistant for Cairo and Starknet developers, built for Starkware and the Starknet Foundation. Instead of digging through documentation, developers asked a question and got an answer with its sources.

Client
Starkware and the Starknet Foundation
Product
Starknet Agent
Date
September 2024

The problem

Answers were spread across too many docs

Cairo is the language used to write programs for Starknet. Developers learning it had to work across separate resources: the Cairo Book, the Starknet docs, the Starknet Foundry docs, Cairo By Example and the OpenZeppelin docs.

Finding one answer could take a long search, and that slowed down onboarding. We built the Starknet Agent for Starkware and the Starknet Foundation to cut that search down to one question.

How it worked

A chat assistant that showed its sources

We started from Perplexica, an open-source AI search engine, and adapted it to Starknet. We indexed the documentation, and for each question the agent found the most relevant passages and wrote its answer from them.

Every answer cited its sources, so a developer could check it against the original text. The chat kept the context of the conversation, which made it easy to ask for a deeper explanation.

What happened

The code lived on in Cairo Coder

Kasar Labs based Cairo Coder, an open-source Cairo code generator, on the Starknet Agent. In October 2025 the agent's front end moved onto the Cairo Coder backend.

The agent is no longer online and its repository is archived. Cairo Coder's hosted service has shut down too, but both codebases remain open source.

Contact our team

We take 4 protocols per quarter. Formal verification demands deep focus. We'd rather verify fewer contracts well than many poorly.

Continue reading

Learn more

Starknet Agent source on GitHub, now archived.

Cairo Coder on GitHub, the project based on it.

The Cairo Book, the Cairo programming guide we made for Starkware and the Starknet Foundation.