Skip to main content

openai-agents-datacircle

Find the best GTM APIs. We benchmark all the GTM APIs and we put the results on our website: https://datacircle.dev

This package gives the OpenAI Agents SDK four function tools on Datacircle's open API, https://api.datacircle.dev/v1. You need no key and no account.

pip install openai-agents-datacircle
Tool What it gives Call
datacircle_list_apis Every GTM API on Datacircle, with its slug, number of plans and providers, and its best plan GET /apis
datacircle_best_plans One API's plans, best first by score out of 100, each with its rank and price per 1,000 calls GET /apis/{slug}/best
datacircle_search_plans Plans by provider or plan name, on every API or one, sorted by score, provider or price GET /plans
datacircle_provider The APIs a provider sells and its rank on each GET /providers/{slug}

Use

from agents import Agent, Runner
from openai_agents_datacircle import datacircle_tools

agent = Agent(
    name="GTM assistant",
    instructions="Answer from the datacircle tools.",
    tools=datacircle_tools(),
)
result = Runner.run_sync(agent, "Which email finder API is best for under $5 per 1,000?")
print(result.final_output)

Any model the SDK runs works. datacircle_tools(include=["best_plans", "provider"]) gives only some of the tools. Each tool is a FunctionTool with the SDK's strict schema: the model sends every argument, null for one it leaves out. Each one gives the model its answer as JSON.

Each tool is also a plain function that gives a dict:

from openai_agents_datacircle import best_plans

best_plans(slug="email-finder", limit=3)

Each plan comes with its rank, provider, plan, score, price per 1,000 (perThousand, in dollars) and its page on datacircle.dev, which lists every field. An unknown slug or a value out of range comes back as {"error": ...} with the API's words (an unknown API's answer lists every slug), so the model can call again.

Network

Each call makes one HTTPS GET to https://api.datacircle.dev/v1 with the tool's arguments and nothing else. The API takes up to 60 calls a minute from one address; the tools wait once, a minute at most, when it asks them to. datacircle_tools(timeout=10) sets how long a call may take. Every plan is also one file at https://datacircle.dev/datacircle.json.

MIT license.

Metadata

Release files for openai-agents-datacircle 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 openai-agents-datacircle 0.1.0
File Size Uploaded Provenance Actions
openai_agents_datacircle-0.1.0.tar.gz 9.0 kB Without provenance Details for openai_agents_datacircle-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openai-agents-datacircle 0.1.0
File Interpreter ABI Platform Actions
openai_agents_datacircle-0.1.0-py3-none-any.whl Python 3 none any Details for openai_agents_datacircle-0.1.0-py3-none-any.whl

Total release size: 18.2 kB

Release files / openai_agents_datacircle-0.1.0.tar.gz

Download URL openai_agents_datacircle-0.1.0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ff5c03229fb973b5b9a878cc7febdf88c9f4ba5aa3af1982e0464ec22cc53e5c
BLAKE2b-256 checksum
How to use checksums
7d99bbb8306bcb71d639cb98e542947d113970237ba2939217c56666f95aa74e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

Download URL openai_agents_datacircle-0.1.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57e2c06b6fe26febc4a08990bf45ed5bc01974bdd7e51f266bab9b8b88fd7c73
BLAKE2b-256 checksum
How to use checksums
1304ff32df6f04cbe135dfd42e26aedee0dfecd09e2cae53d5347ae197f53c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for openai-agents-datacircle 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