BASE

Supermodel CLI

Supermodel CLI

CLI for developers and coding agents · Free

A CLI that builds a graph of repository files, functions, and calls through the Supermodel API, saving .graph alongside the code as coding-agent context.

Also known as: supermodeltools/cli

Resource illustration: Supermodel CLI

Open resource ↗

What you can use for free

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

Paid features and costs

MIT applies to the CLI; the Supermodel API and AI agent have separate pricing. Token savings are not guaranteed.

Access and limitations

You can use the code under the stated license; servers, APIs, and compute must be provided separately. MIT applies to the CLI; the Supermodel API and AI agent have separate pricing. Token savings are not guaranteed.

Use cases

  • Check how source code is sent to the Supermodel API and choose an appropriate repository.
  • Generate the graph and verify several real imports/calls; update the graph after code changes.

Example workflow

A possible workflow; this is not a report of hands-on testing.

A CLI that builds a graph of repository files, functions, and calls through the Supermodel API, saving .graph alongside the code as coding-agent context.

Before you start

  • A repository, a Supermodel account/API, and the selected agent.

Steps

  1. Check how source code is sent to the Supermodel API and choose an appropriate repository.
  2. Generate the graph and verify several real imports/calls; update the graph after code changes.
  3. Compare the result with the workflow's goal; after changing the project, run its standard checks.

Check your result

  • The graph matches the current code version; check API access and which files are sent.
  • Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.

Choosing Supermodel CLI

Check how source code is sent to the Supermodel API and choose an appropriate repository.

Choose this when

  • Check how source code is sent to the Supermodel API and choose an appropriate repository.
  • Generate the graph and verify several real imports/calls; update the graph after code changes.

Requirements

  • An authorized Supermodel account/API key and permission to send the source repository to an external service.

Things to consider

  • Costs and limits of free use: MIT applies to the CLI; the Supermodel API and AI agent have separate pricing. Token savings are not guaranteed.
  • Terms of use: MIT for the code and instructions in this repository; integrated products have separate licenses.
  • Advertised token savings are not guaranteed for a particular project or agent.

Frequently asked questions

What can you use for free in Supermodel CLI?

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

What additional costs might arise with Supermodel CLI?

MIT applies to the CLI; the Supermodel API and AI agent have separate pricing. Token savings are not guaranteed.

What terms of use matter for Supermodel CLI?

MIT for the code and instructions in this repository; integrated products have separate licenses.

How do you get started with Supermodel CLI?

Check how source code is sent to the Supermodel API and choose an appropriate repository. Generate the graph and verify several real imports/calls; update the graph after code changes. Compare the result with the workflow's goal; after changing the project, run its standard checks.

Does Supermodel analysis run locally or send the repository to an API?

The CLI uploads the repository to the Supermodel API for call graph analysis, then writes plaintext .graph shards beside source files and can maintain them incrementally. Read-file agents use these files; a separate stdio MCP provides analyze/dead_code/blast_radius/get_graph. Authentication uses an account/API key; local reading of a completed graph does not mean the initial analysis is local.

License

MIT for the code and instructions in this repository; integrated products have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • Supermodel CLI
  • supermodeltools
  • Developer tools

Sources

Other resources