GoFin documentation

A small start.
A lot of possibilities.

Install GoFin. Connect an account.
Give your agent the tools, on your terms.

Continue in your agent
Follow https://gofin.sh/docs/ to help me install or update GoFin and set up my chosen AI agent. Guide me through protected steps in my own Terminal and verify the installation.

Start here

1. Install GoFin

GoFin’s protected runtime requires macOS 13 or newer on Apple Silicon or Intel and administrator access. Setup and administration work in Apple Terminal or your own interactive macOS system OpenSSH session, including over Tailscale; they need no GUI login or Touch ID. The prebuilt runtime needs no Rust, Swift, Node.js or npm.

Use an SSH client you control. Custom SSH servers and terminal multiplexers are unsupported. SSH setup does not remove the separate financial approval requirements. See the session requirements and trust boundaries.

Run this command in Apple Terminal or your own macOS system OpenSSH session to install the latest completed GoFin release (stable, beta or RC):

macOS · latest GoFin release
curl -fsSL https://limechain.github.io/gofin-cli/install.sh | sh

Release availability: installation requires a completed GoFin release with downloadable assets. If none is available yet, build from source.

The hosted installer selects the newest published GoFin release with completed assets (stable, beta or RC) and downloads the matching bundle for your Mac. It verifies the checksum manifest and starts protected setup automatically. No version argument is needed.

The curl command is for initial installation. Already have GoFin? Use the update instructions to keep your saved connections, credentials and financial history.

These instructions use the latest GoFin release. For release assets and release notes, see GoFin releases.

Build from source

For a source build on macOS, first install Git, Make and Python 3, plus Rust via rustup and Apple’s Command Line Tools and Swift compiler. The checkout’s rust-toolchain.toml selects the pinned Rust toolchain. These build tools are not required for a prebuilt release.

In Apple Terminal or your own macOS system OpenSSH session, clone the repository and build a local debug bundle:

git clone https://github.com/LimeChain/gofin-cli.git
cd gofin-cli
make bundle

Review the resulting bundle and its checksum manifest before setup. From the same checkout, run:

make setup

make setup builds a debug bundle and runs the real protected installer. Run Make as your normal user, without sudo; GoFin asks for administrator authentication when needed. This installs GoFin on your Mac; it is not the isolated synthetic development environment.

For compatible local source changes, use make update from the reviewed checkout in your own Terminal or macOS system OpenSSH session. For published stable, beta or RC releases, see Update GoFin. Both preserve saved connections and financial history. See the usage reference and bundle guide.

What setup asks you to approve

Both installation routes run protected setup in Apple Terminal or your own macOS system OpenSSH session. GoFin explains the Mac login password that sudo may request, then asks you to confirm the exact configuration and financial limits in the protected terminal. Setup does not request Touch ID or grant financial authority.

  • Movement limit: gross movement including maximum execution costs.
  • Rolling 24-hour allocation: gross movement, maximum execution costs and additional borrowing across accounts and commands.

Pressing Enter keeps $100 for each limit; 0 means no personal limit for that field. These choices do not bypass the approval rules below.

Setup installs and starts the protected local broker, verifies that it responds, registers GoFin on PATH and enables completion for your login shell. Setup moves no funds. At the end you can select optional skills for Codex, Claude Code, Hermes and OpenClaw: arrow keys move, Space selects and Enter installs. Nothing is preselected; Esc skips the optional step.

After setup, open a new Terminal or SSH login session and check the installation before connecting an account:

gofin doctor

2. Connect an account

Start with the connection guides for wallet setup and exchange API-key creation.

Open a new Terminal or SSH login session after setup and run:

gofin connections add

GoFin asks for connection details, then requests credentials privately. Enter API keys and private keys only in GoFin’s protected prompt, never in chat. Saving a connection uses fresh sudo and protected terminal review; it does not request Touch ID or move funds.

Available operations depend on the provider, network and permissions you enable.

3. Head back to your agent

Choose from Codex, Claude Code, OpenClaw and Hermes. Follow the shared setup guide and choose your agent’s section.

Select the optional GoFin skill for Codex, Claude Code, Hermes or OpenClaw during setup. To install it later, run the command for your agent as your normal user, without sudo:

For Codex:

gofin skill install --agent codex

For Claude Code:

gofin skill install --agent claude

Restart your agent if its skill list does not refresh, and make sure it can find gofin on PATH. Installing the skill does not authorize financial actions. See the skill guide for inspection and maintenance.

Hermes and OpenClaw

