Skip to main content

Openheinerss Python SDK

SDK oficial em Python para integração com o maestro Openheinerss (crom-org).

Instalação

pip install openheinerss

Exemplo de Uso

from openheinerss import Agent

# Inicia sessão com o harness desejado
agent = Agent(harness="claude-code", provider="openrouter", model="anthropic/claude-3.7-sonnet")

# Streaming de pensamentos e texto
for event in agent.stream("Escreva uma função que calcula fibonacci"):
    if event["type"] == "agent.thinking":
        print(f"🤔 Pensando: {event['data']['delta']}")
    elif event["type"] == "agent.text":
        print(event["data"]["delta"], end="", flush=True)

# Ou resposta direta:
resultado = agent.prompt("Refatore a função para usar memoização")
print(resultado)

Metadata

Release files for openheinerss 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openheinerss 0.1.0
File Size Uploaded
openheinerss-0.1.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openheinerss 0.1.0
File Interpreter ABI Platform
openheinerss-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / openheinerss-0.1.0.tar.gz

Download URL openheinerss-0.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e926982a557ba7a8371048599b6303a0f290383cdc8ca10f31edea846be0b550
BLAKE2b-256 checksum
How to use checksums
a60cced85b8aeca1783b1ba6df4cf21bdc5928ab075ab7c72c89e125f5c2fae3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / openheinerss-0.1.0-py3-none-any.whl

Download URL openheinerss-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66eb217c91ce5112d404140b67ac1797e6b9f244f53c99b543a7050db3214f8f
BLAKE2b-256 checksum
How to use checksums
675bf107fba0721b923672bd6b2220cb6e891d768902bf19453ac96155c466c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page