All posts

Can internal GCP agents and systems connect to a SaaS-hosted OpenController?

Can agents and systems on an internal GCP environment connect to a SaaS-hosted control plane?

Nirupam4 min read
Can internal GCP agents and systems connect to a SaaS-hosted OpenController?

Got a use case in mind?

8 weeks from use case to agents running in production.

Platform, people and FDEs, all in. Bring your environment. We'll co-build and stay until it's live.

Talk to Us

Free resource

101 AI Agents Use Cases

100+ production-ready AI agent use cases across Marketing, Sales, HR, Banking, Insurance, Operations and a lot more

Download now

Connecting your private cloud infrastructure to a SaaS governance layer can feel like a network security puzzle.

Yes, agents and systems inside an internal GCP environment can connect to a SaaS-hosted control plane.

The connection is outbound-only, initiated securely from your agent via a lightweight SDK.

No inbound firewall rules or network peering are required.

This architecture is by design.

OpenController by Lyzr, the governance layer for production AI agents, is built to receive telemetry and await approval requests from your agents.

It never initiates connections into your environment. A control plane is the neutral layer that governs everything beneath it; for AI agents, OpenController is that layer.

How the connection actually works

Your agent, running on a VM or in GKE within your GCP project, includes the Lyzr SDK.

A sequence shows the agent's Lyzr SDK opening an outbound TLS connection to the OpenController API endpoint, authenticating with an API key, and sending metadata, traces and logs.

This SDK acts as the client.

It initiates a secure, outbound HTTPS (TLS) connection to the OpenController API endpoint.

Authentication is handled via API keys managed within your Lyzr workspace.

The SDK then sends metadata, traces, and logs to the control plane, giving you a single place to observe and govern all agent activity.

The agent's workload data, the actual sensitive content it processes, does not need to be sent.

What data actually leaves your environment?

This is the most important question for any security or compliance team.

A ledger lists the execution metadata the Lyzr SDK sends by default and shows that payload data is either sanitized or kept inside the GCP environment.

The control plane is designed for governance, not data processing.

By default, the Lyzr SDK sends only the metadata about the agent's execution.

This includes:

  • Trace IDs and span IDs to reconstruct the call graph.
  • Tool names being called (e.g., lookup_customer_by_id).
  • Agent status (success, failure, error codes).
  • Performance metrics like latency and token counts.

You have explicit control over payload logging.

You can choose to send sanitized inputs and outputs for debugging, or you can keep all payload data entirely within your GCP environment. This separation is critical for maintaining a strict compliance posture for regulations like HIPAA or GDPR.

Your agent and data stay in your VPC

Let's be clear: Lyzr's SaaS control plane governs. It does not run your agent.

A split diagram shows the agent and its private data sources in the customer's VPC on one side and OpenController's governance-only control plane on the other.

Your agent code, logic, and models execute entirely within your GCP infrastructure.

Your agent connects to your private data sources, like Cloud SQL, BigQuery, or internal APIs, all within your VPC.

The control plane simply provides the orchestration, observability, and guardrails. It is how you see one end-to-end trace when an agent calls multiple sub-agents.

This architecture cleanly separates the control plane (governance) from the data plane (your agent and its data).

Frequently asked questions

Do I need to open firewall ports for inbound traffic?

No. The connection is always outbound from your agent to OpenController. You only need to allow standard egress HTTPS (port 443) traffic to the Lyzr API endpoint.

Is this different from a VPC-peered or private link solution?

Yes. This standard SaaS model is simpler and avoids complex network configuration.

For specific enterprise requirements, dedicated deployment models are possible, but the default is a secure outbound connection that works out of the box.

How are credentials managed?

API keys are generated in your Lyzr workspace. We recommend using a service like GCP Secret Manager to securely store and provide these keys to your agents at runtime, following infrastructure best practices.

The takeaway

Connecting agents from a private GCP environment to a SaaS control plane is a standard, secure pattern.

The key is that your agent initiates the connection, and you control exactly what data is sent for governance.

This gives you central control without compromising your network perimeter or data residency.

Ready to see how it works with your stack? Let's talk.

Want to see how it fits your stack? Talk to us about OpenController by Lyzr.

Got a use case in mind?

8 weeks from use case to agents running in production.

Platform, people and FDEs, all in. Bring your environment. We'll co-build and stay until it's live.

Talk to Us

Free resource

101 AI Agents Use Cases

100+ production-ready AI agent use cases across Marketing, Sales, HR, Banking, Insurance, Operations and a lot more

Download now

Continue reading

You might also like

Build with Lyzr

Try it in Agent Studio

From framework-agnostic design to production-grade agents, deployed in under 24 hours.