Skip to main content

Public Python SDK for building and running Ara apps.

Project description

Ara Python SDK

Public Python SDK for building Ara apps with a decorator-first workflow.

Install

pip install ara-sdk

Principles

  • Public SDK is generic and provider-agnostic.
  • Runtime policy, retries, and safety controls are enforced server-side.
  • Optional integrations (Cal.com, CRM, etc.) live in examples, not in the core package.

Quickstart

from ara_sdk import App, cron, run_cli, sandbox

app = App("Investor Meeting Booker", project_name="investor-meeting-booking")

@app.subagent(handoff_to=["calendar-strategist"], sandbox=sandbox())
def booking_coordinator(event=None):
    """Coordinate scheduling requests."""

@app.hook(id="daily-followups", event="scheduler.followups", schedule=cron("0 13 * * 1-5"))
def daily_followups():
    """Send pending followups."""

if __name__ == "__main__":
    run_cli(app)
export ARA_ACCESS_TOKEN="your_user_jwt"

python app.py deploy
python app.py run --workflow booking-coordinator --message "Need 3 slots next week"
python app.py events --event-type channel.web.inbound --channel web --message "hello"
python app.py setup

Environment

  • ARA_ACCESS_TOKEN: user JWT for control plane

Examples

See examples/ for optional integrations and demo projects:

  • examples/calcom-booking/

Security

  • Never commit API keys, runtime keys, or provider secrets.
  • Keep provider-specific credentials in environment variables.

License

This repository is source-available under a strict proprietary license. Unauthorized copying, redistribution, or derivative works are prohibited. See LICENSE for full terms.

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

ara_sdk-0.1.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

ara_sdk-0.1.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file ara_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: ara_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ara_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1a49829fac64581d8e76ed3c5376836ef76aaea6061283c9a6af016d49e0462c
MD5 377abb42cf9a4726e3cf20b66ff8b2f5
BLAKE2b-256 abf3d004babdb69386e2b18b24fa11e6f04f591de1ed9529183a9dca8b9ca051

See more details on using hashes here.

File details

Details for the file ara_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ara_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ara_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 abf7602027151b439493daf30561daaef1b9f7fd5f2ed719bd453c71895cebb9
MD5 edbaa7e8a6c262bead14ec3a881502a8
BLAKE2b-256 8c1f54cb7891df3b6e56a8790c0e6a40f124cdc1895963e8227177f28c53c3cf

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