Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Opperai

БесплатноНе проверен

Opper TypeScript SDK — execute functions, stream results, and build AI agents.

GitHubEmbed

Описание

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) and opperai + @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.

from github.com/opper-ai/opper-sdks

Установить Opperai в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
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 opperai

FAQ

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

Compare Opperai with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai