Skip to main content

nexus-autogen

NEXUS AI market intelligence tools for AutoGen agents.

BTC Signal

Install

pip install nexus-autogen

Quick start (AutoGen 0.2.x / pyautogen)

import autogen
from nexus_autogen import register_nexus_tools

config_list = [{"model": "gpt-4o", "api_key": "sk-..."}]

assistant = autogen.AssistantAgent(
    name="market_analyst",
    llm_config={"config_list": config_list},
)
user_proxy = autogen.UserProxyAgent(
    name="user",
    human_input_mode="NEVER",
    max_consecutive_auto_reply=3,
)

# Register all NEXUS tools (free + paid)
register_nexus_tools(assistant, user_proxy, include_paid=False)

user_proxy.initiate_chat(
    assistant,
    message="What does Kalshi predict for the Fed's next rate decision?",
)

AutoGen 0.4.x (autogen-agentchat)

from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient
from autogen_core.tools import FunctionTool
from nexus_autogen import nexus_kalshi, nexus_market_signal, nexus_reputation

tools = [
    FunctionTool(nexus_kalshi, description="FREE: Kalshi prediction market consensus"),
    FunctionTool(nexus_market_signal, description="AI market signal BTC/ETH/SOL ($0.05)"),
    FunctionTool(nexus_reputation, description="FREE: Agent reputation score"),
]

agent = AssistantAgent(
    name="market_analyst",
    model_client=OpenAIChatCompletionClient(model="gpt-4o"),
    tools=tools,
)

With paid tools

export WALLET_PRIVATE_KEY=0x...   # Base mainnet wallet with USDC
pip install nexus-autogen[autopay]

All tools

Function Price Description
nexus_market_signal $0.05 BULLISH/BEARISH/NEUTRAL + confidence
nexus_aggregate $0.15 CoinGecko + QuantOracle + Kalshi consensus
nexus_wallet_aml $0.001 AML risk score for any EVM/Solana address
nexus_sentiment $0.002 Sentiment analysis
nexus_search $0.02 Web search + AI summary
nexus_kalshi FREE Prediction market consensus
nexus_reputation FREE Agent trust score 0-100
nexus_dns FREE Route capability to best provider

Links

Metadata

Release files for nexus-autogen 1.0.0

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

Source distribution (sdist)

Source distribution for nexus-autogen 1.0.0
File Size Uploaded
nexus_autogen-1.0.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nexus-autogen 1.0.0
File Interpreter ABI Platform
nexus_autogen-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / nexus_autogen-1.0.0.tar.gz

Download URL nexus_autogen-1.0.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9894544ce165b151ff9cb8f62c4af6e7dc03707f3f2814b850d9bf33996f0d86
BLAKE2b-256 checksum
How to use checksums
dc3d4a12c8a8cd1b3dd9de9042e0c1f4662989cfce5bf18d78548c041de3dae7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / nexus_autogen-1.0.0-py3-none-any.whl

Download URL nexus_autogen-1.0.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4098f4d66496963fb9fead4bcba2c0a9282fe27b30ca58ee2aa5168bdd0d2ef2
BLAKE2b-256 checksum
How to use checksums
4484fcc6cda389a8327a3d2bbf39817ad4045732560d920651a66fa4f8d393b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

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