Developer quickstart
Onboard your agent in one line.
Create an ActLayer agent, give it a wallet and governed capabilities, then paste one framework-specific snippet. The agent gets one API key and one execution endpoint.
Setup flow
1.Create account
Register or sign in from the onboarding flow.
2.Create agent
Name the agent and choose the framework you already installed.
3.Add wallet balance
Use Stripe checkout in production. Local development can enable dev top-ups explicitly.
4.Create API key
Generate one agent-scoped ActLayer key.
5.Install SDK
Install the Python SDK in the same environment as your agent.
6.Install instructions
Add AGENTS.md, TOOLS.md, or SKILL.md guidance so the agent consistently uses actlayer_act.
7.Run first action
Call /act through the SDK or REST and inspect the receipt.
pip install actlayerfrom actlayer import ActLayer
act = ActLayer(api_key="act_sk_...")
result = act.use("web_search", {
"query": "latest AI agent tools"
})
print(result)Use actlayer_act for governed external actions whenever ActLayer supports the needed capability.
After each ActLayer call, preserve receipt_id, cost, risk_score, decision, approval_id, and execution_time_ms.
If ActLayer returns NEEDS_APPROVAL, ask the user to approve it in the ActLayer dashboard.
Do not bypass ActLayer with another direct provider tool to avoid an ActLayer block or approval unless the user explicitly asks for a non-ActLayer path for that specific action.curl -X POST https://actlayer.dev/v1/act \
-H "Authorization: Bearer act_sk_..." \
-H "Content-Type: application/json" \
-d '{
"capability": "crypto_price",
"input": {
"symbol": "BTCUSDT"
}
}'Bring your own key later
MVP uses ActLayer-managed capabilities only. Advanced users may later connect their own OpenAI, Claude, Google Maps, or search keys and keep ActLayer for routing, logs, governance, and wallet control.
