v3.4.2 · .NET 10 & Java 27

The same rules. Applied every time.

Whether a request comes from an app, an API, GraphQL, a workflow or an AI assistant, Foundgine applies the same meaning, validation and permissions before anything happens. It is a toolkit for .NET and Java developers, and it scales out and replicates without compromising permissions.

Define once. Check every request. Keep your stack.

Your customer system (CRM), business system (ERP), app connections (APIs), databases and AI assistants should not each have their own copy of what things mean, what is valid and who is allowed to do what. Foundgine is one shared checkpoint, which you set up, between the things your application can do and everything that asks it to do them.

Say what things mean once.

Describe your business things (customers, orders), their details, how they connect and what can be done with them. That single description is the source for everything else.

One definition, the same result everywhere.

Your apps, APIs, GraphQL, workflows and AI tools all read that one description. None of them keeps its own copy of what is valid or who is allowed to do what, so they cannot drift apart.

Every request goes through the same checks, whichever door it uses.

App code, HTTP, GraphQL, MCP, agent tools and workflow steps all call the same engine. There is no shortcut for internal tools or AI agents, and nothing runs until the request has been checked.

An AI asking is never the same as an AI being allowed.

Your application still decides who someone is and what they may do. AI assistants (through MCP) face exactly the same rules as every other client.

Keep what you already have.

Keep your apps, databases, data tools (EF Core or JPA), sign-in system and workflow tools. Foundgine connects to a specific database or tool only at the final step, so you can start small and add more over time.

Plug in your clients. The rules do not change.

MCP, GraphQL, HTTP, Temporal workflows and SDKs for TypeScript, Python and WebAssembly all reach the same checkpoint, so a client has nothing to re-implement. Another technology connects through a small adapter.

Is it worth it for your business? Measure it. Try Foundgine on one small but realistic project. Compare before and after: work done more than once, effort needed to make changes, how well security is tested, and running costs. Foundgine does not promise a set percentage of savings for everyone.

Every claim above, with its proof · Business and architecture case · Commercial strategy and measurement model

Model your business once. Grow without rewriting it.

Set up your business things (called entities) and how they connect. That becomes the lasting foundation you build on.

Customer → Order → Product → Supplier also called “Vendor” or “Seller”

Connections work for you.

Once relationships and their links are set up, requests can follow them from one business thing to another, without new code for each route. Permissions still apply. Supported kinds of requests depend on the data connector.

It speaks business, not database.

Foundgine is domain-driven: you describe business ideas with business names and aliases (other names for the same thing). Table and column names are storage details, kept in separate settings. You don’t have to design around your database tables.

The foundation stays. You add to it.

Add policies and permissions, or another way to connect (such as GraphQL or MCP), without rewriting your business logic. A new kind of connection needs an adapter, a small bridge to Foundgine.

Not tied to one kind of storage.

Use the included options, such as SQL, EF Core or JPA/Hibernate. For other storage, such as a document database or an internal service, developers can build a connector (called a provider). Your business ideas stay the same.

When your business itself changes, such as a new entity or rule, you update that part. The foundation does not need to be rebuilt.

The problem: one rule, copied many times.

Say your company has a simple rule: “Sam can approve payments up to $10,000.” Now the limit drops to $5,000.

Without a shared checkpoint

  • Website$5,000 (updated)
  • Mobile app$5,000 (updated)
  • AI assistant$10,000 (forgotten!)

Each one has its own copy of the rule. Miss one, and the AI assistant can still approve $8,000 for Sam.

With Foundgine

  • Websiteasks the checkpoint
  • Mobile appasks the checkpoint
  • AI assistantasks the checkpoint

All three use the same rule: $5,000. Change it in one place, and Sam’s $8,000 payment is refused through all of them.

A made-up example. It works when each of these sends its requests through Foundgine and the rule is kept in that shared path. Anything that goes around Foundgine is not checked by it.

How Foundgine solves it: five steps.

A request can come from a person using your app, another system or an AI assistant. Through Foundgine, each one follows the same path.

  1. AskSomeone says what they want. They don’t need to know how your database works.
  2. UnderstandFoundgine matches the request to things you have described. If two matches are equally likely, it asks which one instead of guessing.
  3. CheckYour application’s rules say yes or no. If the answer is no, it stops here.
  4. PlanIf allowed, Foundgine works out the steps needed for the request.
  5. DoYour existing tools carry out the plan, and there is a record to check.

