Skip to main content

Couplet agent engine — ACS v1, harness, LLM client, tools, and skills

Project description

couplet-core

Framework-agnostic Couplet agent engine for Python.

Install

pip install couplet-core

What's included

  • ACS v1 — typed streaming events and SSE serialization
  • Agent harness — tool loop with context compaction
  • LLM client — OpenAI-compatible API with retry/resilience
  • Skillpacks — handler registry and Skillpack loader (couplet_core.skillpack)

See couplet-runtime for the reference FastAPI service and skillpack-spec.md for the Skillpack layout.

Minimal embed

from couplet_core.acs import event_to_sse
from couplet_core.agent.harness import run_agent_turn
from couplet_core.agent.types import AgentTurn

async for event in run_agent_turn(turn, store=my_session_store):
    print(event_to_sse(event))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

couplet_core-0.1.1.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

couplet_core-0.1.1-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

Details for the file couplet_core-0.1.1.tar.gz.

File metadata

  • Download URL: couplet_core-0.1.1.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for couplet_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6e7297906fa31935813f19d92b3ef5b7aacc98a172f5e4600f2c9a5c09706af5
MD5 c07ef1b25d1063be92e3287018d55ea3
BLAKE2b-256 b23f3a9f1112f0aa57db583b34ff66fbf1ff2d124592b53207e53fefc4ca7c6b

See more details on using hashes here.

File details

Details for the file couplet_core-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: couplet_core-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 42.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for couplet_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f280f919da8de2ed2a332730a663ec99bfd71a5bd6599687e138ae222f985e9
MD5 24a383ff10e65e97d824ec18ff4c6c40
BLAKE2b-256 45a81057b7acaa82979c76e3f782223eacef7b080db5222865931e94b1bd91b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page