open-index/open-npm huggingface dataset:
npm package: @mandate.md/cli
Description: Policy guardrails for agent wallets, from the command line. Zero install.
Latest version: 0.2.1

# @mandate.md/cli

Policy guardrails for agent wallets, from the command line. Zero install.

```bash
npx @mandate.md/cli <command>
```

## Commands

### Scan for unprotected calls

Detect wallet calls in your codebase that bypass Mandate:

```bash
npx @mandate.md/cli scan
```

Scans the current directory by default. Pass a path to scan a specific folder:

```bash
npx @mandate.md/cli scan ./src
```

### Register

```bash
npx @mandate.md/cli login --name "MyAgent"
```

Stores credentials in `~/.mandate/credentials.json`. Prints `claimUrl` for the owner to link the agent to their dashboard.

### Validate (preflight, recommended)

Action-based validation. No gas params, no intentHash.

```bash
npx @mandate.md/cli validate \
  --action transfer \
  --amount 10 \
  --to 0xRecipient \
  --token USDC \
  --reason "Invoice #127"
```

### Transfer

ERC20 transfer with policy enforcement:

```bash
npx @mandate.md/cli transfer \
  --to 0xAlice \
  --amount 10 \
  --reason "Invoice #127"
```

### Status

```bash
npx @mandate.md/cli status <intentId>
```

### Other

```bash
npx @mandate.md/cli whoami          # Verify credentials
npx @mandate.md/cli approve <id>    # Wait for human approval
npx @mandate.md/cli activate 0x...  # Set wallet address post-registration
```

> The `--raw` flag is available on `validate` for legacy EVM validation with full gas params and intentHash computation.

## Agent Discovery

```bash
npx @mandate.md/cli --llms          # Machine-readable command manifest
npx @mandate.md/cli --llms-full     # Full manifest with schemas
```

Agents call `--llms` to discover commands. Each response includes a `next` field pointing to the logical next step.

## MCP Server

```bash
npx @mandate.md/cli --mcp    # Start as MCP stdio server
```

## Community

- [Telegram Developer Chat](https://t.me/mandate_md_chat)
- [Documentation](https://mandate.md)
- [GitHub](https://github.com/AIMandateProject/mandate)
npm package: @mandate.md/mandate-openclaw-plugin
Description: OpenClaw plugin for Mandate policy-enforced on-chain tools
Latest version: 1.2.1

# @mandate.md/mandate-openclaw-plugin

Policy gatekeeper for AI agent wallets. Validates spending limits, allowlists, and schedules before every financial action.

## Install

```bash
openclaw plugins install @mandate.md/mandate-openclaw-plugin
```

## Setup (required after install)

### Step 1: Register with Mandate

The agent must call `mandate_register` with its name and wallet address:

```
mandate_register name="MyAgent" evmAddress="0xYourWalletAddress"
```

This returns:
- `runtimeKey`: saved automatically to `~/.mandate/runtime-key`
- `claimUrl`: **show this to the wallet owner** so they can configure spending limits

### Step 2: Validate before every transaction

Before any transfer, swap, send, buy, sell, bridge, stake, or bet:

```
mandate_validate action="transfer" amount="10" to="0xRecipient" token="USDC" reason="Payment for services"
```

- `allowed: true`: proceed with your wallet (Locus, Bankr, etc.)
- `blocked: true`: do NOT proceed, show reason to user

### Step 3: Check status (optional)

```
mandate_status intentId="..."
```

## Tools

| Tool | When | What |
|------|------|------|
| `mandate_register` | Once after install | Get runtimeKey + claimUrl |
| `mandate_validate` | Before EVERY financial action | Pre-flight policy check |
| `mandate_status` | After validate | Check intent status |

## How it works

- No private key needed. Mandate is a policy layer, not a wallet.
- After validation passes, use your normal wallet (Locus, Bankr, Sponge, etc.)
- Default policy: $100/tx, $1000/day. Owner adjusts at app.mandate.md
- Safety net hook auto-intercepts financial tool calls even if you forget mandate_validate

## Config

runtimeKey is stored in `~/.mandate/runtime-key` (created by mandate_register).
Can also be set in OpenClaw config: `plugins.entries.openclaw-plugin.config.runtimeKey`.
npm package: @mandate.md/openclaw-plugin
Description: OpenClaw plugin for Mandate policy-enforced on-chain tools
Latest version: 0.6.3
Deprecated: Renamed to @mandate.md/mandate-openclaw-plugin

# @mandate.md/openclaw-plugin

Policy gatekeeper for AI agent wallets. Validates spending limits, allowlists, and schedules before every financial action.

## Install

```bash
openclaw plugins install @mandate.md/openclaw-plugin
```

## Setup (required after install)

### Step 1: Register with Mandate

The agent must call `mandate_register` with its name and wallet address:

```
mandate_register name="MyAgent" evmAddress="0xYourWalletAddress"
```

This returns:
- `runtimeKey`: saved automatically to `~/.mandate/runtime-key`
- `claimUrl`: **show this to the wallet owner** so they can configure spending limits

### Step 2: Validate before every transaction

Before any transfer, swap, send, buy, sell, bridge, stake, or bet:

```
mandate_validate action="transfer" amount="10" to="0xRecipient" token="USDC" reason="Payment for services"
```

- `allowed: true`: proceed with your wallet (Locus, Bankr, etc.)
- `blocked: true`: do NOT proceed, show reason to user

### Step 3: Check status (optional)

```
mandate_status intentId="..."
```

## Tools

| Tool | When | What |
|------|------|------|
| `mandate_register` | Once after install | Get runtimeKey + claimUrl |
| `mandate_validate` | Before EVERY financial action | Pre-flight policy check |
| `mandate_status` | After validate | Check intent status |

## How it works

- No private key needed. Mandate is a policy layer, not a wallet.
- After validation passes, use your normal wallet (Locus, Bankr, Sponge, etc.)
- Default policy: $100/tx, $1000/day. Owner adjusts at app.mandate.md
- Safety net hook auto-intercepts financial tool calls even if you forget mandate_validate

## Config

runtimeKey is stored in `~/.mandate/runtime-key` (created by mandate_register).
Can also be set in OpenClaw config: `plugins.entries.openclaw-plugin.config.runtimeKey`.
npm package: @mandate/core
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.1.1.
Latest version: 0.8.0

# Mandate

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.1.1.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).