Artificial intelligence

Enterprise AI platforms and solutions

Shared model access, retrieval and testing that each new AI use case can build on.

How we do it

Overview

The first AI use case in an organization usually builds everything it needs for itself, which means provider keys, a retrieval index, a logging table, a handful of test prompts and a filter for personal data. That is a reasonable way to deliver one use case. By the time there are five, the organization typically has five sets of keys and five copies of the policy documents, held in five indexes under five different permission models. The security team also gets five answers to its questions, because each team solved the same problems on its own and in a slightly different way.

Most enterprises respond by building an internal AI platform, and these platforms tend to fail in one of two ways. A platform built too early is designed around requirements that someone imagined, so the first product team to use it often finds that it does not fit. When it is too heavy, it turns into an approval gate, where teams wait weeks to be onboarded or call the provider directly with a personal key because that is quicker. We therefore design the platform so that using it takes a team less effort than working around it.

We decide what belongs in the shared foundation by studying the use cases you already have, since they show what your teams needed in practice. The parts that every team needs go into the platform. These are model access through a gateway, a retrieval service that respects source permissions, a shared evaluation service, guardrail services and cost allocation, while anything specific to one use case stays with the team that owns it. We also provide reference architectures showing how the pieces fit together for the common patterns, which gives a new team a working example to start from.

Challenges we address

The failures we are usually called in to fix
  1. Every team builds its own stack

    With five use cases there are five sets of provider keys, five vector indexes and five logging schemes. Each stack works on its own terms, but the results cannot be compared across teams, and an improvement made by one team, such as a better way to chunk contracts, does not reach the other four.

  2. A platform designed before any use case

    A central team spends two quarters building an AI platform that follows a vendor's reference diagram. When the first product team arrives, it needs streaming, document permissions and a model that the platform does not offer, so it builds around the platform, which is left without users.

  3. A gateway that teams work around

    Central access exists, but getting onto it takes a ticket and three approvals, and new models become available months late. Some engineers respond by putting a provider key on a corporate card, which leaves the organization with a control point that covers only the teams patient enough to use it.

  4. Every security review starts from zero

    Each new use case is sent to security and legal as though it were the first one. The same questions about data retention, provider terms, logging and personal data are then answered from scratch, often by people who were not part of the previous review and do not know what the last team agreed.

  5. One invoice that cannot be split

    The provider's bill arrives as a single figure for the whole company, so finance cannot say which product or department spent it. A runaway batch job is discovered only at month end, and there is no reliable way to tell whether a given use case is paying for itself.

Our approach

How the work runs, in order
  1. Read the use cases first

    We look at the AI features you have in production or in pilot, along with the next three on your list, and note what each one built for model access, retrieval, testing, safety and logging. The platform consists of whatever those features have in common, and we leave out anything that only one team needs.

  2. Decide what is shared

    We write a short platform scope that sets out what the platform provides, what stays with the product teams and who decides when that boundary should move. Where a managed service from your cloud provider already covers a component, we use it, and build only the thin layer needed to tie it to your identity system and policies.

  3. Build the shared services

    We build the gateway, the retrieval service, the evaluation service and the guardrail services as ordinary internal services, with APIs, documentation and a starter template. The target we work to is that a team can get from a new repository to its first governed model call in an afternoon without having to raise a ticket.

  4. Move two real teams on

    We migrate one existing use case onto the platform and launch one new one on it, working alongside the teams that own them. Whatever those teams struggle with is fixed in the platform itself, since a workaround in one team's code would not help the teams that come later. The code the two teams end up with becomes the first set of reference architectures.

  5. Hand over a product

    By the end, the platform has an owner, a backlog, a service level and a published way to request changes. We write the runbooks and set up usage and cost reports for each team. We also stay until a provider has changed a model for the first time, because that lets the upgrade process be tested while we are still there to fix it.

Technical capabilities

