Metadata-Version: 2.4
Name: hugpy-oracle
Version: 0.3.28
Summary: Hugpy oracle: creative planning, model selection, screenplay and storyboard generation, DAG runtime, repair, evaluation and ledgers over the video pipeline
Author-email: putkoff <support@hugpy.ai>
License-Expression: LicenseRef-Proprietary
Project-URL: Homepage, https://hugpy.ai
Project-URL: Documentation, https://hugpy.ai/docs
Project-URL: Downloads, https://hugpy.ai/downloads/
Keywords: hugpy,llm,self-hosted,planning,video,orchestration,evaluation
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: abstract-flask>=0.0.0.1079
Requires-Dist: hugpy-platform
Requires-Dist: hugpy-resources<0.2,>=0.1.17.29
Requires-Dist: hugpy-engine<0.4,>=0.3.14
Requires-Dist: flask>=2
Requires-Dist: werkzeug
Requires-Dist: numpy
Provides-Extra: chat
Requires-Dist: hugpy-agent>=0.1.137.1; extra == "chat"
Requires-Dist: hugpy-downloader>=0.1.0.2; extra == "chat"
Provides-Extra: video
Requires-Dist: hugpy-video<0.4,>=0.3.20; extra == "video"
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Requires-Dist: hugpy-storage>=0.2.18; extra == "test"
Provides-Extra: images
Requires-Dist: Pillow; extra == "images"
Provides-Extra: nvml
Requires-Dist: pynvml; extra == "nvml"
Provides-Extra: agent
Requires-Dist: hugpy-agent; extra == "agent"
Dynamic: license-file

# hugpy-oracle

Hugpy Oracle plans media production and tracks multi-step jobs. It turns objectives into dependent steps, selects models using recorded reliability and exposes planning and screenplay operations through Hugpy Video.

## Installation

Install Oracle in the arms environment. It requires the 0.3 Engine client library. Install `hugpy-oracle[chat]` for interactive resource chat.

```sh
python -m pip install hugpy-oracle
```

## Quick start

Inspect a model-selection report without applying changes. Use the base URL of a running service that mounts Oracle, such as the standalone Video service.

```sh
hugpy-oracle steward --api http://127.0.0.1:7341
```

Use `steward --local` to inspect the local ledger instead. With the chat extra, `hugpy-oracle chat --base URL --model MODEL_ID` opens a resource chat against your fleet.

## Orchestration

Submit an objective and its steps to `POST /api/oracle/runs` on the Video service. Each step can name a model endpoint or a catalog capability. A reference to a preceding step passes its result into the next call. Approval points let an operator review a step before execution.

Poll `GET /api/oracle/runs/{run_id}` for progress. The run journal keeps completed steps, receipts and artifacts across requests. Execution uses the configured Wrapper or Core endpoint. Video hosts the Oracle and script routes through its composite Blueprint.

## Production tools

Screenplay and storyboard planning, render proposals, repair, evaluation and the reliability ledger are separate parts of the production workflow. `hugpy-oracle wan-s2v --help` describes the inputs for creating a talking shot from an image and an audio track.
