Metadata-Version: 2.4
Name: crewai-jarvisclaw
Version: 0.1.0
Summary: CrewAI LLM integration for JarvisClaw AI API (x402 USDC payments supported)
Project-URL: Homepage, https://jarvisclaw.ai
Project-URL: Repository, https://github.com/api-jarvisclaw/crewai-jarvisclaw
Author-email: JarvisClaw <support@jarvisclaw.ai>
License-Expression: MIT
Keywords: agent,ai,crewai,jarvisclaw,usdc,x402
Requires-Python: >=3.10
Requires-Dist: crewai>=0.80.0
Requires-Dist: langchain-jarvisclaw>=0.1.0
Description-Content-Type: text/markdown

# crewai-jarvisclaw

CrewAI integration for [JarvisClaw](https://jarvisclaw.ai) AI API — 40+ models, pay with USDC.

## Install

```bash
pip install crewai-jarvisclaw
```

## Usage

### With API Key

```python
from crewai import Agent, Task, Crew
from crewai_jarvisclaw import JarvisClawLLM

llm = JarvisClawLLM(model="gpt-5.4", api_key="sk-...")

researcher = Agent(
    role="Senior Researcher",
    goal="Find cutting-edge AI developments",
    backstory="Expert at finding and synthesizing information",
    llm=llm,
)

task = Task(
    description="Research the latest advances in AI agents",
    expected_output="A summary of top 3 developments",
    agent=researcher,
)

crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()
```

### With x402 Wallet Payment (no account needed)

```python
from crewai_jarvisclaw import JarvisClawLLM

# Pay per request with USDC — no signup required
llm = JarvisClawLLM(
    model="anthropic/claude-sonnet-4.6",
    wallet_private_key="0x...",
)
```

### Alternative: Direct LiteLLM Config (no extra package)

Since CrewAI uses LiteLLM, you can also configure it directly:

```python
from crewai import LLM

llm = LLM(
    model="openai/gpt-5.4",
    base_url="https://api.jarvisclaw.ai/v1",
    api_key="sk-...",
)
```

The `crewai-jarvisclaw` package adds x402 wallet payment support and convenience methods on top.

## Discover Models

```python
from crewai_jarvisclaw import JarvisClawLLM

# No auth required
models = JarvisClawLLM.list_models()
free = JarvisClawLLM.free_models()
```
