unsnag pimlico 1.2.0 · 7bff655a7e58 dirty
· 32m 29s mock
known gaps of mock: usage and key activity have no 1-2 hour aggregation lag; month-to-date metered units behind balance are fixed values; no rate limiting
runs / create-launch-policy/opencode-google-gemini-4-argon/name-only/3 · ← prev next →

create-launch-policy/opencode-google-gemini-4-argon/name-only/3 · pass

Outcome
pass
1/1 Checks passed
Turns
5
model turns
CLI calls
7
0 exited non-zero
Help lookups
3
reads of the CLI's help
Tokens in
11832
2026 of them cached
Tokens out
455
written by the model
Cost
$0.02
of the model calls
Wall time
65.0s
from start to the Checks
scenario
create-launch-policy
agent
opencode:google/gemini-4-argon · 2.2.7
context
name-only
repeat
3 · cell ✓✓✓✓✓
findings
—
provider
Google AI Studio

checks

#checkresultdetailsignal
1
set -euo pipefail
curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/state" | jq -e '
  [.sponsorshipPolicies[] | select(.policyName == "launch-week" and (.deleted | not))] as $p
  | ($p | length) == 1
    and ($p[0].chainIdWhitelist | sort) == [10, 8453]
    and $p[0].globalMaximumUsd == "500000000"
    and $p[0].perUserMaximumUsd == "5000000"
    and $p[0].perOpMaximumUsd == null
    and $p[0].active'
passexited 0
true

reproduce

unsnag run --scenario create-launch-policy --agent opencode:google/gemini-4-argon --context name-only --runs 1

Transcript highlighted = a Signal fired

#actorcontentexitsignal
0user
You have the `pimlico` CLI available.

Set up a Pimlico sponsorship policy called launch-week that only sponsors on Base and Optimism, with a $500 total budget and at most $5 per user.
1agent
$ pimlico --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
2agent
$ pimlico policies create --help
Usage: pimlico policies create [options]

Create a sponsorship policy (active unless --inactive)

Options:
  --name <name>         Policy name (required)
  --chains <ids>        Comma-separated chain ids the policy applies to
  --budget-usd <usd>    Total USD the policy may sponsor
  --per-user-usd <usd>  USD cap per sender address
  --per-op-usd <usd>    USD cap per user operation
  --start <date>        Start of validity (ISO 8601)
  --end <date>          End of validity (ISO 8601)
  --inactive            Create the policy switched off
  -h, --help            display help for command
$ pimlico chains --help
Usage: pimlico chains [options]

Supported chains (no login needed)

Options:
  --mainnet   Only mainnets
  --testnet   Only testnets
  --all       Include deprecated chains
  -h, --help  display help for command
$ pimlico whoami --json
{
  "userId": "user_2pX7mK9qRvT3nLwE8hYc4ZbA1dF",
  "orgId": "org_2pX7nQ4sVbW9kLmR3tYe6HcJ8uA",
  "email": "ops@northwind-labs.dev",
  "displayName": "Northwind Labs",
  "entityType": "org",
  "scopes": [
    "write:policies",
    "write:keys"
  ],
  "warnings": []
}
3agent
$ pimlico chains --mainnet
Chain ID  Name          Network  ERC-20  Status
       1  Ethereum      mainnet  yes
      10  Optimism      mainnet  yes
     137  Polygon       mainnet  yes
    8453  Base          mainnet  yes
   42161  Arbitrum One  mainnet  yes
