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_API_BASE_URL="https://api.ara.so"
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_API_BASE_URL: Ara API base URLARA_ACCESS_TOKEN: user JWT for control planeARA_RUNTIME_KEY: optional runtime key override for run/events (otherwise.runtime-key.localis used)
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ara_sdk-0.1.0.tar.gz.
File metadata
- Download URL: ara_sdk-0.1.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e2c69725d604bdf4f5d998eedc3b5e1985ad46e0604c784c699ddcb9e2ef8ba
|
|
| MD5 |
bf81804dac3dd842d76a6beda4ea06ef
|
|
| BLAKE2b-256 |
826a136656c7d4239b1975220e57fb8f868e237100200f9e67240515f0543251
|
File details
Details for the file ara_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ara_sdk-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dc1b41a819c2e7b413a2f080f51934cc2efe6e87d50f5ac6f163f58d2c45a5f
|
|
| MD5 |
0685930aa0d21cd2fc145d5c841ab2e9
|
|
| BLAKE2b-256 |
af462b5966eb5e48d258849886df4e5bb4809ccf5959ee140338ab2baaffebda
|