# CircomJS

CircomJS is a javascript framework for automating and easing workflow around developing in the [Circom](https://docs.circom.io) DSL.

A Circom project can be divided into the following phases:

* Writing circuits.
* Building the circuits.
* Consuming the builds.

The below diagram captures the workflow of a basic Circom project.

<figure><img src="/files/Tcjofm31LkDnMtozrc5R" alt=""><figcaption><p>Circom-worflow</p></figcaption></figure>

Circom JS aims to ease the process around `Building` your circuits and `Consuming` the builds.&#x20;

You can think of it as [hardhat](https://hardhat.org/docs) + [ethers](https://docs.ethers.org/v5/) for Circom.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zefi.gitbook.io/circomjs/introduction/circomjs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
