Skip to main content
portalr: the portal into an application built on lattice.

Docs Nightly Python 3.12, 3.13 and 3.14 Coverage: 100% Typed: pyright strict License: MIT

portalr is the portal into an application built on lattice: an app UI for the people who use it, to chat with its agents and see their artifacts, proposals, rules and runs, and an admin UI for those who run it, to manage access and see feedback, evaluations, usage and spend. Both are static single-page apps in React, sharing a typed client and a ui kit, and served by a router the application mounts beside the libraries'.

Status: built, and on PyPI. The router, the app's areas and the admin UI, including the operators' tenants and tools and people shown by email, are built and tested, and stackr's template mounts it (guides, architecture). Not built yet: magic links and other sign-in providers. Its wheel carries both UIs: uv add portalr.

Why

Every surface in lattice is an API, a WebSocket or an MCP server, so an application built on it has to build its own UI before anyone can use it, and running one is blind without an admin UI. lattice RFC-0002 designs that UI once, and portalr is where it is built.

What it does

  • The browser calls each package's own routes. A chat goes to artifactr's WebSocket, a rule to reflexr's REST, a grant to grantr's API, on one origin with one token. Nothing proxies them, so nothing re-declares their types (ADR-0001).
  • Two static apps on Vite, in React 19 and TanStack, with no server rendering and no Node server (ADR-0002).
  • A chat of its own, thin, in ui, over artifactr's protocol (ADR-0003).
  • A tenant's own observability, native, in the admin UI: its feedback, evaluations, spend, traces and logs, with deep links out to the tools for operators (ADR-0004, ADR-0005).
  • Every read filtered by tenant, in one module, over the stack's shared stores (ADR-0006).
  • Permissions asked, never guessed. The UIs ask grantr what the user may do, and the server checks each command again.
  • Native files, uploads and check-out. A person uploads a file, reads its pages and words, and checks it out into its app's browser build, framed on an origin of its own (ADR-0049).
  • Forms, dashboards and mini apps in the chat. A mini app runs in a sandbox on an origin of its own, inline in its thread, with a full view (ADR-0051, ADR-0052).
  • Connected apps' calls approved. An agent's call that runs code in an operator's own FreeCAD or Blender waits on a card that shows what it would run.
  • Brand kits. A deployment's kit sets its colours, type, marks and words; portalr brand init starts one and portalr brand validate checks it (white-labelling).
  • A new version, offered. A tab that outlived a deploy says a new version is ready, and reloads only when the person chooses (ADR-0058).

Documentation

portalr's documentation is its section of lattice's site, at https://lattice.alexnodeland.com/portalr/, built from docs/portalr/.

Contributing

See CONTRIBUTING.md for setup, the trunk-based workflow, and the RFC and ADR process.

License

MIT. The UIs carry lattice's typefaces, Schibsted Grotesk and Fragment Mono, under the SIL Open Font License 1.1.

Metadata

Release files for portalr 0.2.2

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

Source distribution (sdist)

Source distribution for portalr 0.2.2
File Size Uploaded Provenance Actions
portalr-0.2.2.tar.gz 3.0 MB With provenance Details for portalr-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for portalr 0.2.2
File Interpreter ABI Platform Actions
portalr-0.2.2-py3-none-any.whl Python 3 none any Details for portalr-0.2.2-py3-none-any.whl

Total release size: 6.2 MB

Release files / portalr-0.2.2.tar.gz

Download URL portalr-0.2.2.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
41b28af82dc09a130c312bd7441ddd641ff75cc2afd96a3395859e3b902ff901
BLAKE2b-256 checksum
How to use checksums
b719b0abcf5bc6d1dd21212be08065387c17dd04694fc4099c9cd27438d2fddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / portalr-0.2.2-py3-none-any.whl

Download URL portalr-0.2.2-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3f8f2d49b1dd24c08c46d831156c881cca5dd77ab3ff9b196ea30599edd790a9
BLAKE2b-256 checksum
How to use checksums
918131a64eb94887fd67a3967590d5359a579f73ceb02a73ba2fc3dd7532051e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Security for portalr 0.2.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for portalr-0.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

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.

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