Technology · Internal data apps

Streamlit: from idea
to internal tool, in Python.

Streamlit lets you build an internal web application in Python, with no front-end development. It is our tool for putting a calculation, a model or an AI agent in the hands of a business team.

PythonOpen sourceInternal appsAI

THE TOOL

Streamlit in brief.

A dashboard displays figures. As soon as a user has to type text, upload a file, run a calculation or query a language model, you need an application. Streamlit is an open source Python library that lets you write one in a few dozen lines: an input field, a button, a table, a chart. The engineer who wrote the calculation also writes the screen, without going through a web developer.

Streamlit is free; you only pay for hosting. The application runs in a container, for example on Cloud Run, behind the company’s authentication. The flip side of this simplicity: the tool is designed for simple screens and a limited number of users. It is not a framework for building a product.

OUR PRACTICE

What we build with Streamlit.

01

An AI toolbox for SEO.

For a cosmetics brand, an internal application brings together about ten tools: title tags, meta descriptions, claims checking, brand visibility in ChatGPT.

02

A validation screen.

An AI agent proposes, a human validates: the application shows the proposal and its source, then keeps a record of the decision.

03

A trial before the application.

Before investing in a full business application, a Streamlit screen lets you check with users that the tool meets the need.

IN PRACTICE

For whom, and for whom not.

Streamlit is a good choice if…

  • The tool is for an internal team, not the public.
  • The heart of the tool is a calculation, a model or a call to an LLM, already written in Python.
  • You want to test a use case with its users before investing further.
  • The screens are simple: a form, a result, a table.

Look elsewhere if…

  • You need fine-grained permissions, several roles and a history of entries: you need a business application, which for us means FastAPI and PostgreSQL.
  • Hundreds of people will use it at the same time.
  • The need is to consult metrics: a BI tool will do it better.
  • The interface must be polished, in line with your brand, with complex user journeys.

IN PRODUCTION

Our implementation rules.

A tool written quickly does not have to be a fragile tool.

  • Logic outside the screen: calculations and calls to models live in tested Python modules. The Streamlit file just displays.
  • Never an open application: access goes through the company’s authentication, without exception.
  • A service account with limited permissions: the application reads what it needs from the data warehouse, nothing more.
  • Scaled to zero when nobody uses it: on Cloud Run, the service stops when there are no users and restarts on the first visit.
  • Traced model calls: every call to a language model is logged, with its cost and its result.
  • Deployment through continuous integration: no application launched from someone’s machine. The code is in Git, the secrets in a vault.

FREQUENTLY ASKED QUESTIONS

What we are often asked.

Does Streamlit replace a BI tool?

No. To consult metrics, filter and share reports, a BI tool does better and needs less maintenance. Streamlit is for when the user has to act: enter, run, validate, correct.

What happens when the tool grows?

We rewrite it, and that is not a failure. The logic, already isolated in Python modules, is carried over into a FastAPI application with a PostgreSQL database. Only the screens change. This is the normal path of a tool that has found its users.

Can an AI agent be plugged into a Streamlit application?

Yes. The application provides the screen; the rules stay those of any agent in production: closed tools, cited sources, tracked actions. See putting AI into production.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.

Let’s talk about your project