Scale out with KEDA. Your business logic does not change.

Foundgine is built so you can run many identical copies (replicas) of your application. Add copies when traffic rises and remove them when it falls. Every copy applies the same meaning, validation and permissions, so scaling is a deployment decision, not a rewrite.

Every replica behaves the same.

Your business description is frozen when the application starts and is never changed afterwards, so each copy reads the same definition. The permission checks keep no per-user memory inside the process.

Shared checks stay shared.

One-time-use approvals (warrants), instant revocation and MCP sessions can be kept in a shared store (Redis, Valkey or Garnet, anchored in PostgreSQL), so a request is checked the same way whichever copy receives it. If that shared state cannot be confirmed, the check fails closed.

Background work is safe to multiply.

Outbox workers claim work with row locking (FOR UPDATE SKIP LOCKED) and use idempotency keys, so adding workers does not double-process an event. Workflows run on Temporal, which you scale separately.

KEDA decides how many copies.

KEDA is a Kubernetes event-driven autoscaler. Point it at the signal that matters to you, such as request rate, CPU, or outbox backlog, and it adds or removes replicas of your Foundgine-based service.

Example: scale an API on request rate and an outbox worker on backlog (for developers)
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: orders-api
spec:
  scaleTargetRef:
    name: orders-api            # your Deployment that hosts Foundgine
  minReplicaCount: 2            # keep at least two for availability
  maxReplicaCount: 20
  cooldownPeriod: 300
  triggers:
    - type: prometheus
      metadata:
        serverAddress: http://prometheus.monitoring:9090
        query: sum(rate(http_server_requests_total{app="orders-api"}[1m]))
        threshold: "100"        # target requests per second, per replica
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: outbox-worker
spec:
  scaleTargetRef:
    name: outbox-worker
  minReplicaCount: 1
  maxReplicaCount: 10
  triggers:
    - type: postgresql
      metadata:
        connectionFromEnv: PG_CONN
        query: "SELECT count(*) FROM foundgine_outbox WHERE published_at IS NULL"
        targetQueryValue: "500"

The manifests above are a starting point, not a benchmarked result. Metric names, thresholds and the outbox column are examples: adjust them to your cluster and schema. Foundgine does not publish a throughput figure for autoscaled deployments; measure your own workload, as the scalability run shows that speed depends on the workload. Shared state (Redis, PostgreSQL, Temporal) must be sized for the replica count you allow.

See it work.

Pick an example, then click each step.

Follow one request (made-up example)

Show technical data (for developers)
Click a step to learn more.

AI can ask. It can’t give itself permission.

AI assistants (often called “agents”) can use your application through Foundgine without being handed control of your database. Using AI is optional.

What the AI can do

  • See the actions your application makes available.
  • Ask for something in a clear, structured form.
  • Be asked to choose when a request has two equally good matches.

What your application controls

  • Who the user is and which organisation they belong to.
  • What is allowed, checked again for every action.
  • How the work is planned, checked and carried out.

Works with tools you may already use.

Add only the connections you need.

.NET

For apps built with .NET, installed as NuGet packages.

Java

For Java apps, with Spring Boot and LangChain4j connections.

EF Core

Keep using your .NET data setup.

JPA / Hibernate

Keep using your Java data setup.

MCP

A common way for AI assistants to use your app’s actions.

GraphQL

Lets apps ask for exactly the data they need.

Temporal

For long, multi-step jobs that need retries, approvals or undo steps.

Keycloak

A sign-in system that helps confirm who someone is.

Check the test results.

We publish tests of whether requests give correct results, how long they take and whether forbidden actions are refused. Each result applies only to the setup that was tested.

About speed: Foundgine is not always faster. In an early C# supply chain test, a plain Hot Chocolate + EF Core setup handled more requests where both gave valid results. That test is not strong enough to count as an official speed claim.

For developers: the full technical overview

Architecture and developer reference for v3.4.2, covering .NET 10 and Java 27 on one searchable page.

Open the technical overview →

Developer guides: read only what you need.

Each page is short and links to more detail.

Technical overview by topic

Open a group and jump straight to a section.

Start here 6
Modeling & queries 13
Mutations & workflows 7
Grounding & retrieval 3
Security & identity 12
Providers & integrations 10
AI agents, MCP & SDKs 6
Operations & scale 19
Testing, evidence & release 11
Reference 16
People and AI say what they want. Your application decides what is allowed. Foundgine carries out only what passes the check.