Files
scriptorium/README.md

3.3 KiB

Scriptorium

Scriptorium is a prompt-execution application with a command-line interface and an HTTP service. It prepares prompt requests, runs them against OpenAI-compatible model endpoints, and returns generated output with validation metadata.

The application uses PromptKit v0.25.0 for prompt execution and ConfigKit v1.4.0 for configuration. CommandKit v0.8.0 and its ckconfig v0.11.0 and ckprompt v0.12.0 integrations supply native configuration, resource discovery, preview, reporting, and completion. Scriptorium owns executable configuration, CLI and HTTP mapping, process behavior, output presentation, and HTTP artifact-containment policy.

Quickstart

From the repository root:

go run ./cmd/scriptorium promptkit show prepared generic.markdown_summary \
  --config ./examples/config.yml \
  --input-file transcript=./examples/fixtures/transcript.md \
  --input-file glossary=./examples/fixtures/glossary.yml \
  --format json

This renders the prepared prompt and effective runtime settings without calling a model. For complete invocation and output behavior, see the CLI reference.

Documentation

Examples

Scriptorium is licensed under the GPL v3.0 or later.

Open Source attribution notices are available.