Orkid

ElizaOS plugins

Orkid plugins for ElizaOS agents — gasless swaps and persistent memory.

Orkid publishes two ElizaOS plugins under the @orkid-labs npm scope. Install them directly from npm — elizaOS retired its community plugin registry (elizaOS/eliza#32219), so direct package install + plugins[] wiring is the supported path.

Starter template

Forkable agent starter — Dockerfile + character config wiring both plugins: github.com/orkid-labs/eliza-trader-starter. Clone it, add env vars, and the agent quotes and dry-runs against the keyless sandbox immediately.

@orkid-labs/plugin-orkid

Gasless swap engine integration — an agent can quote, execute, dry-run, confirm, and track swaps across Base, Ethereum, and Arbitrum.

bun add @orkid-labs/plugin-orkid
# or
npm install @orkid-labs/plugin-orkid

Register it in your agent character:

import { orkidPlugin } from '@orkid-labs/plugin-orkid'

const character = {
  // ...
  plugins: [orkidPlugin],
}

Configuration

VariableRequiredDescription
ORKID_API_KEYYes40-char hex API key — required for partner volume tracking. Instant key at orkidlabs.xyz/partner; higher tiers via api@orkidlabs.com.
ORKID_API_URLNoAPI base URL. Defaults to https://orkidlabs.xyz; use https://sandbox.orkidlabs.com for dry-run-only test mode.
ORKID_USER_ADDRESSNoDefault wallet address for swaps.

Actions

ActionDescription
ORKID_GET_QUOTEQuote a swap — calls /api/v1/route (non-billable)
ORKID_EXECUTE_SWAPExecute a swap — calls /api/v1/solve (billable, counts toward rebates)
ORKID_DRY_RUN_SWAPSolve with dryRun: true — returns calldata without submitting
ORKID_CONFIRM_TXConfirm a user-pays-gas transaction via /api/v1/confirm
ORKID_LIST_TOKENSList supported tokens per chain
ORKID_GET_USAGEAccount usage and volume stats
ORKID_MARKET_DATAProvider — injects live market context into agent state

Links: npm · source

@orkid-labs/plugin-mempalace

Persistent agent memory via the MemPalace MCP server — store, search, and recall context across sessions. Agents get durable long-term memory instead of per-session state.

bun add @orkid-labs/plugin-mempalace
# or
npm install @orkid-labs/plugin-mempalace
import { mempalacePlugin } from '@orkid-labs/plugin-mempalace'

const character = {
  // ...
  plugins: [mempalacePlugin],
}

Configuration

VariableRequiredDescription
MEMPALACE_MCP_URLOne of the twoURL of a running MemPalace MCP server (HTTP transport — takes precedence)
MEMPALACE_MCP_CMDOne of the twoCommand to spawn the MemPalace MCP server over stdio, e.g. mempalace-mcp
MEMPALACE_DIRNoMemPalace data directory for the stdio server

Actions and provider

ActionDescription
STORE_PALACE_MEMORYStore a memory into the palace
RECALL_PALACE_MEMORYSearch and recall stored memories
CALL_MEMPALACE_TOOLInvoke an arbitrary MemPalace MCP tool
MEMPALACE_CONTEXTProvider — injects relevant stored context into agent state

Do not store secrets, credentials, or API keys in MemPalace.

Links: npm · source

On this page