What we design, build and operate
  • Model gateway

    A single internal endpoint through which teams reach the approved models across providers. It issues keys per team, applies rate limits, falls back from one provider to another, logs requests and gives you one place to apply data-handling rules.

  • Shared retrieval service

    Ingestion, indexing and hybrid search over sources that many teams share, such as policies, contracts and product documents. Each user's source permissions are enforced at query time, which removes the usual reason for teams to copy documents into private indexes.

  • Shared evaluation service

    A common way to store test cases, run graders and compare results across versions of a prompt or a model, connected to each team's delivery pipeline. Each team supplies its own cases and the platform takes care of running them.

  • Guardrail services

    Shared checks that applications call, covering detection and masking of personal data, content filters, validation of output against a schema and blocks on unapproved destinations. Every check is versioned and tested in the same way as other code.

  • Cost allocation and quotas

    Every request is tagged with its team, application and environment. Budgets, alerts and reports are built on those tags, so finance can either charge spend back to each use case or show teams what they have used.

  • Reference architectures

    Working, documented examples of the common patterns, which are a question-answering assistant, a document extraction pipeline, a tool-calling agent and a batch enrichment job. Each example can be deployed in your environment.

  • Self-service onboarding

    A starter template and a short automated registration step. Registering gives a new team its keys, a budget, a tracing project and an evaluation project, and no meeting is needed to obtain them.

  • Model catalog and lifecycle

    A list of the approved models that records the data terms, cost and intended use of each one. It comes with a process for adding a model and for retiring one ahead of the date on which the provider withdraws it.

Where it applies

Business applications
  • After the third or fourth pilot

    Several teams have working AI features, and each of them has built its own supporting infrastructure. Consolidating the shared parts at this stage costs less than it will once there are ten such features.

  • One control point for regulated data

    Security and compliance teams need a single place where they can enforce which data is allowed to reach which model, and from which they can produce the request logs whenever they are asked for them.

  • Groups with several business units

    Each business unit keeps its own use cases and its own budget. Model contracts, retrieval over group documents and safety checks are provided once and shared by all the units.

  • Preparing for a provider change

    A gateway and shared evaluation are put in place before the change is made. Switching to another model provider, or adding one, then comes down to a configuration change followed by a test run.

  • Opening AI to internal developers

    Application teams that sit outside the central AI group are given a safe, documented way of adding a model call to the systems they already own.

In practice

Two situations this service is built for, and what we would do in each.

Insurance

Five AI teams at an insurer with five separate stacks

The situation
Over two years, five teams at an insurer have built AI features for claims, underwriting, customer service, legal and IT. Each team holds its own provider keys and its own copy of the policy wordings in a separate index, so when a wording changes, two of the assistants go on quoting the old one. The risk function also cannot produce a single list of what data goes to which model.
What we would build
We would begin with an inventory of the five stacks, and then build a gateway with per-team keys and logging alongside one retrieval service over the policy wordings, with permissions taken from the document system. Claims would migrate first, and its own test set would move into the shared evaluation service to confirm that answers do not get worse. The other four teams would follow using the template that migration produced, after which the direct provider keys would be revoked.
What it is designed to change
A wording change would reach every assistant from one index, and the risk function would have one log of model traffic. We would track the number of use cases calling models through the gateway, the time a new use case takes to reach its first approved call, and the spend attributed to a named team.
Manufacturing

A manufacturing group opening AI to its plants

The situation
A manufacturing group has a central data science team and a dozen plants, each of which has a small IT team of its own. The plants want assistants that answer from their maintenance manuals and quality procedures. The central team cannot build one for every plant and will not hand out provider keys to teams whose work it cannot review, so requests wait in its queue for months.
What we would build
We would build a thin platform on the group's existing cloud. It would consist of a gateway with a budget for each plant, a retrieval service that each plant loads with its own manuals, and a reference assistant that a plant IT team can deploy and adapt, with guardrail checks and shared evaluation included in the template. Before its assistant goes live, each plant would write thirty test questions drawn from real maintenance cases.
What it is designed to change
Plant teams would ship their own assistants inside limits that the central team sets once, leaving that team to review exceptions and not every project. We would measure the number of plants live on the platform, the queue of requests waiting on the central team, and each plant's cost against its budget.

