Skip to main content

adaptorch-client

Typed, standard-library Python client for the AdaptOrch User API.

Install

The package is currently distributed from this repository rather than PyPI. Install it from the package subdirectory:

pip install "adaptorch-client @ git+https://github.com/dmae97/Adaptorch-MCP.git#subdirectory=packages/adaptorch-client"

First run

Create an ado_live_* key at https://adaptorch.com/app/api-keys. The raw key is shown once; keep it in an environment variable and never commit it.

import os

from adaptorch_client import AdaptOrchClient, ClientConfig

client = AdaptOrchClient(
    ClientConfig(
        api_url="https://adaptorch.com",
        api_key=os.environ["ADAPTORCH_API_KEY"],
    )
)
run = client.submit_run(
    {
        "subtasks": [{"id": "check", "description": "Reply with the word ready"}],
        "dependencies": [],
    },
    idempotency_key="11111111-1111-4111-8111-111111111111",
)
print(run.run_id, run.status)

api_url is the origin only; do not append /v1. The client sends tenant keys as X-API-Key, includes a UUID idempotency key on submissions, and exposes capabilities(), whoami(), run listing/detail/cancel, evidence, and artifacts.

See ../../docs/adaptorchctl-usage.ko.md for the current CLI and API usage guide.

License

Proprietary — Copyright ClassicMate. All rights reserved. See LICENSE.

Download files

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

Source Distribution

adaptorch_client-0.1.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

adaptorch_client-0.1.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file adaptorch_client-0.1.0.tar.gz.

File metadata

  • Download URL: adaptorch_client-0.1.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for adaptorch_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b4548764bbe70f0f0e169ef2da39edf4b43d3e326bf17683bc2b87c058b15953
MD5 2cb2fa8bb121c7374cac22e2c29cb1ba
BLAKE2b-256 d6a421b1f5e96f4a644d2ed653c67145ea61ef1bd2fe09c3333c52060c176acd

See more details on using hashes here.

File details

Details for the file adaptorch_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for adaptorch_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61aea8566b0f55750cfd62b9e711da394efe1aaca33a38a335edb937bb68bd71
MD5 cf92832629409ad301b35e6d3893a9fa
BLAKE2b-256 87aca09e1c448e2a68e6199617aa2929b3496fe4ecb7058871ed38aedca1c63c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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