Skip to main content

autogen-jarvisclaw

AutoGen (AG2) integration for JarvisClaw AI API — 40+ models, pay with USDC.

Install

pip install autogen-jarvisclaw

Usage

Quick Start

from autogen import ConversableAgent
from autogen_jarvisclaw import jarvisclaw_config

assistant = ConversableAgent(
    name="assistant",
    system_message="You are a helpful AI assistant.",
    llm_config={"config_list": [jarvisclaw_config(model="gpt-5.4", api_key="sk-...")]},
)

user = ConversableAgent(
    name="user",
    human_input_mode="NEVER",
    llm_config=False,
)

user.initiate_chat(assistant, message="What's the capital of France?")

Multi-Model Fallback

AutoGen tries models in order. Use multiple JarvisClaw models for resilience:

from autogen_jarvisclaw import jarvisclaw_config_list

configs = jarvisclaw_config_list(
    models=["gpt-5.4", "anthropic/claude-sonnet-4.6", "deepseek/deepseek-chat"],
    api_key="sk-...",
)

assistant = ConversableAgent(
    name="assistant",
    llm_config={"config_list": configs},
)

Alternative: Direct Config (no extra package)

Since JarvisClaw is OpenAI-compatible, you can configure directly:

config_list = [{
    "model": "gpt-5.4",
    "api_key": "sk-...",
    "base_url": "https://api.jarvisclaw.ai/v1",
}]

assistant = ConversableAgent(
    name="assistant",
    llm_config={"config_list": config_list},
)

Multi-Agent Conversation

from autogen import ConversableAgent, GroupChat, GroupChatManager
from autogen_jarvisclaw import jarvisclaw_config

config = {"config_list": [jarvisclaw_config(model="gpt-5.4", api_key="sk-...")]}

researcher = ConversableAgent(name="researcher", system_message="Research topics thoroughly.", llm_config=config)
writer = ConversableAgent(name="writer", system_message="Write clear summaries.", llm_config=config)
critic = ConversableAgent(name="critic", system_message="Review for accuracy.", llm_config=config)

group_chat = GroupChat(agents=[researcher, writer, critic], messages=[], max_round=6)
manager = GroupChatManager(groupchat=group_chat, llm_config=config)

researcher.initiate_chat(manager, message="Research quantum computing breakthroughs in 2026")

Discover Models

from autogen_jarvisclaw import jarvisclaw_config_list
from autogen_jarvisclaw.config import list_models, free_models

# Browse available models (no auth)
all_models = list_models()
cheap = free_models()

Metadata

Release files for autogen-jarvisclaw 0.1.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 autogen-jarvisclaw 0.1.0
File Size Uploaded Provenance Actions
autogen_jarvisclaw-0.1.0.tar.gz 2.8 kB Without provenance Details for autogen_jarvisclaw-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autogen-jarvisclaw 0.1.0
File Interpreter ABI Platform Actions
autogen_jarvisclaw-0.1.0-py3-none-any.whl Python 3 none any Details for autogen_jarvisclaw-0.1.0-py3-none-any.whl

Total release size: 6.4 kB

Release files / autogen_jarvisclaw-0.1.0.tar.gz

Download URL autogen_jarvisclaw-0.1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ed328b715a93bc0eb65cebfcdee46c5857ef4400344c74fe6acbc303a66044b6
BLAKE2b-256 checksum
How to use checksums
dacfa858fc050642657bbd087e11b688d034d657197a8d7cda33df275e0668c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / autogen_jarvisclaw-0.1.0-py3-none-any.whl

Download URL autogen_jarvisclaw-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdb3385085eb26c3353c0e45cf2f12f9baeed71b84da99673f265b782289838f
BLAKE2b-256 checksum
How to use checksums
b5c35d50b95d237ebf8903c7e7a5af822c98a7f885ef2fceb2c6cf5ecfba8372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for autogen-jarvisclaw 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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