Aphelion Documentation
The execution layer for AI agents. Tools. Memory. One API.
Quick Start
Get up and running with Aphelion in under 5 minutes.
API Reference
Complete reference for all API endpoints.
Why Aphelion?
Building AI agents that interact with external APIs is complex. Aphelion solves this:
| Challenge | Aphelion Solution |
|---|---|
| Multiple protocols (REST, GraphQL, SOAP) | STELLA normalizes every API |
| Authentication chaos | Auth handled per tool |
| Memory management | Built-in persistent memory |
| Infrastructure overhead | Managed cloud deployment |
STELLA Protocol
STELLA (Standard Tool Execution Layer for LLM Agents) is Aphelion's protocol that normalizes every API into a consistent interface. Your agent learns one pattern, accesses 30M+ APIs.
Installation
Install the Aphelion SDK for your preferred language:
pip install aphelionnpm install aphelionCore Concepts
Agents
A logical grouping for your AI application. Each agent has isolated memory, separate sessions, and independent usage tracking. Agents are created automatically when you initialize the SDK.
Learn more →Tools
Actions your agent can execute—API calls normalized into a consistent interface. Tools use naming like stripe.customers.create or github.repos.list_issues.
Sessions
A conversation or task context. Sessions group related executions, maintain short-term context, and auto-expire after 30 minutes of inactivity.
Learn more →Memory
Persistent context system. Every execution is automatically summarized by an LLM and stored for future reference. Search semantically across all your agent's memories.
Learn more →Quick Example
Execute a Stripe tool in just a few lines:
from aphelion import Aphelion
client = Aphelion(
api_key="ap_live_...",
agent="my-first-agent"
)
# Execute a tool
result = client.execute(
"stripe.customers.create",
{
"email": "jane@example.com",
"name": "Jane Doe"
}
)
print(result)
# {"id": "cus_abc123", "email": "jane@example.com", ...}API Base URL
https://api.aphl.ai/v1Authentication
Aphelion uses Bearer token authentication with API keys:
curl https://api.aphl.ai/v1/execute \
-H "Authorization: Bearer ap_live_..." \
-H "Content-Type: application/json"API key types:
| Type | Prefix | Use Case |
|---|---|---|
| Live | ap_live_ | Production |
| Test | ap_test_ | Development (sandbox mode) |
Available Providers
200+ pre-built tools across categories:
| Category | Providers |
|---|---|
| Payments | Stripe, PayPal, Square |
| Communication | Slack, Twilio, SendGrid, Mailchimp |
| Productivity | Notion, Google Workspace, Airtable, Asana |
| Developer | GitHub, GitLab, Jira, Linear |
| Data | Snowflake, BigQuery, MongoDB, Supabase |
| AI/ML | OpenAI, Anthropic, Hugging Face |
Need Help?
Can't find what you're looking for? We're here to help.