Skip to main content

Python SDK for the Asteroid Agents API

Project description

Asteroid Odyssey Python SDK

Python SDK for the Asteroid Agents API.

Installation

pip install asteroid-odyssey

Usage

from asteroid_odyssey import ApiClient, Configuration, ExecutionApi

# Configure the client
config = Configuration(
    host="https://odyssey.asteroid.ai/agents/v2",
    api_key={"ApiKeyAuth": "your-api-key"}
)

client = ApiClient(config)
execution_api = ExecutionApi(client)

# Execute an agent
response = execution_api.agent_execute_post(
    agent_id="your-agent-id",
    agents_agent_execute_agent_request={"inputs": {"input": "value"}}
)
print(f"Execution ID: {response.execution_id}")

Documentation

See docs.asteroid.ai for full documentation.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asteroid_odyssey-1.6.23.tar.gz (59.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asteroid_odyssey-1.6.23-py3-none-any.whl (187.2 kB view details)

Uploaded Python 3

File details

Details for the file asteroid_odyssey-1.6.23.tar.gz.

File metadata

  • Download URL: asteroid_odyssey-1.6.23.tar.gz
  • Upload date:
  • Size: 59.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for asteroid_odyssey-1.6.23.tar.gz
Algorithm Hash digest
SHA256 ebb9682f341cab3059ddaf6f1c209f11dfd0a87d2ebd54add2ab04b6a1b44949
MD5 0b941d06025840dc77704e3789c75242
BLAKE2b-256 48e0afe60f8e5e016b37021d26daa9cf35efad4dcdc54ccc8638703f1c9bfbd4

See more details on using hashes here.

File details

Details for the file asteroid_odyssey-1.6.23-py3-none-any.whl.

File metadata

File hashes

Hashes for asteroid_odyssey-1.6.23-py3-none-any.whl
Algorithm Hash digest
SHA256 1cfa343d1c38e0fda0e3fa7279cf6e7ef6e687634254897bea0d446b8aa8cac7
MD5 d3e1ea51635961d221dd335d56c32f36
BLAKE2b-256 38db0b7c6a3a27c92638c00c634e39727651e8a27f9471fcdee08729218262f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page