Science

Advancing the science of local clouds.

A research hub for the questions behind Loopback Cloud — how to emulate multicloud systems faithfully, make them agent-native, and turn a laptop into a rigorous testbed.

These are research directions and working notes, not published papers. Speculative topics are labeled clearly.

Theme areas

What we study

Six interconnected research themes that shape how Loopback Cloud is built and evaluated.

Emulation fidelity

When does in-process emulation suffice, and when must a service spin up real Docker containers? Loopback marks Docker-backed engines with a dot on the Features page — Lambda, RDS, OpenSearch, EKS, Cosmos DB, GKE, and similar workloads where container or database fidelity changes test outcomes.

We study how to measure wire-protocol correctness against production SDKs and CLIs across 117 services without claiming parity we cannot prove. Compatibility tests in the repo exercise both in-process and Docker paths; the research question is whether we can publish a predictable fidelity tier per service — wire shape, behavioral semantics, isolation level — so users know what will match production before they deploy.

Multicloud interconnect

Modeling cross-cloud connectivity with authorize gates, attachment records, and chaos on links — so engineers can test failover and partition behavior without real VPC peering, ExpressRoute, or Cloud Interconnect configuration.

The hub-and-spoke design places AWS at localhost:4566 with Azure and GCP gateways on :4577 and :4588. Cross-cloud calls return 403 until /_loopback/interconnects/authorize activates an attachment; chaos can then sever or slow live links. We ask whether this minimal trust model captures the failure modes multicloud teams actually debug in production.

Agent tooling & MCP

Designing tool surfaces that let AI agents provision, inspect, and stress infra safely over /_loopback/mcp. Eighty-five curated tools — inspect, provision, chaos, clock, cost, snapshots, interconnect, GenAI — return structured JSON instead of CLI stdout.

We study whether curated MCP schemas reduce hallucinated ARNs and failed retries compared to giving agents unrestricted SDK access, and how tool design should evolve as emulator coverage grows across AWS, Azure, and GCP.

Offline GenAI gateways

Unifying Bedrock Converse/InvokeModel, Azure OpenAI chat completions, and Vertex predict/streamGenerateContent behind one offline gateway — deterministic canned responses, Ollama backends, or token-cost simulation wired to the Cost Lab.

Multicloud LLM pipelines must handle provider-specific wire quirks (EventStream on Bedrock, SSE on Azure, publisher paths on Vertex) while staying testable in air-gapped CI. Grok 4.6 on Bedrock and Vertex illustrates real coverage asymmetry — Azure has no official Grok — that agents must navigate.

Cost, chaos & time-travel labs

Control planes that compress months of spend into seconds via /_loopback/costs, inject native-shaped errors through chaos profiles, and advance virtual clocks so TTLs, STS token expiry, and schedules behave deterministically in CI.

A shared virtual clock substrate ties Cost Lab meters to TTL sweepers and schedule firing — fast-forward thirty days and cost accrual, expired credentials, and fired EventBridge rules land in one deterministic step. Snapshots and why-403 diagnostics round out the lab stack for reproducible agent training.

Automated reasoning

Formal methods over emulated cloud state — derive least-privilege IAM from observed SigV4 traffic, check encryption/isolation/interconnect controls on resources, and answer schema-aware queries for agents over MCP and the unified console.

These are research directions and lab proposals, not shipped features. Loopback's replayable, zero-blast-radius sandbox is the enabling substrate: deterministic policy replay, exportable snapshots, and typed resource schemas make local verification possible where production accounts cannot.

Research area

Automated reasoning

Loopback-flavored directions for policy synthesis, config checking, and verified queries over local cloud state. Nothing here is shipped yet — each card is labeled as a research direction or lab.

Related industry work: Automated reasoning at Amazon Science — external research; MapScout, Kani, and Amazon-internal compliance DSL are not Loopback products.

Explore further

Related reading

Different lenses on the same platform — product stories, engineering notes, and full service coverage.

Contribute to the science

Loopback Cloud is open source. Open an issue, propose a design, or run the compatibility test suite against your SDK.