Quickstart
From signup to first function invocation in under 5 minutes.
1. Sign up & grab an API key
Visit asc.aiarco.com, create an account, and
generate an API key from the dashboard. Keys are prefixed asc_.
export ASC_API_KEY=asc_xxxxxxxxxxxxxxxxxxxx2. Install the SDK
Python:
pip install ascTypeScript:
npm install @aiarco/asc3. Invoke a function
import asc
client = asc.Client() # picks up ASC_API_KEY
fn = client.functions.create("hello", runtime="python3.12", handler="handler.main")
print(client.functions.invoke(fn["id"], payload={"name": "world"}))4. Upload a file
client.storage.upload("docs/intro.txt", b"hello from ASC")
print(client.storage.list(prefix="docs/"))5. Talk to a model (BYOK)
client.secrets.put("OPENAI_API_KEY", "sk-...")
print(client.gateway.chat(
"fast",
[{"role": "user", "content": "Say hello in haiku."}],
))6. Check your bill
print(client.billing.usage(days=7))You'll see per-primitive usage and the corresponding billed amount in
customer_cost_usd. No surprises.