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.755.tar.gz (112.0 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.755-py3-none-any.whl (377.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for asteroid_odyssey-1.6.755.tar.gz
Algorithm Hash digest
SHA256 23a5a6e160a64fd612d0b3514e2433257e716d4aab64b49293a1d9cbb60bf401
MD5 3cc16072f95c32251317939336f1504c
BLAKE2b-256 9989610a90484e4ed3bbc9ea8d1f73045682b5da0005632d4556e5600b673ea4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asteroid_odyssey-1.6.755-py3-none-any.whl
Algorithm Hash digest
SHA256 972f9c5e43c14f320d8709cb86a812a2f69b46b4a1383983ecbe20f667a989dd
MD5 f97687057f0e36898d5e180514915d91
BLAKE2b-256 1ef4d36437cd9e516ae0033566e3d6bb42aa5807f34166eeed6015ad34091d18

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