everruns-openui 0.17.0

OpenUI component definitions and prompt generator for Everruns agents
Documentation

everruns-openui

OpenUI component library and prompt generator for Everruns generative UI.

Crates.io Documentation License: MIT

everruns-openui builds the system-prompt text that teaches an LLM to produce openui fenced blocks — generative UI that Everruns clients that understand OpenUI Lang can render directly in a conversation. It ships a static component library and lets you extend the prompt with your own rules and examples.

Part of the Everruns ecosystem — the durable agentic harness engine for building unstoppable agents. See everruns-a2ui for the JSON-component variant of generative UI.

Quick Example

use everruns_openui::{PromptOptions, default_library, generate_prompt};

let prompt = generate_prompt(
    default_library(),
    &PromptOptions {
        additional_rules: vec!["Prefer compact tables for operational data.".into()],
        ..PromptOptions::default()
    },
);

assert!(prompt.contains("```openui"));

What It Provides

  • A static OpenUI component library
  • Prompt generation for OpenUI Lang output
  • Custom prompt options for extra rules and examples

Documentation

License

Licensed under the MIT License.