Next Gen UI Core Functionality
This module is part of the Next Gen UI Agent project.
This module contains UI Agent Core functionality and frameworks.
Provides
NextGenUIAgentproviding agent configuration and methods for individual processing stepsNextGenUIAgentproduced UI Data Blocks- LLM selected and configured dynamic components
- Supported components:
one-card,image,video-player,set-of-cards,table,chart-bar,chart-line,chart-pie,chart-donut,chart-mirrored-bar
- Supported components:
- Hand Build Components
- Extensible framework for "data transformation" step per dynamic component
- LLM selected and configured dynamic components
- Plugable "UI renderer" framework for UI components rendering
- Default
jsonrenderer used to send definitions to client-side renderers
- Default
- Pluggable and configurable "Input Data Transformation" framework
- Provided transformers:
json,yaml,csv-comma,csv-semicolon,csv-tab,fwctable,noop
- Provided transformers:
- Abstraction of the LLM inference
InferenceBaseinference interface used by UI AgentLangChainModelInferenceinference implementation using LangChainchat_modelsProxiedAnthropicVertexAIInferenceinference implementation to call Anthropic/Claude models from proxied Google Vertex AI API endpoint- reusable inference provider builder from commandline arguments/env variables, used by all AI protocol servers
Installation
pip install -U next_gen_ui_agent
Interface usage
from next_gen_ui_agent import NextGenUIAgent
inference = # any AI framework inference
agent = NextGenUIAgent(
inference=LlamaStackInference(model="ollama:llama3.2"),
)
# API is not very friendly ATM, as you have to call methods for individual processing steps. We plan to improve it iit the near future.
Links
Metadata
Release files for next-gen-ui-agent 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| next_gen_ui_agent-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / next_gen_ui_agent-0.4.0-py3-none-any.whl
| Download URL | next_gen_ui_agent-0.4.0-py3-none-any.whl |
|---|---|
| Size | 81.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a05b05f04ae5ddfef3ab4a977c5c8bba7210530c9aa8873b76199a92e68f6a21
|
|
BLAKE2b-256 checksum How to use checksums |
841228e9b718ebf3b3cb85215f1b0c49acdaff80c244cbdf398aa23ec465ce8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for next-gen-ui-agent 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.