Metadata-Version: 2.4
Name: crewai-prediction-markets
Version: 0.1.0
Summary: CrewAI tools for prediction market data. Give your AI crew real-time world awareness from 30,000+ markets.
Project-URL: Homepage, https://simplefunctions.dev
Project-URL: Repository, https://github.com/spfunctions/crewai-prediction-markets
Author-email: SimpleFunctions <hello@simplefunctions.dev>
License-Expression: MIT
License-File: LICENSE
Keywords: ai-agents,crew,crewai,kalshi,multi-agent,polymarket,prediction-markets,python,tools,world-state
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Requires-Dist: requests>=2.28.0
Description-Content-Type: text/markdown

# crewai-prediction-markets

CrewAI tools for prediction market data. Give your AI crew real-time world awareness from 30,000+ markets.

```bash
pip install crewai-prediction-markets
```

```python
from crewai import Agent, Crew, Task
from crewai_prediction_markets import prediction_market_tools

analyst = Agent(
    role='Market Analyst',
    goal='Analyze prediction market data to identify risks and opportunities',
    tools=prediction_market_tools(),
)

task = Task(
    description='What are the key geopolitical risks right now?',
    agent=analyst,
)

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

## Tools
| Tool | Description |
|------|-------------|
| `GetWorldStateTool` | Full prediction market world state |
| `GetUncertaintyIndexTool` | Four-signal uncertainty index |
| `GetMarketEdgesTool` | Actionable mispricings |
| `GetMarketDetailTool` | Single market with orderbook |

## Standalone (no crewai needed)
```python
from crewai_prediction_markets import GetUncertaintyIndexTool
tool = GetUncertaintyIndexTool()
data = tool._run()
print(f"Uncertainty: {data['uncertainty']}/100")
```

## License
MIT — [SimpleFunctions](https://simplefunctions.dev)
