---
title: '@0xintuition/cli'
description: Discover contract encoders and generate calldata without configuring a wallet or submitting transactions.
url: https://docs.intuition.systems/docs/reference/packages/cli
markdown_url: https://docs.intuition.systems/docs/reference/packages/cli.md
version: V2
llms_index: https://docs.intuition.systems/llms.txt
kind: reference
reader:
  - app
  - agent
packages:
  - '@0xintuition/cli@0.1.1'
---

## What it's for

An `intuition` executable for encoder discovery and deterministic calldata generation, plus library exports for encoders and compatibility plan aliases. It does not own public clients, wallets, simulation, or submission.

## When to use it

Use it when a script or agent needs to discover an encoder or prepare a specific contract call. Use [SDK actions](https://docs.intuition.systems/docs/reference/packages/sdk) for new action-envelope integrations. The executable has no plan command; its library's deprecated `build*Plan` aliases delegate to SDK-owned envelope builders.

## Install

```sh
npm install @0xintuition/cli@0.1.1
```

Use ESM `import` or CommonJS `require()` for the library on Node 20+. The `intuition` executable remains ESM and bundles its protocol, periphery, and SDK code; published types still reference those dependency APIs. See [module-format compatibility](https://docs.intuition.systems/docs/reference/compatibility#runtime-requirements).

## Entry points

| Subpath | Purpose |
| --- | --- |
| `.` | Calldata encoders, envelope schemas, and deprecated plan aliases |

The `intuition` binary is a package executable, not an additional import subpath.

## Depends on and works with

Runtime package dependencies: [periphery](https://docs.intuition.systems/docs/reference/packages/periphery), [protocol](https://docs.intuition.systems/docs/reference/packages/protocol), and [sdk](https://docs.intuition.systems/docs/reference/packages/sdk). Peer dependencies: none. `viem` is an ordinary runtime dependency in the package manifest.

An external executor owns deployment compatibility, fresh reads, simulation, approval, and signing. Envelope metadata identifies the SDK as the builder even when called through a deprecated CLI alias.

## @0xintuition/cli - Example

Discover core MultiVault write encoders using the exact package pin:

```sh
npx @0xintuition/cli@0.1.1 encoders list --surface core --contract multivault --kind write --json
```

The command prints the encoder catalog and does not submit a transaction. For `encode`, `--args` must be a JSON array; pass ABI integers as decimal strings to avoid JavaScript number precision loss. Invalid command arguments or unsupported encoders fail instead of producing a usable call.

Target support is contract-specific. Core targets cover the relevant Intuition mainnet/testnet and Base/Base Sepolia contracts; this does not make every contract available on every chain. Canonical bridge targets are mainnet-only, and the router lookup throws while a compatible redeployment is absent from the pinned map. FeeProxy and dynamic-fee curve intents carry explicit addresses and accept Intuition mainnet or testnet; accepting a chain ID does not prove deployment capability.

Review [action plans](https://docs.intuition.systems/docs/build/action-plans) before handing encoded output to an executor. Encoding is neither execution authorization nor a successful simulation.

## Related concepts

[Protocol writes](https://docs.intuition.systems/docs/concepts/protocol-writes) separates preparation, approval, and execution.

## Source

[Package README](https://github.com/0xIntuition/packages/blob/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/cli/README.md), [network support matrix](https://github.com/0xIntuition/packages/blob/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/cli/docs/network-support-matrix.md), and [executable source](https://github.com/0xIntuition/packages/tree/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/cli/src/bin).

Applies to V2 · `@0xintuition/cli` 0.1.1
