TouAI

Installation

Install the TouAI SDK from PyPI and verify that your runtime matches the supported Python version.

Requirements

  • Python >= 3.10
  • httpx >= 0.25.0
  • pydantic >= 2.0.0
  • typing-extensions >= 4.5.0

Install from PyPI

pip install touai

Verify the package

from touai import TouAI
 
client = TouAI()
print(type(client).__name__)
client.close()

First Client

from touai import TouAI
 
with TouAI() as client:
    results = client.context_hub.search("quarterly revenue")
    print(results.total_results)
  • Go to Authentication if you need API keys, JWT login, or existing access tokens.
  • Go to Configuration if you need to override base_url, timeout, or retry behavior.

For scripts, agents, and CI/CD pipelines, API key authentication is the recommended default.

TouAI Python SDKAuthentication
Installation | Documentation