Tiptree Client
A Python client library for interacting with the Tiptree's Agent Runtime Platform. This client provides both synchronous and asynchronous methods for all API endpoints.
Installation
pip install tiptree
Quick Start
Please make sure your API keys are either saved in ~/.tiptreerc/credentials or passed as an environment variable:
export TIPTREE_API_KEY=<your-api-key>
Here's a simple example of how to use the client:
from tiptree import Agent
# Create an agent
agent = Agent.get_or_create()
# Create an agent session
session = agent.create_agent_session()
# Send message to session
sent_message = session.send_message("What's the weather like in Berlin right now?")
# Wait for the response
received_message = session.wait_for_next_message()
print(received_message.content)
Features
- Full support for the Tiptree Platform API
- Both synchronous and asynchronous APIs
- Type hints for better IDE integration
- Comprehensive models for all API entities
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for tiptree 0.0.4
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 |
|---|---|---|---|---|
| tiptree-0.0.4.tar.gz | 17.1 kB | Without provenance | Details for tiptree-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tiptree-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for tiptree-0.0.4-py3-none-any.whl |
Total release size: 38.3 kB
Release files / tiptree-0.0.4.tar.gz
| Download URL | tiptree-0.0.4.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50965faa94eee0656421fb0bfd52fd02429cd3d1c4306ed16451fb37dc6f50a6
|
|
BLAKE2b-256 checksum How to use checksums |
a300ded473217609dfdbf02ab60779eb58f576cf535f53a980adc168837b5307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / tiptree-0.0.4-py3-none-any.whl
| Download URL | tiptree-0.0.4-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39fb9800eb4501f2b8307dde8556c87a27356cdb082085a5e6a79a02b1ce786e
|
|
BLAKE2b-256 checksum How to use checksums |
6216809cb4e2ce7d32c309e46bb0692bce32a8b1046811840e8978fedf76d540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for tiptree 0.0.4
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.