$ pimlico policies list --json
{
  "policies": [
    {
      "id": "sp_brave_banshee",
      "name": "Production main",
      "active": true,
      "chainIds": [
        8453,
        10,
        42161
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": "5000.00",
      "perUserUsd": "25.00",
      "perOpUsd": "2.00",
      "createdAt": "2026-04-30T23:22:45.106Z",
      "updatedAt": "2026-11-04T23:22:45.106Z"
    },
    {
      "id": "sp_breezy_archangel",
      "name": "Mobile onboarding",
      "active": true,
      "chainIds": [
        8453
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": "5.00",
      "perOpUsd": null,
      "createdAt": "2026-06-19T23:22:45.106Z",
      "updatedAt": "2026-06-19T23:22:45.106Z"
    },
    {
      "id": "sp_amused_arclight",
      "name": "beta-promo",
      "active": true,
      "chainIds": [
        84532
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": null,
      "perOpUsd": "0.50",
      "createdAt": "2026-10-07T23:22:45.106Z",
      "updatedAt": "2026-10-07T23:22:45.106Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:22:45.106Z",
      "endTime": "2026-11-30T23:22:45.106Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:22:45.106Z",
      "updatedAt": "2026-11-08T23:22:45.106Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:22:45.106Z",
      "endTime": "2026-09-17T23:22:45.106Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:22:45.106Z",
      "updatedAt": "2026-09-17T23:22:45.106Z"
    }
  ],
  "warnings": []
[… 3 more characters]
4agent
$ pimlico policies create --name launch-week --chains 8453,10 --budget-usd 500 --per-user-usd 5 --json
{
  "id": "sp_conscious_tarantula",
  "name": "launch-week",
  "active": true,
  "chainIds": [
    8453,
    10
  ],
  "startTime": null,
  "endTime": null,
  "budgetUsd": "500.00",
  "perUserUsd": "5.00",
  "perOpUsd": null,
  "createdAt": "2026-11-16T23:23:23.627Z",
  "updatedAt": "2026-11-16T23:23:23.627Z",
  "warnings": []
}
5agent
The `launch-week` sponsorship policy has been created:

- **Policy ID:** `sp_conscious_tarantula`
- **Name:** `launch-week`
- **Status:** Active
- **Chains:** Base (`8453`), Optimism (`10`)
- **Total Budget:** $500.00
- **Per-User Cap:** $5.00

Target CLI calls

#callexitmssignal
0
$ pimlico --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
0147
1
$ pimlico policies create --help
Usage: pimlico policies create [options]

Create a sponsorship policy (active unless --inactive)

Options:
  --name <name>         Policy name (required)
  --chains <ids>        Comma-separated chain ids the policy applies to
  --budget-usd <usd>    Total USD the policy may sponsor
  --per-user-usd <usd>  USD cap per sender address
  --per-op-usd <usd>    USD cap per user operation
  --start <date>        Start of validity (ISO 8601)
  --end <date>          End of validity (ISO 8601)
  --inactive            Create the policy switched off
  -h, --help            display help for command
0182
2
$ pimlico chains --help
Usage: pimlico chains [options]

Supported chains (no login needed)

Options:
  --mainnet   Only mainnets
  --testnet   Only testnets
  --all       Include deprecated chains
  -h, --help  display help for command
0192
3
$ pimlico whoami --json
{
  "userId": "user_2pX7mK9qRvT3nLwE8hYc4ZbA1dF",
  "orgId": "org_2pX7nQ4sVbW9kLmR3tYe6HcJ8uA",
  "email": "ops@northwind-labs.dev",
  "displayName": "Northwind Labs",
  "entityType": "org",
  "scopes": [
    "write:policies",
    "write:keys"
  ],
  "warnings": []
}
0257
4
$ pimlico chains --mainnet
Chain ID  Name          Network  ERC-20  Status
       1  Ethereum      mainnet  yes
      10  Optimism      mainnet  yes
     137  Polygon       mainnet  yes
    8453  Base          mainnet  yes
   42161  Arbitrum One  mainnet  yes
0290
5
$ pimlico policies list --json
{
  "policies": [
    {
      "id": "sp_brave_banshee",
      "name": "Production main",
      "active": true,
      "chainIds": [
        8453,
        10,
        42161
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": "5000.00",
      "perUserUsd": "25.00",
      "perOpUsd": "2.00",
      "createdAt": "2026-04-30T23:22:45.106Z",
      "updatedAt": "2026-11-04T23:22:45.106Z"
    },
    {
      "id": "sp_breezy_archangel",
      "name": "Mobile onboarding",
      "active": true,
      "chainIds": [
        8453
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": "5.00",
      "perOpUsd": null,
      "createdAt": "2026-06-19T23:22:45.106Z",
      "updatedAt": "2026-06-19T23:22:45.106Z"
    },
    {
      "id": "sp_amused_arclight",
      "name": "beta-promo",
      "active": true,
      "chainIds": [
        84532
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": null,
      "perOpUsd": "0.50",
      "createdAt": "2026-10-07T23:22:45.106Z",
      "updatedAt": "2026-10-07T23:22:45.106Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:22:45.106Z",
      "endTime": "2026-11-30T23:22:45.106Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:22:45.106Z",
      "updatedAt": "2026-11-08T23:22:45.106Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:22:45.106Z",
      "endTime": "2026-09-17T23:22:45.106Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:22:45.106Z",
      "updatedAt": "2026-09-17T23:22:45.106Z"
    }
  ],
  "warnings": []
[… 3 more characters]
0308
6
$ pimlico policies create --name launch-week --chains 8453,10 --budget-usd 500 --per-user-usd 5 --json
{
  "id": "sp_conscious_tarantula",
  "name": "launch-week",
  "active": true,
  "chainIds": [
    8453,
    10
  ],
  "startTime": null,
  "endTime": null,
  "budgetUsd": "500.00",
  "perUserUsd": "5.00",
  "perOpUsd": null,
  "createdAt": "2026-11-16T23:23:23.627Z",
  "updatedAt": "2026-11-16T23:23:23.627Z",
  "warnings": []
}
0236

Final state

outcome
pass
final answer
The `launch-week` sponsorship policy has been created:

- **Policy ID:** `sp_conscious_tarantula`
- **Name:** `launch-week`
- **Status:** Active
- **Chains:** Base (`8453`), Optimism (`10`)
- **Total Budget:** $500.00
- **Per-User Cap:** $5.00
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
webfetch (sandbox)

context inputs

none

prompt

You have the `pimlico` CLI available.

Set up a Pimlico sponsorship policy called launch-week that only sponsors on Base and Optimism, with a $500 total budget and at most $5 per user.

Artifacts

run.json · agent-stdout.jsonl · opencode.db · service-mock.log