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
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
couplet_core-0.1.1.tar.gz
(31.0 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7297906fa31935813f19d92b3ef5b7aacc98a172f5e4600f2c9a5c09706af5
|
|
| MD5 |
c07ef1b25d1063be92e3287018d55ea3
|
|
| BLAKE2b-256 |
b23f3a9f1112f0aa57db583b34ff66fbf1ff2d124592b53207e53fefc4ca7c6b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f280f919da8de2ed2a332730a663ec99bfd71a5bd6599687e138ae222f985e9
|
|
| MD5 |
24a383ff10e65e97d824ec18ff4c6c40
|
|
| BLAKE2b-256 |
45a81057b7acaa82979c76e3f782223eacef7b080db5222865931e94b1bd91b9
|