Skip to main content

AutoHedge

Join our Discord Subscribe on YouTube Connect on LinkedIn Follow on X.com

AutoHedge is an enterprise-grade autonomous agent hedge fund that trades on your behalf. It combines swarm intelligence and specialized AI agents to perform end-to-end market analysis, risk management, and execution with minimal human intervention.

Current support: Full autonomous trading on Solana. Coming soon: Coinbase and additional exchanges.


Overview

AutoHedge is built to be the world's most powerful autonomous agent hedge fund. It runs continuous analysis, generates and validates trading theses, sizes risk, and executes orders across supported venues. The system is designed for institutional reliability: structured outputs, comprehensive logging, and a risk-first architecture that scales from single strategies to multi-venue, multi-asset deployment.


Features

  • Multi-Agent Architecture: Specialized agents for each stage of the trading pipeline

    • Director Agent: strategy and thesis generation
    • Quant Agent: technical and statistical analysis
    • Risk Management Agent: position sizing and risk assessment
    • Execution Agent: order generation and execution
  • Real-Time Market Analysis: Integration with live market data for analysis and execution

  • Risk-First Design: Built-in risk management and position sizing before any execution

  • Structured Output: JSON-formatted recommendations and analysis for downstream systems

  • Enterprise Logging: Detailed, configurable logging for audit and debugging

  • Extensible Framework: Modular design for custom strategies and new venues


Supported Venues

Venue Status Notes
Solana Supported Full autonomous trading
Coinbase Coming soon In development
Other CEX Roadmap Planned expansion

Quick Start

Installation

pip install -U autohedge

Environment Variables

# Jupiter API (token price & search tools)
# Get a key at https://portal.jup.ag
JUPITER_API_KEY=

# OpenAI (experimental agents)
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
WORKSPACE_DIR="agent_workspace"

# Trading
WALLET_PRIVATE_KEY=""

See .env.example for a full reference.

Basic Usage

autohedge 

Architecture

AutoHedge uses a multi-agent pipeline where each agent has a defined responsibility:

graph TD
    A[Director Agent] --> B[Quant Agent]
    B --> C[Risk Manager]
    C --> D[Execution Agent]
    D --> E[Trade Output]

Contributing

Contributions are welcome. See Contributing Guidelines for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

MIT License. See LICENSE for details.


Acknowledgments

  • Swarms for the AI agent framework

Support


AutoHedge by The Swarm Corporation

Release files for autohedge 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autohedge 0.1.6
File Size Uploaded
autohedge-0.1.6.tar.gz 20.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autohedge 0.1.6
File Interpreter ABI Platform
autohedge-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 45.8 kB

Release files / autohedge-0.1.6.tar.gz

Download URL autohedge-0.1.6.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0be0bea22f6f9afeaf76b9cece570ba601038da99c51a292180fe6d480ca0294
BLAKE2b-256 checksum
How to use checksums
5656d1f5b88c4dac6789a73e0d4bd4b79a6f85cb42f501ffb7e25aac5b573170
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.3 Darwin/24.5.0

Release files / autohedge-0.1.6-py3-none-any.whl

Download URL autohedge-0.1.6-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c2810f44b2ceafdd1b967debbfcf431f12265f8ae8fbacee907e69bc05ec84c
BLAKE2b-256 checksum
How to use checksums
471426f268a5df62d8a91c36845c32dca0bd760b715e50549e900870b4ee9fe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.3 Darwin/24.5.0

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page