accuralai-core
accuralai-core is the orchestration nucleus for the AccuralAI open-source ecosystem. It provides an async pipeline that coordinates canonicalization, caching, routing, backend invocation, validation, and post-processing for local LLM text generation workflows.
This package exposes both a Python API and CLI surface while remaining transport-agnostic. Concrete functionality (canonicalizers, caches, routers, backends, validators) is supplied by sibling packages or third-party plugins via entry-point discovery.
Quick start
Install with the canonicalizer plugin for a fully working local pipeline:
pip install accuralai-core accuralai-canonicalize
Generate completions via the CLI:
accuralai-core generate \
--prompt " Summarize this text. " \
--system-prompt "You are a precise assistant." \
--tag demo --metadata topic=news --param temperature=0.3
The accuralai-canonicalize plugin normalizes the prompt, merges metadata defaults, and creates deterministic cache keys before the request is routed to the configured backend.
Add accuralai-cache to enable TTL-aware in-memory caching:
pip install accuralai-cache
With caching enabled, repeat invocations are served instantly until the configured TTL expires.
See plan/accuralai-core-spec.md for the full architectural specification guiding implementation.
Interactive CLI
Launch the Codex-style REPL by invoking accuralai (or accuralai-cli) with no subcommand:
accuralai --config ~/.accuralai/core.toml
The shell remains active until /exit, and supports / commands for adjusting settings on the fly (/help, /backend, /model, /meta, /history, /save, /tool ..., etc.). Plain text input triggers pipeline runs using the current session defaults, and multi-line prompts are accepted by entering """ on an empty line. Tools can be listed via /tool list, executed manually with /tool run ..., and made available to the model for function calling via /tool enable <name>.
Metadata
Release files for accuralai-core 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| accuralai_core-0.2.1.tar.gz | 47.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| accuralai_core-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 117.9 kB
Release files / accuralai_core-0.2.1.tar.gz
| Download URL | accuralai_core-0.2.1.tar.gz |
|---|---|
| Size | 47.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7db6ebafbfbe11a2681a888b988febade4b2532f43bde43dcdd9cef2aabe956a
|
|
BLAKE2b-256 checksum How to use checksums |
3ff80dca59dff03b19b4682010ab541a0643a359fa01411d7d99dfd6a675ddee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / accuralai_core-0.2.1-py3-none-any.whl
| Download URL | accuralai_core-0.2.1-py3-none-any.whl |
|---|---|
| Size | 70.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b3caee054b2ee98e12f94eefb9969af9442b97e253fc924fe0e4055b46ccf2c
|
|
BLAKE2b-256 checksum How to use checksums |
861b94680115069b0ab376cc6897168e91f0c9a8010ada21846b1c8f54057423
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|