acty-core is the low-level runtime package behind the Acty ecosystem. It
provides the scheduler, lifecycle controller, event bus, cache primitives, and
lightweight demo executors without the higher-level TUI API.
pip install acty-coreFor local development:
pip install -e .[dev]Run the headless group demo:
python examples/group_headless.py --groups 3Run the scheduler-only demo:
python examples/scheduler_headless.py --groups 3Write JSONL events that can be inspected later:
python examples/scheduler_jsonl.py --event-jsonl /tmp/acty_events.jsonlGroupLifecycleControllerfor primer/follower orchestrationWorkStealingSchedulerand pool configuration- event bus primitives and JSONL-friendly event emission
- cache registry and cache-handle propagation support
- development executors such as
NoopExecutor,EchoExecutor, andSimulatedExecutor
acty-core uses structlog. For readable local logs and rich tracebacks:
from acty_core import configure_logging
configure_logging(handler="rich", show_locals=True)When a group uses a cache registry, the lifecycle attaches the resolved cache
handle to queued jobs as job.cache_handle. Executors can reuse provider
metadata from the cache handle instead of creating duplicate cache entries.
- tests live under
tests/ - example programs live under
examples/ - the package is intentionally usable without the higher-level
actyTUI layer