Skip to main content

a4ui-agent

Agent-side A2UI chart runtime for @haystackedai/a4react clients.

Write one function — answer(prompt) -> (rows, columns, text) — and make_a4ui_agent(answer) returns a ready AgentCore app that turns a prompt into a validated, drillable A2UI chart surface. No a2ui-core, catalog assembly, surface-message building, validation, or rechart/drill wiring to write. The contract (catalogId + schemas) is baked and overridable.

from a4ui_agent import make_a4ui_agent

def answer(prompt: str):
    rows, columns, text = my_data_lookup(prompt)
    return rows, columns, text

app = make_a4ui_agent(answer)          # deterministic charts, zero config
if __name__ == "__main__":
    app.run()

See instruction_agent.md for the full DO list, LLM mode, and the contract rules.

Metadata

Release files for a4ui-agent 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for a4ui-agent 0.1.0
File Size Uploaded Provenance
a4ui_agent-0.1.0.tar.gz 13.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for a4ui-agent 0.1.0
File Interpreter ABI Platform
a4ui_agent-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / a4ui_agent-0.1.0.tar.gz

Download URL a4ui_agent-0.1.0.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a3d5743370d4c082b28b437f087c7b43d657f5875b8cee5841424688999c496f
BLAKE2b-256 checksum
How to use checksums
af2e5e3f5a48fc8bbacc783b2ee037c8c05503634c6a5b8adc6bdd27b6e62245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / a4ui_agent-0.1.0-py3-none-any.whl

Download URL a4ui_agent-0.1.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
723671a6e65e877360d960faad977013651dac821b618396b76c592812ad5220
BLAKE2b-256 checksum
How to use checksums
e18eba201998a9228057ec3f257182e74415ef819c4d6cf981b6ba68ef995401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for a4ui-agent 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page