OpenViSTAI · Agents · Blockchain · Crypto
Menu
ZK & Privacy

Circomlib Ml

Circomlib Ml is an open-source library of Circom circuit templates for machine-learning operations, with repository tests and examples.

Independent OpenViST project profile, based on linked sources.

Circomlib Ml — OpenViST project profile in ZK & Privacy.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when implementing or studying machine-learning operations as Circom circuit components, especially when you need examples of layer templates and associated tests.

Who it is for

  • Developers building Circom circuits that represent neural-network operations.
  • Developers exploring machine-learning computations in zero-knowledge proof workflows.

Documented uses

  • Represent operations such as convolution, dense layers, pooling and activation in Circom.
  • Use circuit templates and test examples as a starting point for machine-learning circuit work.
  • Test the repository’s circuit templates with its documented npm script.
Before you choose

Requirements & limits

The repository is public and identifies its license as GPL-3.0.

  • Circom uses integer signals, so adapting floating-point weights and biases requires scaling.
  • AveragePooling2D requires a separately supplied scale factor.
  • Conv2D is documented as supporting valid padding only.
  • The project recommends considering Poly instead of ReLU when reducing circuit constraints is important, with a performance tradeoff noted for polynomial activation.
  • The README warns that it may be outdated and directs readers to the test folder for current examples.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run the repository’s circuit-template tests

Use the documented test command to test the circomlib-ml circuit templates.

Before you start

  • A local copy of the circomlib-ml repository
  • An npm environment capable of running the repository’s test script

Steps

  1. Review the test folder for examples; the README points to it for the latest examples.

  2. From the repository, run the command below.

    Documented command
    npm run test

Expected outcome

The repository’s test script runs against the circuit templates.

Guide limitations

  • The README warns that its documentation may be outdated.
  • This describes the documented command, not an independently verified test result.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
socathie/circomlib-ml · Official homepage title · retained in its source language