Foundgine

HomeDocumentationArchitecture

Architecture

Foundgine is an application-domain semantic and execution layer for AI-native .NET applications.

The architecture has two complementary halves:

  1. Compile-time knowledge — describe the application’s legal domain vocabulary.
  2. Runtime execution — resolve dynamic intent into safe, executable plans.

Core architecture

             APPLICATION DOMAIN
                     │
                     ▼
            Semantic Domain Model
                     │
          ┌──────────┼──────────┐
          │          │          │
      Entities   Relationships Actions
          │          │          │
          └──────────┼──────────┘
                     ▼
               Foundgine API
                     │
                     ▼
                  Intent
                     │
                     ▼
                Resolution
                     │
                     ▼
             Policy / Authorization
                     │
                     ▼
              Execution Plan
                     │
          ┌──────────┼──────────┐
          ▼          ▼          ▼
      Structured   Domain    External
         data      actions     data
          │          │
          └──────────┼──────────┘
                     ▼
                  Execute
                     │
                     ▼
                 Verify
                     │
                     ▼
                 Evidence

Dependency architecture

The active platform is currently split into:

Foundgine.Abstractions
        ↓
Foundgine.Foundation
        ↓
Foundgine.Metadata
        ↓
Foundgine.Builders
        ↓
Foundgine.Planning
        ↓
Foundgine.Execution.Contracts
        ↓
Foundgine.Providers

These boundaries are implementation boundaries, not a requirement that every future feature must become a new project.

Key rule

The core platform must not depend on:

Those technologies integrate from the outside.

Runtime principle

Runtime should consume explicit semantic and execution structures.

It should not repeatedly rediscover:

Dynamic versus compiled knowledge

Compiled:

What entities exist?
What relationships exist?
What actions are legal?
What policies apply?

Dynamic:

What did the user mean?
Which customer did they mean?
Which transaction is "the last one"?
What execution plan satisfies the intent?

This distinction is central.

Current proof

The Banking sample currently proves only the lower execution half:

Domain
→ Metadata
→ Dynamic Planner
→ QueryPlan
→ ProviderPlan
→ SQL
→ SQLite
→ Result

The semantic/AI layers are the next milestone.

Architecture documents