Skip to main content

adk-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 Agent Development Kit (ADK) agents four tools on Datacircle's open API, https://api.datacircle.dev/v1. You need no key and no account.

pip install adk-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

In your agent's agent.py:

from google.adk.agents import LlmAgent
from adk_datacircle import DatacircleToolset

root_agent = LlmAgent(
    model="gemini-2.5-flash",
    name="gtm_assistant",
    instruction="Answer from the Datacircle tools.",
    tools=[DatacircleToolset()],
)

Then adk run, adk web or adk api_server as with any agent, or a runner in your own code:

import asyncio

from google.adk.runners import InMemoryRunner
from google.genai import types


async def main():
    runner = InMemoryRunner(agent=root_agent)
    session = await runner.session_service.create_session(app_name=runner.app_name, user_id="me")
    question = types.Content(role="user", parts=[types.Part(text="Which email finder API is best for under $5 per 1,000?")])
    async for event in runner.run_async(user_id="me", session_id=session.id, new_message=question):
        if event.is_final_response() and event.content and event.content.parts:
            print(event.content.parts[0].text)


asyncio.run(main())

Any model ADK runs works, Gemini or another through LiteLlm. DatacircleToolset(tool_filter=["datacircle_best_plans"]) gives only the tools named, and datacircle_tools() gives the four as a list.

In an agent's YAML config (ADK 1.11 and later):

name: gtm_assistant
model: gemini-2.5-flash
instruction: Answer from the Datacircle tools.
tools:
  - name: adk_datacircle.DatacircleToolset

Each tool gives the model the API's answer as a dict. 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.

Each is also a plain function that gives a dict:

from adk_datacircle import best_plans

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

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. DatacircleToolset(timeout=10) sets how long a call may take. Every plan is also one file at https://datacircle.dev/datacircle.json.

MIT license, ADK 1.2.1 and later, Python 3.10 and later.

Metadata

Release files for adk-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 adk-datacircle 0.1.0
File Size Uploaded Provenance Actions
adk_datacircle-0.1.0.tar.gz 11.0 kB Without provenance Details for adk_datacircle-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 21.1 kB

Release files / adk_datacircle-0.1.0.tar.gz

Download URL adk_datacircle-0.1.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aaa34e00a3f4aab50e52f20ae994831f5d0c333c1a23d7162fb50d2248f4cf31
BLAKE2b-256 checksum
How to use checksums
c23cc65bd7492ac4f9f7093aa0df3d1270a9d63a40643281d4d9f1f41ff897cb
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 / adk_datacircle-0.1.0-py3-none-any.whl

Download URL adk_datacircle-0.1.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9745a9263735e14b3cb9547cce2f1ba5f7a3f6f28f20f34eb3b4054982e55aef
BLAKE2b-256 checksum
How to use checksums
f9ecfa1054fbbc2b878e5b85c6b9f396eb0f5399433f374b47e47ebfcabe3e10
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 adk-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