Awesome AI AgentsFinancial & Trading Systems

lightninglabs/LangChainBitcoin

⭐ 143 Python added to this list on 2025-04-19 repository created 2023-05-18

LangChainBitcoin is a comprehensive suite of AI tools designed to empower LangChain agents with direct interaction capabilities with Bitcoin and the Lightning Network. The project offers two primary functionalities: LLM Agent BitcoinTools and L402 HTTP API Traversal. The LLM Agent BitcoinTools leverage OpenAI's GPT-3/4 function calls and LangChain's tool abstractions to enable agents to manage Bitcoin balances both on-chain and on the Lightning Network, send and receive Bitcoin via Lightning, and interact with Lightning nodes (lnd). This functionality allows AI agents to perform real Bitcoin transactions and manage digital currency autonomously. The L402 HTTP API Traversal feature is a Python-based solution that facilitates seamless navigation of APIs requiring L402 authentication, a protocol for Lightning Network-based payment or authentication. It provides a wrapper around the popular requests library to handle LSATs (Lightning Service Authentication Tokens) and Lightning payments, making it easier for developers to integrate with APIs that meter access via Lightning payments. This feature also includes a LangChain APIChain compatible wrapper, enabling LangChain agents to interact with real-world resources behind Lightning metered APIs. LangChainBitcoin is designed to work smoothly with LND (Lightning Network Daemon), providing classes such as LndNode and LightningNode for managing Lightning payments and RequestsL402Wrapper and ResponseTextWrapper for handling HTTP requests with L402 authentication. The project includes interactive Jupyter notebooks demonstrating the use of LLM Bitcoin Tools and LangChain402 API traversal, making it accessible for users to experiment and build upon. Installation involves cloning the repository and installing Python dependencies. Usage examples show how to initialize Lightning nodes and create L402-aware API chains that automatically handle payment-required responses by making Lightning payments and retrying requests. Overall, LangChainBitcoin bridges AI agents with Bitcoin's native currency and Lightning Network's payment infrastructure, enabling innovative applications in decentralized finance and AI-driven financial interactions.

https://github.com/lightninglabs/LangChainBitcoin

ai-agentsapi-authenticationapichainbitcoinbitcointoolsdecentralized-financedigital-currencygpt-4l402-http-api-traversallangchainlightning-networklightning-network-daemonlightning-paymentsllm-agentlndlsatopenai-gpt-3pythonrequests-library

Also in Financial & Trading Systems

TauricResearch/TradingAgents

TradingAgents is an open-source multi-agent financial trading framework leveraging large language models to simulate real-world trading firm dynamics and collaboratively make informed trading decisions.

HKUDS/Vibe-Trading

Vibe-Trading is an AI-powered personal trading agent leveraging LLMs for comprehensive algorithmic trading, backtesting, and multi-agent financial market analysis.

Fincept-Corporation/FinceptTerminal

FinceptTerminal is an advanced C++/Qt6/Python-based desktop application providing comprehensive financial analytics, investment research, and real-time trading capabilities with AI agents and exten...

hummingbot/hummingbot

Hummingbot is an open-source framework for building and deploying high-frequency crypto trading bots on various centralized and decentralized exchanges.

ValueCell-ai/valuecell

ValueCell is a community-driven, multi-agent platform that leverages AI to provide comprehensive financial applications including stock research, automated trading, and market analysis across multiple global markets.

Lumiwealth/lumibot

Python library for building, backtesting and live-trading algorithmic strategies, with a built-in LLM agent runtime whose agents query market, filings and macro data tools and can place broker orders.

pskrunner14/trading-bot

A Stock Trading Bot that uses Deep Q-Learning, a form of Deep Reinforcement Learning, to learn and execute trading strategies based on historical stock market data.

whchien/ai-trader

Config-driven backtesting framework for algorithmic trading built on Backtrader, shipping 20+ strategies, multi-market data fetching and an MCP server that lets AI assistants run backtests.