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.258.tar.gz (92.1 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.258-py3-none-any.whl (308.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asteroid_odyssey-1.6.258.tar.gz
  • Upload date:
  • Size: 92.1 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.258.tar.gz
Algorithm Hash digest
SHA256 474cf3e43ba023dfe2bdd1ddf0e5c470a03e4ec2ad12c1908fb1f7fb7c9982ea
MD5 e0c0a9a95bcb77fce28e82289f12369d
BLAKE2b-256 c80ead5e7e92bc5e6552fdb6b3804f96e3127c63fa3a29f81efd86fb8ca0669a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asteroid_odyssey-1.6.258-py3-none-any.whl
Algorithm Hash digest
SHA256 823dd39063a6f43775cd52e7095a22255b5dcc0d900ef4f15a3aa658350b1cba
MD5 97346edfc95143a817f697d2a57ad3e2
BLAKE2b-256 0ed11c8cb1d1f9d24a6961f2b3417cf85a051d5b2cf095e43f1edf25266cb279

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