Skip to main content

Krionis Orchestrator — agentic batching and coordination on top of the Krionis Pipeline

Project description

Krionis Orchestrator

A lightweight orchestration runtime built on top of Krionis Pipeline.
It enables batching, multi-agent workflows, and coordination for low-latency, multi-user RAG systems.


🤖 Key Features

Batching & Microbatching

  • Queueing + scheduling for efficient parallel queries
  • Smooth multi-user handling (no “stuck at starting”)

🕹 Agent Runtime

  • Built-in agents: Retriever, Compressor, Reranker, Drafting, Validator, Dialogue, Coordinator
  • Agents communicate, self-optimize, and hand off state until human approval

🔗 Provider Plug-ins

  • Pluggable backends (local LLMs, APIs, hybrid deployments)
  • Bridges directly to krionis-pipeline

🌐 **API + Web Interface + CLI **

  • REST endpoints for orchestration and multi-agent queries
  • Minimal HTML UI for monitoring and interaction
  • CLI interface for starting/stopping and monitoring the orchestrator

🛡 Resilient Runtime

  • Timeouts, retries, and cancellation built in
  • Lightweight, works offline and in low-compute setups

Quickstart

Required Setup

Before starting the orchestrator, always make sure your working directory contains:

  • config\system.yaml – the main configuration file used by both the orchestrator and the pipeline.
  • data\manual\ – a directory with manually curated data (shared by both the pipeline and orchestrator).

These must be present in the directory where you launch the CLI (pwd on Linux/macOS, current folder in Windows).

Install:

pip install krionis-orchestrator

Krionis Orchestrator CLI

The orchestrator ships with a cross-platform CLI, installed as krionis-orchestrator.
It lets you start, stop, restart, and inspect the orchestrator.

Basic Usage

# Start the orchestrator (detached in background)
krionis-orchestrator start --host 0.0.0.0 --port 8080

# Check if it's running
krionis-orchestrator status
# → Running (pid 12345, uptime 00:02:17).

# Stop the orchestrator
krionis-orchestrator stop

# Restart the orchestrator
krionis-orchestrator restart

Options

--host (default: 0.0.0.0) – bind address
--port (default: 8080) – port to serve on
--workers (default: 1) – number of uvicorn workers
--log-file – optional path to capture logs

Developer Mode

To run in the foreground with hot-reload (auto-restart on code changes):

krionis-orchestrator dev --host 127.0.0.1 --port 8080

The CLI works the same on Linux, macOS, and Windows.

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

krionis_orchestrator-0.3.0.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

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

krionis_orchestrator-0.3.0-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file krionis_orchestrator-0.3.0.tar.gz.

File metadata

  • Download URL: krionis_orchestrator-0.3.0.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for krionis_orchestrator-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4fed568b376354db0112f430ecb88247c97d59b3237325cbdd856d7d365a272b
MD5 1ed54b31260b7f7d5c06423842ba3d31
BLAKE2b-256 38c924769c54a35da86fc9f6a78fa0ecb74eafd90839b88b6829b2827fec71ea

See more details on using hashes here.

File details

Details for the file krionis_orchestrator-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for krionis_orchestrator-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 573d627e6e9a8d96c681e90f31e2d9850924bee11a6f6f589d691d1386fb8ba4
MD5 abdfc34e935f46f520de55ced4a9206e
BLAKE2b-256 76257353b0e43149631230f9a407b88654ffc23cbceb22a3174c819988177d81

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