Both have bundled skill installation. For Hermes:

gofin skill install --agent hermes

For OpenClaw:

gofin skill install --agent openclaw

GoFin manages the default user-home skill directories. Custom profiles need their own configuration, and an existing shared skill copy can take precedence in OpenClaw. See the shared setup guide for loading paths and execution scope.

Every agent needs access to the installed CLI and protected broker. Installing a skill does not give a remote or sandboxed session that access or establish financial readiness. Required human approval stays separate.

Try GoFin without moving funds, starting with public market data.

Start by exploring your connected accounts. Your agent can discover the commands available in your installed version, inspect balances and markets, and explain what it can do next.

GoFin supports account and market reads, trading, transfers and bridges, swaps, liquidity management, Aave lending and borrowing, and named plans across supported integrations. Reads, previews and status need no financial approval. Check current capabilities and operation definitions before preparing a request.

Morpho V2 vaults and rewards

The Morpho integration covers V2 vault discovery, positions, ERC-20 deposits, withdrawals and share redemptions on Ethereum and Base, plus selected-token Merkl rewards. V1 vaults and Morpho borrowing are outside this scope. Confirm the operations available through your installed GoFin before use.

Full share redemption uses the prevailing vault value without a guaranteed minimum payout. A Merkl claim covers the full wallet/token aggregate, potentially including other programs; another claim before inclusion can reduce payment, including to zero. Positive live reward claiming remains a separate verification gap. See the Morpho scope and execution details.

Keep GoFin up to date

GoFin can let you know in your Terminal when a newer completed release is available. It checks in the background at most once every 24 hours and never installs updates automatically. Notices appear only in the installed CLI’s interactive Terminal output, not in JSON or redirected output.

To update an existing protected installation, run this yourself in Apple Terminal or your own macOS system OpenSSH session:

gofin update

The updater selects the latest completed release, verifies its release identity and checksums, and replaces the runtime only when it is semantically newer. Equal or older runtimes are refused. It preserves your connections, credentials, financial limits, history and pending operation records. It does not run setup again, replay submitted operations or approve financial actions.

Update compatibility: an existing binary retains its embedded update validator and may reject newer release types or lack gofin update. If the feed offers a compatible intermediate release with the required support, update through it first; otherwise, use make update from an updated, reviewed source checkout in your own Terminal or macOS system OpenSSH session. Keep your existing installation; the curl installer refuses to overwrite it.

Updates require a matching journal schema; incompatible versions are refused. If an update reports a failure, follow its recovery instructions before retrying and keep any retained backup until the new runtime is verified. See the update guide and recovery details.

To turn off automatic checks and notices, set GOFIN_NO_UPDATE_CHECK=1 in your environment. You can still run gofin update explicitly. Existing, unchanged GoFin-managed agent skills can be refreshed during an update; edited copies are preserved and reported.

Anonymous analytics

Published releases send best-effort anonymous command usage, installation/update outcomes and sanitized errors by default. A random installation ID belongs to one OS account’s GoFin home and persists across updates. Reports exclude credentials, raw arguments and responses, wallet/account/transaction identifiers, financial quantities and arbitrary error text. Local development builds do not report.

Inspect or change your reporting preference as your normal user, without sudo, Touch ID or a running broker:

gofin analytics status

Turn reporting off:

gofin analytics disable

Turn reporting back on:

gofin analytics enable

The preference survives updates; disabling reporting keeps the installation ID. Status distinguishes your preference from whether this build can report. See the analytics guide for the full reporting scope and opting out before installation.

Your limits. Your approval.

The protected broker keeps credential values away from your agent and checks authority independently before dispatching financial actions.

  • Movement limit: a limit on gross movement including maximum execution costs.
  • Rolling 24-hour allocation: a shared budget for gross movement, maximum execution costs and additional borrowing.
  • Human approval: with Yolo off, standalone financial writes require fresh Touch ID. Supported bounded approvals and plans cover only the scope you approved.

Yolo is off by default and setup never enables it. Only you can change it through a verified Apple Terminal or macOS system OpenSSH session with fresh sudo. It allows financial requests without further per-action approval, while retaining limits and operation checks; configuration sudo grants no financial authority. See the Yolo explanation before enabling it.

Your agent can prepare an action. GoFin still enforces the boundaries. See how financial limits and approvals work, including bounded plans, Yolo and recovery.

Curious about the details?

Ask your agent to audit how GoFin protects your secrets and enforces your limits and approvals. The project’s documentation covers the design and implementation.