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
- Tools & skills — handler registry and skill pack loader
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))
See couplet-runtime for the reference FastAPI service.
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.0.tar.gz
(33.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.0.tar.gz.
File metadata
- Download URL: couplet_core-0.1.0.tar.gz
- Upload date:
- Size: 33.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 |
0c70d7f13671d3e357c2574b3aef31b80d3a2bf80ecc046537bd6c71e783c245
|
|
| MD5 |
24e05301fdbe1248efd51500c0a53be5
|
|
| BLAKE2b-256 |
1c3c8888b626e67d771642bba0b61f7b9ab7009819b03c343bedffa9c690df5e
|
File details
Details for the file couplet_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: couplet_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.6 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 |
fe73258c77b4d8e7177f2284cff4bc275fef0054cac6ccbf667debe6ee5a96d4
|
|
| MD5 |
b3c52d9eea4436750faa15b6e3a0b790
|
|
| BLAKE2b-256 |
663eb45e23e23689bd37e177adcd1a7f76d21b5ba9dc1e7a4363230da4304538
|