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.2.tar.gz
(33.9 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.2.tar.gz.
File metadata
- Download URL: couplet_core-0.1.2.tar.gz
- Upload date:
- Size: 33.9 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 |
6d0ed5f32114cb952d18c876bb613359bea43efff41811ae1cbc230556b57259
|
|
| MD5 |
6213ebe3cdb45fbe629df47ce12945be
|
|
| BLAKE2b-256 |
061194384543492a3b4e4f4abf091c74e812c5b4fb0332d0a38a4ff6e6b71101
|
File details
Details for the file couplet_core-0.1.2-py3-none-any.whl.
File metadata
- Download URL: couplet_core-0.1.2-py3-none-any.whl
- Upload date:
- Size: 45.9 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 |
c9f938fd779d417c97a672a3b6c7b1153a569effa9a661e89d1b9ca50ceb5cc7
|
|
| MD5 |
900ece7d8a849c3e18d3f83aa5a1b39c
|
|
| BLAKE2b-256 |
3d8761f1bd003571a895916361422095f6f2f92c220257e308528aefe6fd5b90
|