skillfed

tako-sdk

The official Python library for the tako API

tako-sdk v2.2.16 109.3K downloads/30d#12,521 on PyPI
Permissive license MIT Active released

What it is and what it does

Tako SDK is the official Python client for the Tako API, a data retrieval and research platform. It provides both synchronous and asynchronous clients that expose search, answer generation, card visualization, and two agent products (Retrieval Agent for multi-hop lookup and structured outputs, Answer Agent for cited research). All request and response models are Pydantic-typed, and the library supports Server-Sent Events streaming with automatic reconnection. Configuration is minimal—set an API key and optionally override the host—and error handling is granular via exception subclasses.

The library targets Python 3.10+, ships as a pure wheel with six runtime dependencies (httpx, pydantic, python-dateutil, typing-extensions, urllib3, httpx-sse), and is actively maintained. It is designed for developers integrating Tako's search and agentic capabilities into Python applications, whether for one-shot queries or long-running agent runs with structured output validation.

Use it for:

  • Search a knowledge base and retrieve matching cards and web results programmatically.
  • Stream agent-driven multi-hop data retrieval with live Server-Sent Events and auto-reconnection.
  • Request structured JSON output from retrieval agents and validate or export results as DataFrames.
  • Build custom visualizations by creating cards from component configurations via the API.
  • Fetch downloadable content (CSV, etc.) for cards or URLs returned by search operations.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a Python client library for the Tako API, offering synchronous and asynchronous access to search, answer generation, card creation, and agentic data retrieval operations with full type hints.

Yes. The package is actively maintained (released 1 day ago), has low install friction, carries no known vulnerabilities, uses a permissive MIT license, and is fully typed. Install it if you need programmatic access to the Tako API from Python 3.10+. Prerequisite: a Tako API key and account.

Install

tako-sdk on PyPI

pip

pip install tako-sdk

uv

uv add tako-sdk

poetry

poetry add tako-sdk

Installing tako-sdk

Before you install

Low friction installation as a pure-Python wheel. Actively maintained with a release 1 day old. Depends on common HTTP and data-validation libraries (httpx, pydantic, urllib3).

License in practice

MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.

Quickstart

pip install tako-sdk

import os
from tako import Configuration, SearchRequest
from tako.lib import Tako

config = Configuration()
config.api_key["apiKey"] = os.environ["TAKO_API_KEY"]
client = Tako(config)
results = client.search(SearchRequest(query="S&P 500 performance"))
for card in results.cards or []:
    print(card.title, card.webpage_url)

Requires a Tako API key set in the TAKO_API_KEY environment variable and a Tako account.

Verify before relying

  • Whether Tako API account and API key are required before the client is functional.
  • Performance characteristics and rate limits of the Tako API endpoints.
  • Whether the pandas extra (for DataFrame export) is commonly needed or optional.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 6 — httpx-sse, httpx, pydantic, python-dateutil, typing-extensions, urllib3
Maintenance actively maintained — 1 days since the last release
First released
Downloads 109,290/month — #12,521 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: tako_sdk-2.2.16-py3-none-any.whl

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

tako api python clientpython sdk api wrapperasync http client librarytyped api clientsearch and retrieval apiagent-based data lookupserver-sent events streaming
api-clientasync-supportstreaming

More Python Modules packages