Engineering

Your Business, Understood. Automatically.

Amine Mezzour

On this page

Every startup has a hidden data dictionary. It usually lives in a combination of backend code, the founder's head, old SQL snippets, and a Slack thread no one can find.

Consider a perfectly ordinary question: "How many active customers did we have last week?"

The database might contain accounts, subscriptions, events, and users. But "active" might mean paid, logged in, completed a meaningful activity, or not canceled. The answer depends on business logic, not just knowing which tables to join.

That is why context matters more than a clever SQL prompt.

What happens after you connect a source

As soon as you connect a supported database or warehouse to Matys, you can start asking questions and creating charts. You don't have to wait for a long manual modeling project before the first query.

For stronger answers, Matys writes down your business context. It reads your database schemas and writes the first version in a couple of minutes. Connect GitHub and it reads your backend code to learn how data is produced. Connect Metabase and it reads your dashboards, saved questions, models and SQL. The result is a Markdown document in the Global context tab: your metrics, key tables, terms and rules. Your whole team can read it, and every answer and dashboard uses it.

The backend is often the richest source. It can show what happens when a user signs up, which states an invoice passes through, what counts as a completed lesson, or why a record is soft-deleted rather than removed.

A schema says what data exists. Code can help explain what the data means.

Why backend logic is a competitive advantage

Suppose your app has a lessons table and an audio_played_at field. A generic model may infer that any row with a timestamp represents listening. Your application logic could reveal that demo previews, partial plays, or repeated sessions need different treatment.

Or imagine that MRR is derived from billing events with several exceptions: paused accounts, introductory pricing, refunds, and annual contracts. These exceptions rarely advertise themselves through column names.

Code context doesn't guarantee the correct interpretation; code can be old, incomplete, or out of sync with operational practice. But it gives an agent substantially more evidence than schema guessing alone.

Context you can see and correct

We don't believe a business's definitions should be hidden behind a magic AI prompt. Matys exposes the context it writes so it can be audited. Admins can edit the document by hand, ask Matys to change it, or write their own definitions from scratch.

That creates a practical workflow. Start with the agent's best understanding. Inspect how a metric is described. Correct it when the business rule differs. Keep asking questions. When a chat brings up a new definition or rule, Matys proposes an update to the context, and an admin reviews it before it's saved, so nothing changes behind your back.

Every save creates a version. Your team can see what changed between versions, and an admin can restore an earlier one. Groups can also have their own group context, which Matys adds to the global context for that group's members.

This isn't the same as saying the system proactively detects and repairs every future change. Scheduled context re-optimization based on data sources and chats is on our roadmap, not a shipped feature.

Do you still need a semantic layer?

Our view is deliberately opinionated: a heavy, manually maintained semantic layer is often the wrong starting point for a startup. Rich context—from actual product code, data structure, and team decisions—can be more flexible and more immediately useful.

But flexibility is not a license to reinvent board-level metrics on every query. Some calculations must be deterministic and agreed across finance, product, and sales. If your company has precise metric definitions, write them into the global context and check that they're being applied consistently.

The goal isn't to abolish definitions. It's to avoid making a months-long modeling project the entry ticket to asking a useful question.

Connect your data. Start asking. Let the context get better.

Try Matys with a 14-day free trial.


Keep reading


Try now for free

Connect your source, ask your first question, and see what comes back.

Get started free

No credit card required