Skip to main content

Official StewAI Python SDK

Project description

stewai (Python SDK)

Base URL (only): https://api.stewai.com/v1

Install

pip install stewai

Get an API key

  1. Log in to stewai.com
  2. Go to Settings → API keys
  3. Create a key and copy it once (sk-live-...)

Usage

from stewai import Stew

client = Stew(api_key="sk-live-...")

# Use the Input step “API input id” shown in the editor as the inputs key
run = client.runs.create(
    recipe_id="01K....",
    inputs={"USERQUESTION": "What should I focus on this week?"},
)

run = client.runs.wait(run["id"], timeout=300)
steps = client.runs.steps(run["id"])

Project details


Download files

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

Source Distribution

stewai-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

stewai-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stewai-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stewai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2259c45387162fa194c332a821333d6a275bfe98d1a9338a6559d23912bb0ba8
MD5 e25a74713622a48eea669c6c38c26d0b
BLAKE2b-256 116763ad4d939fab82c79f37c115ab9ca679138a8de8b5b661897b56820ef0e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for stewai-0.1.0.tar.gz:

Publisher: pypi-stewai.yml on cmumulle/stewai-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: stewai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stewai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6436ff0ab553be199528f438c56fb20b9cff817f1608109ee9a02d326a99f9a
MD5 92181486aaea590cc807488586cda022
BLAKE2b-256 3a9b62a90ad9f4827bc66bdf2fd214506fbac60bd181fea1b887013b9a91fcc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for stewai-0.1.0-py3-none-any.whl:

Publisher: pypi-stewai.yml on cmumulle/stewai-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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