lighter-agent-kit

Query Lighter market data and execute trades via Python scripts.

53|3|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/elliottech/lighter-agent-kit --skill lighter-agent-kit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lighter-agent-kit
Source: https://github.com/elliottech/lighter-agent-kit/tree/main
Command: npx skills add https://github.com/elliottech/lighter-agent-kit --skill lighter-agent-kit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lighter-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Query market data and execute trades on Lighter to empower agents.

Core Features & Use Cases

  • Read live market data (order books, trades, candles, funding rates) for perpetual and spot markets.
  • Execute trades (limit, market, modify, cancel) and manage leverage, margins, withdrawals, and transfers.
  • Paper-trade simulations and account management to test strategies safely before real trading.

Quick Start

Ask your AI to fetch BTC market data and place a limit order on Lighter.

Frequently Asked Questions about lighter-agent-kit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute trades on Lighter using an AI agent?

You can execute trades on Lighter using an AI agent by leveraging the provided Python scripts to place limit and market orders, modify existing orders, and manage account leverage, margins, and transfers across perpetual and spot markets.

Can I read live order book and candle data for perpetual markets on Lighter?

Yes, you can read live market data for perpetual and spot markets on Lighter. The Skill queries order books, recent trades, candles, and funding rates to provide AI agents with real-time market context for trading.

Does the Lighter trading Skill support paper trading for testing strategies?

Yes, the Lighter trading Skill supports paper trading simulations. It includes account management features allowing you to safely test trading strategies and evaluate PnL checks before executing real trades.

Do I need API keys and the lighter-sdk to place trades on Lighter?

Yes, you need API keys and the lighter-sdk dependency to place trades on Lighter. The Skill uses a vendor SDK bootstrap to securely load dependencies and manage credentials required for executing trades and reading market data.

What is the best way to manage leverage and margins for perpetual trades on Lighter?

The best way to manage leverage and margins for perpetual trades on Lighter is by using the Skill's trade execution scripts. These scripts allow AI agents to directly adjust leverage, modify margins, and handle account transfers.

Why does my AI agent fail to connect to the Lighter market data API?

If your AI agent fails to connect to the Lighter market data API, it may be due to missing or incorrect credentials. The Skill requires properly configured API keys and a successful lighter-sdk bootstrap to securely load dependencies.