Skip to main content

Turn any LLM into an interactive UI. One line of Python — no React, no frontend setup.

Project description

Tilo

Turn any LLM into an interactive UI. One line of Python — no React, no frontend setup.

pip install "tilo[openai]"
import tilo

spec = tilo.generate(
    "Review this SaaS contract for payment, liability, and IP risks.",
    model="gpt-4o",          # or claude-opus-4-8 — provider auto-detected
)

tilo.view(spec)              # opens in your browser. that's it.

The LLM doesn't return a wall of text — it generates a structured, interactive surface: a risk chart, a before/after diff, a checklist, a human-approval gate, and a memory card, organised into tabs. Rendered with zero frontend setup.

No API key? Run tilo demo to open a sample surface. tilo serve then open http://localhost:8000/playground for a live editor.

Works with your stack

# OpenAI
from tilo.adapters.openai import generate_aip_spec
spec = generate_aip_spec(OpenAI(), "Analyse Q3 pipeline", skill="sales_dashboard")

# Anthropic
from tilo.adapters.anthropic_sdk import generate_aip_spec
spec = generate_aip_spec(Anthropic(), "Review this PR", skill="code_review")

# LangChain / LangGraph
from tilo.adapters.langchain import generate_aip_spec
spec = generate_aip_spec(ChatOpenAI(model="gpt-4o"), "Plan a trip to Tokyo")

# Bring your own LLM client
from tilo.prompt import AIPPromptBuilder
b = AIPPromptBuilder("Summarise this incident", skill="incident_response")
# b.system_prompt(), b.user_prompt() → your LLM → b.parse(response)

Render anywhere

Browser tilo.view(spec)
Jupyter / Colab tilo.notebook(spec)
Standalone HTML tilo.save_html(spec, "out.html")
Production React npm install @adam2go/tilo-react

Install options

pip install "tilo[openai]"      # OpenAI SDK
pip install "tilo[anthropic]"   # Anthropic SDK
pip install "tilo[langchain]"   # LangChain
pip install "tilo[all]"         # everything + Postgres driver

Why Tilo

As LLMs get stronger, a wall of text is still a wall of text. Tilo turns model output into something a human can click, edit, approve, and reject — and turns those actions into structured signal the model can learn from.

  • Structured UI beats prose for decisions.
  • Human confirmation is infrastructure — stronger models need more gates, not fewer.
  • Confirmed memory, not auto-memory — Tilo proposes; the human confirms.

Links

MIT License

Project details


Download files

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

Source Distribution

tilo-0.4.0.tar.gz (198.2 kB view details)

Uploaded Source

Built Distribution

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

tilo-0.4.0-py3-none-any.whl (202.5 kB view details)

Uploaded Python 3

File details

Details for the file tilo-0.4.0.tar.gz.

File metadata

  • Download URL: tilo-0.4.0.tar.gz
  • Upload date:
  • Size: 198.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tilo-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fe419c850f083976381919e1d7a9eeb248815126383ba08500f51b11aea01b00
MD5 1238d9b060c5ddd515c819eca9f8527a
BLAKE2b-256 e9cb5436a91d74d95875fac53c3a54b45fa00a05cbf019a992844fea6a48e273

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilo-0.4.0.tar.gz:

Publisher: publish.yml on adam2go/tilo-framework

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

File details

Details for the file tilo-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: tilo-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 202.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tilo-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83b14f737764f3a9f4dd7376bf4b5282bf59d3f51e944db83ad6f4005f68d069
MD5 e2cddff5d226955b6dc6c52d3b80a219
BLAKE2b-256 6990ad5d6d67fbf6467b58762f97870752f15c077675bd1d068117a0cd56da07

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilo-0.4.0-py3-none-any.whl:

Publisher: publish.yml on adam2go/tilo-framework

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page