Teriyaki

Chronicle 1. Before running, put things in order

Teriyaki6 min read

This article starts Teriyaki's chronicle: how a business AI platform gets built, told with the real dates, the choices made and the things we threw away. Teriyaki is Hoplo's AI software factory: it listens to a company and turns the processes that cost the most into software. The first episode starts from a specific day: 11 September 2026, when we decided to stop and put things in order.

Why stop just when everything pushes you to run

When an AI product works, the temptation is to add features every week. Every new model, every new service, every request becomes another piece of code. After a while the foundation is made of layers nobody wants to touch anymore.

On 11 September we wrote a restructuring plan and declared it the source of truth for the work: every phase closes with a change recorded in the code and an update to the status table. It is not a statement of intent. It is the list of what gets done, in what order, and what is still open.

The five goals of the restructuring

The plan lines up five goals. We report them in plain words, without component names: those change, and for people using the product the principle is what matters.

  1. Security. No secrets and no personal data inside the code. Configuration lives outside the code, and the code history starts over clean.
  2. Maintainability. A single, readable structure, no duplicates or dead code, pinned and supported dependencies, minimum tests and an automated check that runs them.
  3. A single controlled passage to AI models. Model calls do not go out from scattered points in the code: they all go through one place, where they are checked and logged.
  4. Fewer dependencies for the foundations. User sign-in, data and files must not rest on a single large external provider.
  5. A repeatable installation. A set of services that always installs the same way, with automated release and an operations manual.

We will come back to the third point in the next episode, because it deserves its own story. What matters here is the general idea: fewer pieces to depend on, fewer pieces to keep in sync.

What we replaced with what

Getting out of a dependency is not just about removing something. You have to choose what to put in its place, and do it so that everything else keeps working. This is the substance of the decisions we made.

Area Before After
Secrets and configuration scattered, partly in the code outside the code, with an example for each component
User sign-in relying on an external service installed with everything else, using a standard protocol
Data and files storage from a single provider a database and a file store we manage ourselves
AI models different connections in several places a single controlled passage, with every call logged
Release manual, step by step automated: it builds, tests and releases

A detail that is often misunderstood: reducing dependencies for the foundations does not mean giving up external services where they are really needed. AI models, for example, remain external services. The difference is between using a service and resting the whole product on it.

What we discarded

An honest diary also says what gets thrown away. Here are the main things we gave up.

  • The old code history. We started over from a new branch, with a clean history, with no secrets in the past.
  • The duplicate pieces. Duplicated copies of functions, an old editor, surplus configuration files. Gone.
  • The scattered connections to models. In their place, a single passage, the same for everyone.
  • The old release pipeline. Replaced by one that builds, tests and releases automatically.

Giving things up has a cost. Every piece removed had been written by someone for a reason. But a piece nobody can explain anymore is a risk, not an asset.

Where we stood on 11 September

That same day the whole set of services was running in a local environment, with browser sign-in verified. The cleanup and the single passage to the models were done. The move off the old foundations was done and tested locally. For the server installation, the services, machine setup, automated release and manual were ready; installation on the real server was still to do.

We write this because a chronicle that only tells the milestones helps nobody. Anyone evaluating a business AI platform needs to tell the difference between "done", "tested locally" and "in production".

What changes for people who use Teriyaki

For people who use the product, the restructuring does not show up as a new screen. It shows up in what holds things up underneath.

  • A closed environment. The code runs isolated, and model calls go through a controlled point instead of a thousand different routes.
  • Every cost logged. If all calls go through one place, the bill is tallied in one place.
  • Fewer hidden dependencies. The foundations do not rest on a single large provider.
  • A repeatable installation. If a server has to be rebuilt, it is rebuilt with the same procedure, written in the manual along with how to roll back.

You can see how all this looks today to people using the product in how Teriyaki works. If you are interested in data copies, we covered them in Backups for business apps: what to ask your hosting provider.

What you can do tomorrow with your business AI platform

You do not need a technical team to ask the right questions. Whether you already use a platform or are about to choose one, try these five.

  1. Where are the secrets, that is, keys and passwords? If the answer is "in the code", that is the first problem.
  2. If the server breaks tomorrow, can everything be reinstalled with a written procedure?
  3. How many providers does the service depend on, and what happens if one changes its terms?
  4. Is there a copy of the data, and has anyone ever tried to restore it?
  5. Do calls to AI models go through a single point, where they are visible and counted?

More useful questions are in Ten questions to ask an AI vendor before you sign, and vendor dependency is covered in Who owns the code? Lock-in in apps built with AI.

Frequently asked questions

Why restructure an AI platform before adding features?

Because every new feature rests on what is underneath. If the foundation has secrets in the code, duplicates and too many dependencies, every addition increases the risk. Putting things in order first makes later changes safer and simpler.

What does it mean to distinguish between done, tested and in production?

It means not confusing a feature that has been written with a feature that actually works. "Done" is written code, "tested locally" is code that works on a test machine, "in production" is what people use. Anyone evaluating a business AI platform should always ask which of the three states applies to what they are being shown.

What does a reproducible installation mean?

It means the service is always installed with the same written procedure, with no steps done from memory. If a server has to be rebuilt, it is rebuilt the same way, with rollback described in the operations manual.

Let's start with one process.
In 30 minutes we'll know if it fits.

Book a demo