Opperai
БесплатноНе проверенOpper TypeScript SDK — execute functions, stream results, and build AI agents.
Описание
Opper TypeScript SDK — execute functions, stream results, and build AI agents.
README
Official SDKs for the Opper API.
| SDK | Package | Directory |
|---|---|---|
| Python | opperai | python/ |
| TypeScript | opperai | typescript/ |
Upgrading from the old SDKs? The 2.0 / 4.0 releases unify the old
opperai+opper-agents(Python) andopperai+@opperai/agents(TypeScript) into single packages. See python/MIGRATION.md and typescript/MIGRATION.md for breaking changes and side-by-side examples.
Quick Start
Python
pip install opperai
from opperai import Opper
opper = Opper() # uses OPPER_API_KEY env var
result = opper.call("summarize", input="Long article...")
print(result.data)
TypeScript
npm install opperai
import { Opper } from "opperai";
const opper = new Opper(); // uses OPPER_API_KEY env var
const result = await opper.call("summarize", {
input: "Long article...",
});
console.log(result.data);
Agent SDK
Build AI agents with tool use, streaming, multi-agent composition, and MCP integration.
Python
from opperai import Agent, tool
@tool
def get_weather(city: str) -> str:
"""Get the current weather for a city."""
return f"Sunny, 22°C in {city}"
agent = Agent(
name="weather-assistant",
instructions="You are a helpful weather assistant.",
tools=[get_weather],
)
result = await agent.run("What's the weather in Paris?")
print(result.output)
See the Python agent examples for streaming, hooks, MCP integration, and multi-agent patterns.
TypeScript
import { z } from "zod";
import { Agent, tool } from "opperai";
const getWeather = tool({
name: "get_weather",
description: "Get the current weather for a city",
parameters: z.object({ city: z.string() }),
execute: async ({ city }) => `Sunny, 22°C in ${city}`,
});
const agent = new Agent({
name: "weather-assistant",
instructions: "You are a helpful weather assistant.",
tools: [getWeather],
});
const result = await agent.run("What's the weather in Paris?");
console.log(result.output);
See the TypeScript agent examples for streaming, hooks, MCP integration, and multi-agent patterns.
See the Python SDK and TypeScript SDK READMEs for full documentation.
Установить Opperai в Claude Desktop, Claude Code, Cursor
unyly install opperaiСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add opperai -- npx -y opperaiFAQ
Opperai MCP бесплатный?
Да, Opperai MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Opperai?
Нет, Opperai работает без API-ключей и переменных окружения.
Opperai — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Opperai в Claude Desktop, Claude Code или Cursor?
Открой Opperai на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Opperai with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
