# starkware-libs/cairo-lang

Repository: https://github.com/starkware-libs/cairo-lang
Canonical: https://ross.abutalabs.com/products/cairo-lang
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2026-07-28T13:21:55+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 16, longevity 100
- inputs: {"age_days": 2132, "days_push": 36, "days_rel": 402, "gap_med": 127.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1369, forks 294 (observed 2026-08-28T04:04:31.808193+00:00)

## What it is
Cairo is a programming language for writing provable programs, developed by StarkWare for STARK-based zero-knowledge proofs and StarkNet smart contracts. This repository provides the Python-implemented Cairo compiler toolchain, distributed as a pip-installable package.

## Use cases
- write provable programs in cairo
- compile cairo smart contracts for starknet
- generate stark proofs for computation
- set up a cairo development environment
- build the cairo compiler from source
- learn the cairo programming language

## When to choose
- you are developing StarkNet smart contracts in Cairo
- you need to compile or verify provable Cairo programs
- you want the official StarkWare Cairo toolchain

## When to avoid
- you need a general-purpose programming language unrelated to provable computation
- you want the newer Rust-based Cairo compiler (cairo repo) rather than the legacy Python implementation
- you are not working with STARK proofs or StarkNet

## Facets
- artifact type: library
- maturity: active
- function: compiler, programming-language, cryptography, developer-tools
- domain: programming-languages, blockchain, developer-tools
- platform: python, cross-platform
- tags: cairo, starknet, zero-knowledge-proofs, stark-proofs, provable-programs, smart-contracts, cryptocurrency, linux, docker

## Member repositories
- starkware-libs/cairo-lang (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.808193+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:01.055874+00:00, confidence not recorded.
  - readme: https://github.com/starkware-libs/cairo-lang (fetched 2026-08-28T04:04:31.808193+00:00, sha fa7069b02d5c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