Technologies

We work in your stack and recommend on fit. We resell nothing.
Model gateways
LiteLLM · Portkey · Kong AI Gateway · Azure API Management · Cloudflare AI Gateway
Model access
Amazon Bedrock · Azure OpenAI · Google Vertex AI · Anthropic API · OpenAI API · open-weight models served with vLLM
Retrieval and search
PostgreSQL with pgvector · OpenSearch · Elasticsearch · Azure AI Search · Qdrant · Weaviate
Evaluation and tracing
Langfuse · Promptfoo · Ragas · MLflow · Arize Phoenix · OpenTelemetry
Guardrails and policy
Open Policy Agent · Microsoft Presidio · Llama Guard · Amazon Bedrock Guardrails · NVIDIA NeMo Guardrails

Business outcomes

What changes for the organization
  • New use cases start from working code

    A new team begins with a template in which model access, logging, tests and safety checks are already set up, so most of its time goes into the part of the work that is specific to its own problem.

  • One answer for security and audit

    Data rules, provider terms and logging are settled once, at the platform level. The review of a new use case can then concentrate on what is different about it, because the questions common to all of them have already been answered.

  • Spend attributed to every team

    Each team can see what its features cost by day and by request, and finance has what it needs to allocate the invoice. A runaway job trips an alert on the day it starts, well before the monthly bill arrives.

  • A model change is a planned exercise

    When a provider retires a model or releases a new one, the switch is made in the gateway and checked against every team's test set, and all of this happens before the change reaches users.

What you hold at the end

  • A model gateway running in your cloud accounts
  • A shared retrieval service with source permissions enforced
  • A shared evaluation service wired into team delivery pipelines
  • Guardrail services with their own tests and versions
  • Cost reports and budgets per team and application
  • Reference architectures and a starter template in your repository
  • A platform scope document, runbooks and an owner's backlog

Questions buyers ask

The right time is after the second or third use case is in real use and before the tenth. With only one use case there is nothing yet to share, and you are likely to guess wrong about what the next team will need. By the time there are ten, every team has commitments to its own stack, so migration turns into a negotiation with each of them. A useful signal is the second occasion on which a team rebuilds something another team already has, or the first time security asks the same questions twice.

In most cases you should assemble one from existing components. The cloud providers and several open-source projects offer good gateways, vector stores, tracing tools and guardrail components, and it is rarely worth writing those yourself. The part you do have to build is the layer that fits them to your organization, which covers identity, permissions on your documents, cost tags that match your structure and templates in your own stack. We make a recommendation for each component based on fit, running cost and whether your team can operate it after we leave.

It will if it is run as an approval gate. We design it as a product whose users are your engineers, which in practice means self-service onboarding, documentation, a starter template and new models being added promptly. If calling the platform is harder than calling a provider directly, teams will go around it, and that is a reasonable choice on their part. For that reason we measure the time from registration to a team's first call, and when the number is high we treat it as a defect in the platform.

AI in production looks after a single live feature, including its cost per request, its security boundary, its monitoring and its model upgrades. This service builds the shared components that many features use, together with the operating model around them. The techniques overlap, since a gateway and cost attribution appear in both, but the customer is different. In AI in production the customer is a product team with one feature, whereas here it is every team that will build with AI over the next few years.

It should have the opposite effect. Applications call the gateway and never a provider directly, so adding or replacing a model is a change made in one place. Complete portability is not realistic, however, because prompts tuned for one model often behave differently on another and features specific to one provider do not carry over. Shared evaluation therefore matters as much as the gateway, since it uses your own test cases to show what a switch would cost in quality before you commit to it.

Discuss enterprise AI platforms and solutions with the people who would do the work.

Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.

How we engage

Start a conversation.

A short paragraph is enough. A principal reads every message and replies within one working day.

Or email hello@farside.works. We use what you send only to reply. Privacy