High-level group runtime with TUI and CLI built on top of acty-core
Project description
acty
acty is the high-level runtime package in the Acty stack. It builds on
acty-core and adds the engine API, TUI application, and the acty-tui CLI
for following or replaying JSONL event streams.
Install
pip install acty
Install the optional LangChain integration:
pip install "acty[langchain]"
For local development:
pip install -e .[dev]
Python Usage
import asyncio
from acty import ActyEngine, EngineConfig, EchoExecutor
async def main() -> None:
engine = ActyEngine(executor=EchoExecutor(), config=EngineConfig())
try:
submission = await engine.submit_group("demo", {"primer": 1}, [{"follower": 1}])
if submission.primer is not None:
print((await submission.primer).output)
for fut in submission.followers:
print((await fut).output)
finally:
await engine.close()
asyncio.run(main())
CLI Usage
The package exposes acty-tui:
acty-tui follow /tmp/acty_events.jsonl
acty-tui replay /tmp/acty_events.jsonl --speed 2.0
Example Programs
Run the TUI demo:
python examples/group_tui_demo.py --groups 3 --followers-per-group 2
Run the retry demo:
python examples/tenacity_retry_demo.py --event-jsonl /tmp/acty_tenacity_events.jsonl
Package Relationships
acty-coreprovides the low-level scheduler, lifecycle, event, and cache primitivesactyprovides the engine, client, TUI, and CLI built on top ofacty-coreacty-langchain,acty-openai, andacty-gigachatprovide optional executor integrations
Development
- tests live under
tests/ - example programs live under
examples/ - adapter-specific integration coverage belongs in the adapter repos, not in this repo
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
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 acty-0.1.0.tar.gz.
File metadata
- Download URL: acty-0.1.0.tar.gz
- Upload date:
- Size: 93.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06b986d0d4de1b8c9a4dcc47531d6b9fc7775a4e02fa416e90ad2a9e6a3bf7d5
|
|
| MD5 |
f7802d784e72b16b23ac2927e15b7214
|
|
| BLAKE2b-256 |
8a9466273499dd2e6fe0c179b3df1b3e0e56eb1dfcd3aa5ee27a5da525c92303
|
File details
Details for the file acty-0.1.0-py3-none-any.whl.
File metadata
- Download URL: acty-0.1.0-py3-none-any.whl
- Upload date:
- Size: 65.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73b0ffbbc453c5f2dbdb5adc835122df3c71c9fd9ed04fb997f1e2fa04b02e16
|
|
| MD5 |
ea81a9072db8529618371db194ce0f7e
|
|
| BLAKE2b-256 |
06787ce9f772efb6cd9b69442aafd3b18f03ff07cae5c5fc5d5c7ec2f8ada062
|