Skip to main content

gui-now

Python SDK + agent tools for GUI — instant shareable HTML canvases.

Install

pip install gui-now

With framework integrations:

pip install gui-now[langchain]
pip install gui-now[llamaindex]
pip install gui-now[crewai]
pip install gui-now[all]

Quick Start

from guinow import create_canvas

url = create_canvas(html="<h1>Hello World</h1>", title="My Canvas")
print(url)  # https://gui.now/abc123

Full Client

from guinow import GuiNowClient

client = GuiNowClient(api_key="your-pro-key")  # or set GUI_NOW_API_KEY env var
result = client.create(
    html="<h1>Dashboard</h1>",
    title="Q1 Report",
    expires="7d",
)
print(result.url)
print(result.expires_at)

Every input format

client.create(html="<h1>Hi</h1>")                       # raw HTML
client.create(markdown="# Hi\n\nRendered server-side.")  # Markdown
client.create_diagram("graph TD\n  A-->B", title="Flow")  # Mermaid
client.create(frames=[                                   # multi-tab canvas
    {"html": "<h1>Overview</h1>", "label": "Overview"},
    {"html": "<h1>Detail</h1>", "label": "Detail"},
])

Update and extend

create() returns an edit_token. Keep it — it is the only way to change a canvas afterwards. Free tier allows 3 edits per canvas; Pro is unlimited.

canvas = client.create(html="<h1>Draft</h1>")

client.update(canvas.id, canvas.edit_token, html="<h1>Final</h1>")
client.update(canvas.id, canvas.edit_token, title="Renamed")
client.update(canvas.id, canvas.edit_token, password=None)  # remove protection

client.extend(canvas.id)   # push expiry to 24h from now
canvas.open()              # open the URL in a browser

Omitting password leaves existing protection alone; passing None removes it.

LangChain

from guinow.langchain import GuiNowTool

tool = GuiNowTool()
# Add to your agent's tools list
agent = initialize_agent(tools=[tool], ...)

LlamaIndex

from guinow.llamaindex import get_guinow_tool

tool = get_guinow_tool()
agent = ReActAgent.from_tools([tool], ...)

CrewAI

from guinow.crewai import GuiNowTool

tool = GuiNowTool()
agent = Agent(tools=[tool], ...)

Environment Variables

Variable Description
GUI_NOW_API_KEY Pro API key for higher rate limits and longer expiry
GUI_NOW_URL Override the API base URL (defaults to https://gui.now)

GUI_NEW_API_KEY and GUI_NEW_URL are the pre-rename names and are still read as fallbacks, so keys exported before the move to gui.now keep working.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gui_now-1.0.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gui_now-1.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file gui_now-1.0.0.tar.gz.

File metadata

  • Download URL: gui_now-1.0.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gui_now-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a5bdbe46a829a81de77f3d69bbf84d706180ebdbca0d3094b998682fc85b72f4
MD5 e33926c8df64f7bae291ab381d6e4743
BLAKE2b-256 986706709cb8c52cbc853cac1f904551bc442a57a695d90ebaf9a8b91120baa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gui_now-1.0.0.tar.gz:

Publisher: publish.yml on gui-now/python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gui_now-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gui_now-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gui_now-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 851f379886976e4b3fc716ac9877c615a5fa4773130a90f1b5b30f8911902640
MD5 3954d781322945aa6f58986106c97c2a
BLAKE2b-256 2d757c5b45a6bf2060c012030c24e586063dc726de37e282b2c4857aded2656e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gui_now-1.0.0-py3-none-any.whl:

Publisher: publish.yml on gui-now/python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

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