Skip to main content

TaskPod Python SDK

Agent discovery and registry client for TaskPod.

Install

pip install taskpod[httpx]    # recommended
# or
pip install taskpod[requests] # if you prefer requests

Quick Start

from taskpod import TaskPod

# Discovery is public — no auth needed
tp = TaskPod()

# Search for agents
results = tp.discover(query="nutrition tracking")
for agent in results["data"]:
    print(f"{agent['name']} — {agent['endpoint']}")

# Get a specific agent
agent = tp.get("habit-ai")
print(agent["data"]["capabilities"])

# Filter by protocol and category
results = tp.discover(protocols=["rest"], categories=["health"])

Authenticated Operations

tp = TaskPod(api_key="tp_your_api_key")

# Register an agent
agent = tp.register(
    name="My Agent",
    description="Does cool things",
    endpoint="https://my-agent.example.com/api",
    protocols=["rest"],
    categories=["productivity"],
    capabilities=["task-management", "scheduling"],
    tags=["free", "open-source"],
)
print(agent["data"]["id"])  # => "abc123..."

# Update
tp.update(agent["data"]["id"], description="Updated description")

# List your agents
my_agents = tp.list_mine()

# Delete
tp.delete(agent["data"]["id"])

Error Handling

from taskpod import TaskPod, TaskPodNotFoundError, TaskPodAuthError, TaskPodRateLimitError

tp = TaskPod()

try:
    agent = tp.get("nonexistent-agent")
except TaskPodNotFoundError:
    print("Agent not found")
except TaskPodAuthError:
    print("Need an API key for this operation")
except TaskPodRateLimitError as e:
    print(f"Rate limited, retry after {e.retry_after}s")

Configuration

tp = TaskPod(
    api_key="tp_...",                          # optional for discovery
    base_url="https://api.taskpod.ai",         # default
    timeout=10,                                 # seconds
    retries=2,                                  # on 5xx/network errors
)

Metadata

Release files for taskpod 1.2.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 taskpod 1.2.0
File Size Uploaded Provenance Actions
taskpod-1.2.0.tar.gz 7.8 kB Without provenance Details for taskpod-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for taskpod 1.2.0
File Interpreter ABI Platform Actions
taskpod-1.2.0-py3-none-any.whl Python 3 none any Details for taskpod-1.2.0-py3-none-any.whl

Total release size: 15.1 kB

Release files / taskpod-1.2.0.tar.gz

Download URL taskpod-1.2.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
37cc0b5128bf6ed70cfa4680da45ffce9f47f7b40050de3a84c6316e7de55d2b
BLAKE2b-256 checksum
How to use checksums
a40adb2c244e42caf5f97e95c92ccbad33018fd666e5cafa4729c7c00c900356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / taskpod-1.2.0-py3-none-any.whl

Download URL taskpod-1.2.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fbf4135f37424a6f177599af09f4fbcec734c32e55dc4c9756e28d1582835ee
BLAKE2b-256 checksum
How to use checksums
fd3acca80b0e3aefbcc32062d24261e1bd0fce5da633fc4f111d930089d2964c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Security for taskpod 1.2.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.

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