Mica
Product
DesktopProducts overviewAI hardware engineerAI PCB designerAsk MicaDownload
Developers Coming soonEnterprise Coming soon
Resources
DocsTutorialsUse casesCompareGlossaryFAQSecurityTransparencyUpdates
Pricing
Talk to usJoin the waitlist
Product
DesktopProducts overviewAI hardware engineerAI PCB designerAsk MicaDownload
Resources
DocsTutorialsUse casesCompareGlossaryFAQSecurityTransparencyUpdates
Developers Coming soonEnterprise Coming soon
PricingNewsTalk to us
Join the waitlist
Mica

Windows alpha. Designs stay on your computer.

Product

  • Desktop
  • Products
  • Download
  • Pricing
  • Updates

Capabilities

  • AI hardware engineer
  • AI PCB designer
  • Ask Mica
  • MCP
  • Integrations

Use cases

  • What you can build
  • Wearables
  • Connected sensors
  • Motor control
  • All use cases

Resources

  • Docs
  • Tutorials
  • Compare
  • Glossary
  • FAQ

Company

  • Security
  • Transparency
  • Careers
  • Events
  • Contact
  • Explore
  • Developers Coming soon
  • Enterprise Coming soon

Programs

  • Startups
  • Students
  • Nonprofits

Legal

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • EULA
  • Usage Policy
  • Responsible Disclosure
  • Policies
© 2026 Mica. Mica by MuscoLabsDrafts of legal terms are pending lawyer review.
Home/Docs/Commands you can type
Docs · reference

Commands you can type

The command line is a text window where you type instructions instead of clicking buttons. MICA's command line is a thin layer over MicaApp, the part of the program that does the work. The JSON-RPC server (JSON-RPC is a way for two programs to send requests to each other) uses the same methods. Every command below was checked against mica/cli/main.py. Only what exists in the code is documented here.

✓ Verify: the mica command name The command parser, the part that reads what you typed, is built with prog="mica" in mica/cli/main.py. This page uses python -m mica.cli.main because the installed command name is not settled. There is no installer yet. The code also has mcp and project commands that this page does not cover.

How every command behaves

  • Exit code 0 means success. 1 means the command ran but its work failed, for example a build with failed tasks. 2 means MicaError, a problem that stopped the command before it could run. That message appears as error: ... on stderr, the error output.
  • How much the program logs, and in what format, comes from MicaConfig (log_level, log_format).

Starting and checking a project

init: create a project workspace

mica init <slug> [--name NAME] [--brief BRIEF]
ArgumentRequiredWhat it does
slugyesThe project's short name, in lowercase, for example ai-glasses.
--namenoThe name people will read, for example Sensor Board.
--briefnoOne line that describes what you want to build.

status: list projects or show one project

mica status [<slug>]
Leave out the slug to list every project.

Design commands

build: make a design from a brief

mica build <slug> "<brief>"
ArgumentRequiredWhat it does
slugyesThe short name of the project to build.
briefyesYour description of what you want, in ordinary words.
The command prints how many requirements it compiled, what happened on each task ([ok] or [FAIL], with details), the files it produced, and how many provenance links it recorded. Provenance links record where each fact came from. Note: paid mode is planned and not live. If a license server were configured, build would need an active subscription.

propose: ask the AI helper for a set of changes

mica propose <slug> "<instruction>" [--apply]
ArgumentRequiredWhat it does
slugyesThe short name of the project to change.
instructionyesThe change you want, in ordinary words.
--applynoMake the change instead of only showing it. Without this flag, you get a review only.

twin: rebuild and show the digital twin (a model of the design held in software)

mica twin <slug>

vision: read a part's data sheet or other technical text

mica vision "<text>" [--type TYPE]
ArgumentRequiredWhat it does
textyesThe text you want it to read.
--typenoWhat kind of document it is. The default is datasheet.

Design and factory outputs

pcb: route the board and export the factory files

mica pcb <slug>
This draws the copper paths that connect the parts on the printed circuit board (PCB). A PCB is the flat board inside a device that holds and connects the electronic parts. The command exports three things. Gerber RS-274X files are the files a factory uses to make the board. A DRC report is a design rule check that tests the board against manufacturing rules. The BOM, or bill of materials, is the list of parts to buy. A board that did not route is never exported. note The real command line has no pcb gerber, pcb drill or pcb pickplace sub-commands, even though older docs mention them. Use pcb <slug>.

mech: design the case and export it as a STEP file, a 3D file format

mica mech <slug>

firmware: generate, compile and test placeholder firmware on your computer

mica firmware <slug> [--cross]
FlagWhat it does
--crossTry the arm-none-eabi-gcc cross-compiler instead of the host cc. This only checks that the code compiles for an ARM target. The tests do not run, and the result must not be flashed to a chip.
It reads design/firmware.json from the project folder, writes the source files, compiles them, and runs the tests on your computer against a simulated register map. It prints Firmware compiled: ...; tests run: ... and the test output. This firmware is a placeholder. It does not run on a real board.

mfg: run a manufacturing estimate

mica mfg <slug>

test: build a test plan

mica test <slug>

docs: build the documentation

mica docs <slug>

Server commands

serve: run the JSON-RPC server on stdio (standard input and output)

mica serve

serve-ui: run the desktop app's server over HTTP (the web request rules)

mica serve-ui [--port PORT]
FlagWhat it does
--portThe numbered door the server listens on. The default is 9876.

Settings the command line reads from your computer

VariableWhat it does
MICA_LICENSE_SERVER_URLWould turn on the account plans and the included AI models. Both are planned and not live. Without it, MICA runs in free local mode.
MICA_LICENSE_KEYA license key, for the planned paid mode. This is an alternative to ~/.mica/license.json.
MICA_HOSTED_MODELThe model name that would be sent to the planned gateway.
MICA_MODEL_PROVIDERChooses the model provider yourself. This always wins over automatic detection.
MICA_BILLING_MODE=dev or MICA_DEV=1Development mode: every feature is allowed and no license check runs.
← Back to docs home

Start with a description.

Mica is in early development. Join the list and we will tell you when it is ready to try.

By joining, you agree to our Privacy Policy. We will only email you about Mica’s launch, and you can ask to be removed at any time.

We will email you when there is something to try. No spam.