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.890.tar.gz (122.3 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.890-py3-none-any.whl (411.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asteroid_odyssey-1.6.890.tar.gz
  • Upload date:
  • Size: 122.3 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.890.tar.gz
Algorithm Hash digest
SHA256 8b6fff67fe0a8593b0e25c8c5dc51ffb60c642f0f13b127def7e5d63878d5bd4
MD5 932723a3f814470154030b941cf6da2d
BLAKE2b-256 4da796b1a2e7f2d488cec121a8031383ffe109fe6ce3f2124645c2b87eb328ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asteroid_odyssey-1.6.890-py3-none-any.whl
Algorithm Hash digest
SHA256 b748bba76ef1a34b8790636413b4554b20d917991e5435ffab52d26c70c8926e
MD5 9d81e2c6c0070b76e950e4cf69f3f2dd
BLAKE2b-256 ff777a6b940c0226d360948f31119c71dac9cd0f10f65fd3b56ac69b702dbd93

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