Skip to main content

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-core provides the low-level scheduler, lifecycle, event, and cache primitives
  • acty provides the engine, client, TUI, and CLI built on top of acty-core
  • acty-langchain, acty-openai, and acty-gigachat provide 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


Download files

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

Source Distribution

acty-0.1.0.tar.gz (93.8 kB view details)

Uploaded Source

Built Distribution

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

acty-0.1.0-py3-none-any.whl (65.0 kB view details)

Uploaded Python 3

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

Hashes for acty-0.1.0.tar.gz
Algorithm Hash digest
SHA256 06b986d0d4de1b8c9a4dcc47531d6b9fc7775a4e02fa416e90ad2a9e6a3bf7d5
MD5 f7802d784e72b16b23ac2927e15b7214
BLAKE2b-256 8a9466273499dd2e6fe0c179b3df1b3e0e56eb1dfcd3aa5ee27a5da525c92303

See more details on using hashes here.

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

Hashes for acty-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73b0ffbbc453c5f2dbdb5adc835122df3c71c9fd9ed04fb997f1e2fa04b02e16
MD5 ea81a9072db8529618371db194ce0f7e
BLAKE2b-256 06787ce9f772efb6cd9b69442aafd3b18f03ff07cae5c5fc5d5c7ec2f8ada062

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