crewai-datacircle
Find the best GTM APIs. We benchmark all the GTM APIs and we put the results on our website.
Our website: https://datacircle.dev
This package gives CrewAI four tools that call Datacircle's public API, https://api.datacircle.dev/v1. You need no key and no account.
| Tool | Class | Gives | Call |
|---|---|---|---|
datacircle_list_apis |
DatacircleListApisTool |
Every GTM API on Datacircle, with the API's slug, number of plans, number of providers and best plan | GET /apis |
datacircle_best_plans |
DatacircleBestPlansTool |
One API's plans, sorted by score out of 100, best first. Each plan comes with a rank and a price per 1,000 calls | GET /apis/{slug}/best |
datacircle_search_plans |
DatacircleSearchPlansTool |
Plans that match a provider or plan name, on all APIs or on one API. You can sort them by score, provider or price | GET /plans |
datacircle_provider |
DatacircleProviderTool |
The APIs a provider sells, and the provider's rank on each API | GET /providers/{slug} |
Install
pip install crewai-datacircle
The package needs CrewAI 1.0 or later and Python 3.10 or later.
Give the tools to an agent
from crewai import Agent, Crew, Task
from crewai_datacircle import datacircle_tools
analyst = Agent(
role="GTM API analyst",
goal="Pick the best API for a job",
backstory="You choose APIs from Datacircle's benchmark.",
tools=datacircle_tools(),
)
task = Task(
description="Which email finder API is best for under $5 per 1,000?",
expected_output="The provider, the plan and its price per 1,000",
agent=analyst,
)
print(Crew(agents=[analyst], tasks=[task]).kickoff())
The agent runs on CrewAI's default model. To use a different model, pass llm= to Agent.
To give an agent one tool, pass a list with that one tool: tools=[DatacircleBestPlansTool()].
Call a tool yourself
Each tool returns our API's answer as JSON text:
from crewai_datacircle import DatacircleBestPlansTool
print(DatacircleBestPlansTool().run(slug="email-finder", limit=3))
Tool output for the agent
Each tool gives the agent a JSON object. Each plan comes with a rank, provider, plan, score, price per 1,000 (perThousand, in dollars) and a page on datacircle.dev. The page on datacircle.dev lists every field.
You can give a provider's name in place of a slug. The tool turns Bright Data into bright-data.
The agent gets the API's error message when the agent passes an unknown slug. For an unknown API slug, the message lists every valid slug. The agent can then call the tool again with a valid slug. On CrewAI versions that have ToolFailure, the tool returns a ToolFailure. CrewAI then counts the call as failed. CrewAI checks each number before the tool calls the API. On older CrewAI versions, the tool checks each number itself. If a number is out of range, the agent gets an error message. The tool does not call the API.
Network
Each tool call makes one HTTPS GET request to https://api.datacircle.dev/v1 and nothing else. The request holds only the tool's own arguments. The API takes up to 60 calls a minute from one IP address. When the API asks the tool to wait, the tool waits up to a minute. The tool waits once per call at most. All plans are in one file at https://datacircle.dev/datacircle.json.
Links
- Datacircle: https://datacircle.dev
- The API: https://datacircle.dev/api
- The API's spec: https://api.datacircle.dev/v1/openapi.json
- What each key means: https://datacircle.dev/fields
MIT license.
Metadata
Release files for crewai-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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crewai_datacircle-0.1.0.tar.gz | 9.9 kB | Without provenance | Details for crewai_datacircle-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crewai_datacircle-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for crewai_datacircle-0.1.0-py3-none-any.whl |
Total release size: 19.2 kB
Release files / crewai_datacircle-0.1.0.tar.gz
| Download URL | crewai_datacircle-0.1.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
114523b7eb4b3f10166f093e7e7f754d47f00631a8e347906d6821f4441180a3
|
|
BLAKE2b-256 checksum How to use checksums |
e766cb171d4154361f6b87359ab2de13489e0a7e06e33e1931c0a8dbd47058c9
|
| 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 / crewai_datacircle-0.1.0-py3-none-any.whl
| Download URL | crewai_datacircle-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59b06161d9c522fdac1dc0a88d2dd6a05c87da0b6e39633187de82652177b327
|
|
BLAKE2b-256 checksum How to use checksums |
4695cf560037b9abbd6b080da2a03353b48df5eaf817cc649e24c8f8a0d3e5e3
|
| 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 crewai-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.