Circle Intelligence SDK
Python SDK for Circle Intelligence — real-time F.I.R.E. economy signal detection via 7-agent AI cascade.
What's new in 0.3.1
- Per-method
timeoutkwarg. Every RF data-fetch method now accepts a per-call timeout override:candidates = sdk.rf.list_market_candidates(limit=10, timeout=90) config = sdk.rf._get_config(timeout=60) market = sdk.rf.get_market_intelligence("0x...", timeout=45)
Falls back to the SDK-leveltimeoutyou passed toCircleSDK(...). - Auto retry with exponential backoff.
_get()now retries up to 2 extra times (3 attempts total) on timeouts, connection errors, 429, and 5xx responses. Backoff is 1s, 2s, 4s. Transient Circle hiccups no longer surface as immediate failures. Override the retry count on any call:sdk._get(path, retries=5).
What's new in 0.3.0
- Refreshed RF contract defaults (
realityFuturesMarkets,pScoreOracle) to match the 2026-04-21 on-chain redeploy. Earlier versions had stale addresses in the fallback path — pin>=0.3.0if you transact real USDC. config["source"]marker.sdk.rf._get_config()now returns"source": "fetched"(from/api/rf/config) or"source": "defaults"(baked-in fallback). Check this before broadcasting any tx.strict=Truemode.CircleSDK(url, strict=True)raisesCircleConfigErroron config-fetch failure instead of silently falling back to stale defaults. Recommended for production agents.- Louder fallback warning. If you're in non-strict mode, the log message now says "SDK USING BAKED-IN DEFAULTS" so it's not missed in grep.
The timeout kwarg was already configurable in 0.2.0 (CircleSDK(url, timeout=60)) — applies to every HTTP call including /api/rf/config.
Install
pip install circle-intelligence # core (browsing, search, chat)
pip install circle-intelligence[wallet] # + wallet authentication
pip install circle-intelligence[payment] # + USDC payment flow
pip install circle-intelligence[rf] # + RealityFutures trading
Quick Start
from circle_intelligence import CircleSDK
# Free tier — no auth needed
sdk = CircleSDK("https://circle.news")
signals = sdk.get_recent_signals(limit=3)
entities = sdk.get_kg_entities(search="Bitcoin")
briefs = sdk.get_briefs(limit=5)
# Premium tier — with API key
sdk = CircleSDK("https://circle.news", api_key="circ_your_key")
results = sdk.search_signals("DeFi bridge exploit")
analytics = sdk.get_kg_analytics(days=7)
response = sdk.chat(signal_id=1744, messages=[{"role": "user", "content": "What happened?"}])
Features
| Feature | Free | Premium |
|---|---|---|
| Recent signals | 6h delay, 3 max | Real-time, 100 max |
| Daily briefs | Yes | Yes |
| Knowledge graph browsing | Yes | Yes |
| KG analytics + cross-sector | No | Yes |
| Semantic search | No | Yes |
| RAG-powered chat | No | Yes |
| Simulator execution | No | Yes |
| Research creation | No | Yes |
| Depth tree details | No | Yes |
Wallet Authentication (for agents)
from eth_account import Account
from eth_account.messages import encode_defunct
private_key = "0xYOUR_PRIVATE_KEY"
wallet = Account.from_key(private_key).address
result = sdk.authenticate(
wallet_address=wallet,
sign_fn=lambda msg: Account.sign_message(
encode_defunct(text=msg), private_key
).signature.hex(),
)
Documentation
Full API reference and examples at circle.news/docs
Metadata
Release files for circle-intelligence 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| circle_intelligence-0.3.2.tar.gz | 20.1 kB | Without provenance | Details for circle_intelligence-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| circle_intelligence-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for circle_intelligence-0.3.2-py3-none-any.whl |
Total release size: 39.3 kB
Release files / circle_intelligence-0.3.2.tar.gz
| Download URL | circle_intelligence-0.3.2.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4632517d90ad26c27699cc4528c96425a1bf87d59f23353ce8b7e4727ab445c
|
|
BLAKE2b-256 checksum How to use checksums |
b529fb30ad51d8b0807c1d057919d167210b98b0b92ee4a971115fa6439056bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / circle_intelligence-0.3.2-py3-none-any.whl
| Download URL | circle_intelligence-0.3.2-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2178aafda97e9d5808c6fff05386011529b601971b12f396c7c6c484e943160
|
|
BLAKE2b-256 checksum How to use checksums |
c02b9d28a811562c4a323c37dc86e556372a08e38aa780858266719c6c2be383
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for circle-intelligence 0.3.2
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.