Python SDK for the Orbis API Marketplace — call any API, pay per use with USDC, native LangChain/CrewAI/AutoGen support.
Project description
orbis-sdk
The official Python SDK for Orbis API Marketplace — the default execution and payment layer for agent workflows.
Call any of 700+ production APIs from your AI agent with a single line. Native support for LangChain, CrewAI, and AutoGen.
Install
pip install orbis-sdk
With framework integrations:
pip install orbis-sdk[langchain] # LangChain support
pip install orbis-sdk[crewai] # CrewAI support
pip install orbis-sdk[all] # Everything
Quick Start
Get your API key at orbisapi.com.
from orbis import OrbisClient
client = OrbisClient(api_key="sk_...")
# Search for APIs
apis = client.search("tweet generator")
for api in apis:
print(api.name, api.description)
# Call an API
result = client.call(
"tweet-thread-generator-api",
{"topic": "Why AI agents are replacing SaaS"}
)
if result.success:
print(result.data)
LangChain
from orbis import OrbisClient
from langchain_openai import ChatOpenAI
from langchain.agents import create_react_agent, AgentExecutor
client = OrbisClient(api_key="sk_...")
# Wrap Orbis APIs as LangChain tools
tools = client.as_langchain_tools([
"tweet-thread-generator-api",
"credit-score-estimator",
"weather-api",
])
llm = ChatOpenAI(model="gpt-4o")
agent = create_react_agent(llm, tools, prompt)
executor = AgentExecutor(agent=agent, tools=tools)
result = executor.invoke({"input": "Write a thread about AI agents"})
Or search and use dynamically:
from orbis.integrations.langchain import orbis_toolkit
tools = orbis_toolkit(client, query="social media content", limit=5)
CrewAI
from orbis import OrbisClient
from crewai import Agent, Task, Crew
client = OrbisClient(api_key="sk_...")
tools = client.as_crewai_tools(["tweet-thread-generator-api"])
writer = Agent(
role="Content Writer",
goal="Write viral Twitter threads about AI",
backstory="Expert in social media content strategy",
tools=tools,
verbose=True,
)
task = Task(
description="Write a 10-tweet thread about why AI agents are replacing traditional SaaS",
expected_output="A numbered Twitter thread ready to post",
agent=writer,
)
crew = Crew(agents=[writer], tasks=[task])
result = crew.kickoff()
print(result)
AutoGen
from orbis import OrbisClient
from orbis.integrations.autogen import register_orbis_tools
import autogen
client = OrbisClient(api_key="sk_...")
llm_config = {
"config_list": [{"model": "gpt-4o", "api_key": "YOUR_OPENAI_KEY"}],
"functions": client.as_autogen_functions(["tweet-thread-generator-api"]),
}
assistant = autogen.AssistantAgent("assistant", llm_config=llm_config)
user_proxy = autogen.UserProxyAgent("user", human_input_mode="NEVER")
register_orbis_tools(client, assistant, user_proxy, ["tweet-thread-generator-api"])
user_proxy.initiate_chat(
assistant,
message="Write a thread about the agent economy"
)
Available APIs
Browse all 700+ APIs at orbisapi.com/marketplace.
Categories include:
- AI & Machine Learning
- Finance & Crypto
- Social Media
- Data & Analytics
- Communication
- Developer Tools
Pricing
Pay per call. No subscriptions required. Prices set by API providers — Orbis takes 10%, providers keep 90%.
Some APIs accept USDC payments via x402 on Base for fully autonomous agent payment flows.
Links
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 orbis_sdk-0.1.0.tar.gz.
File metadata
- Download URL: orbis_sdk-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.11.14 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
594631153818b340f0b744c73beb1387ef29ee539a5cd35f004ea0bfb19e9ffe
|
|
| MD5 |
2c32ee2675570b0cf8f19a5dcce9e51f
|
|
| BLAKE2b-256 |
7a688cf75d400954d933b2e4700e4732514f2ed47fa5be933d4cdde6d5051365
|
File details
Details for the file orbis_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: orbis_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.11.14 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
722da663ea215f1f3f700ab123cc406aeed21aa3ee86b39a569b0884119e4c78
|
|
| MD5 |
13386ddc9ff9a188373d92d293dc9037
|
|
| BLAKE2b-256 |
c7a65ee9fc9b295d08a72c49f0a36e8528bf08b171358208d36aab40554d727f
|