Skip to main content

ElizaOS Integration

The @stwd/eliza-plugin provides drop-in Steward wallet management for ElizaOS agents — policy-enforced signing, balance checking, and approval flows.

Installation

Configuration

Add the plugin to your ElizaOS character configuration:
Set the required environment variables:

What It Provides

Service

The StewardService initializes and manages the Steward SDK connection:

Actions

sign-transaction

Signs and broadcasts an EVM transaction through Steward’s policy engine.

transfer

Transfer native tokens (ETH/SOL) to a specified address.
sign-transaction — Triggered when the agent needs to sign a blockchain transaction:
transfer — Triggered for simple token transfers:

Providers

wallet-status

Provides wallet address and status context to the agent’s prompts.

balance

Provides current balance information for the agent’s wallet.
These providers inject wallet context into the agent’s LLM prompts, so the agent knows its wallet address and current balance without explicit queries.

Evaluator

The approval-required evaluator checks for pending transactions in the approval queue and notifies the agent (or user) when manual approval is needed.

Example: Full ElizaOS Character

Docker Container Setup

For agents running in Docker containers (e.g., on a hosted cloud), the plugin uses environment variables:
When using the Proxy Gateway, add its URL to the core plugin configuration above and use an agent JWT:

Handling Approval Flows

When a transaction exceeds the auto-approve threshold, it enters the approval queue:
The approval-required evaluator periodically checks for pending transactions and can notify users in the chat.