Skip to main content

AI Workflow Platform on Snowpark Container Services

A company wanted its AI agent-building platform to run inside Snowflake, so data, models and the app all stay in one governed place.

6services on SPCS
3platform blockers fixed
End to endon Cortex
HOW THE PIECES CONNECT

How an AI agent-building platform was deployed as six Snowpark Container Services with Snowflake Postgres and Cortex, fully inside Snowflake.

  1. 01

    Six container services

  2. 02

    Snowflake Postgres

  3. 03

    Cortex models

  4. 04

    Agent runs end to end

Conceptual workflow for this use case. Not a screenshot or a claim about measured results.

Data & Automation Platforms

Enterprise AI Platforms

The full story

We deployed the full application on Snowpark Container Services as six services: web front end, auth API, workflow engine, MCP API, background worker and message queue. Snowflake Postgres is the application database, and Cortex is the LLM provider.

To make it work inside Snowflake we fixed three problems: separating internal and public networking, running the database setup automatically when the app starts, and handling model name differences between providers.

An agent now runs end to end on Cortex, entirely inside Snowflake.

The platform was built for ordinary cloud hosting, not for running inside Snowflake.

01

Internal and public networking had to be separated for the services.

02

The database setup did not run on its own when the app started.

03

Model names differed between providers.

How we structured the engagement

Run every part of the app inside Snowflake, then fix what assumed it was elsewhere.

  1. Phase 01

    Services

    Deployed six services on Snowpark Container Services: web front end, auth API, workflow engine, MCP API, background worker and message queue.

  2. Phase 02

    Data and models

    Used Snowflake Postgres as the application database and Cortex as the LLM provider.

  3. Phase 03

    Platform fixes

    Separated internal and public networking, ran database setup automatically at start-up and resolved model name differences between providers.

  4. Phase 04

    End-to-end run

    Confirmed an agent runs end to end on Cortex, entirely inside Snowflake.

What we built, component by component

  1. 01

    Web front end

    User interface for building agents.

  2. 02

    Auth API

    Authentication for the platform.

  3. 03

    Workflow engine

    Runs agent workflows.

  4. 04

    MCP API

    Model Context Protocol interface for tools.

  5. 05

    Background worker and message queue

    Asynchronous jobs.

  6. 06

    Snowflake Postgres and Cortex

    Application database and LLM provider.

Users work in the web front end, authenticated by the auth API. The workflow engine runs agents, calling Cortex for model responses and the MCP API for tools, with background jobs on the worker and message queue. Application state lives in Snowflake Postgres, and only the front end is exposed on the public network.

Web front end
Auth API
Workflow engine
MCP API
Background worker and message queue

The trade-offs we made and why

Decision 01Lead trade-off

Cortex as the LLM provider

Using Cortex keeps model calls inside Snowflake, next to the data, which is why the company moved the platform there.

Decision 02

Separate internal and public networking

Keeping service-to-service traffic internal and exposing only what users need was required to run the platform safely inside Snowflake.

What changed for the client

6

services on SPCS

Web front end, auth API, workflow engine, MCP API, background worker and message queue.

3

platform blockers fixed

Networking separation, automatic database setup and model name differences.

End to end

on Cortex

An agent runs end to end on Cortex, entirely inside Snowflake.

The tools behind the system

Built with a deliberate stack chosen for production reliability and operational velocity.

5 componentsProduction-grade
Snowpark Container ServicesSnowflake PostgresSnowflake CortexMCPDocker

Similar delivery work usually starts in these service areas

If you are exploring a similar product, workflow, or implementation challenge, these are the service tracks that usually fit best.

Where this project sits in the bigger market picture

This project reflects a broader pattern we often see when teams use AI to improve operational speed, insight quality, and product capability.

Talk to the team that built this.

Tell us where your project stands. In a free 30-minute consultation we map what carries over from this build, what is different for you, and what a first milestone would cost.

FREE 30-MINUTE CONSULTATION

Bring the problem.
Leave with a plan.

A reply within one business day.
A written plan and a fixed quote.
100% of the code and IP is yours.
If AI is the wrong tool, we will say so.

Book your free consultation