MCPcopy Index your code
hub / github.com/e2b-dev/infra

github.com/e2b-dev/infra @docker-reverse-proxy-v0.2.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release docker-reverse-proxy-v0.2.2 ↗ · + Follow
15,978 symbols 54,498 edges 1,441 files 6,501 documented · 41%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

E2B Infra Preview Light E2B Infra Preview Dark

E2B Infrastructure

E2B is an open-source infrastructure for AI code interpreting. In our main repository e2b-dev/e2b we are giving you SDKs and CLI to customize and manage environments and run your AI agents in the cloud.

This repository contains the infrastructure that powers the E2B platform.

Contributing

See CONTRIBUTING.md for ways you can contribute to E2B Infrastructure.

Self-hosting

Read the self-hosting guide to learn how to set up the infrastructure on your own. The infrastructure is deployed using Terraform.

Supported cloud providers: - 🟢 GCP - 🟢 AWS (Beta) - [ ] Azure - [ ] General linux machine

Extension points exported contracts — how you extend this code

IdentityLookup (Interface)
IdentityLookup resolves the internal user UUID for an OIDC identity (issuer + subject). Implementations should return Er [6 …
packages/auth/pkg/auth/oidc/oidc.go
FilesystemClient (Interface)
FilesystemClient is a client for the filesystem.Filesystem service. [7 implementers]
packages/envd/internal/services/spec/filesystem/filesystemconnect/filesystem.connect.go
Resource (Interface)
Resource represents a component that can be gracefully closed. [121 implementers]
packages/shared/pkg/utils/switching/switching.go
SnapshotCacheInvalidator (Interface)
SnapshotCacheInvalidator invalidates cached snapshot entries. [7 implementers]
packages/api/internal/orchestrator/orchestrator.go
PageReader (Interface)
PageReader is the data source UFFD pulls page contents from on a fault. [28 implementers]
packages/orchestrator/pkg/sandbox/uffd/userfaultfd/userfaultfd.go
DBTX (Interface)
DBTX is the interface that sqlc expects for database operations. [4 implementers]
packages/db/pkg/types/db.go
Closeable (Interface)
(no doc) [121 implementers]
packages/client-proxy/main.go
DeleteUserHandle (Interface)
DeleteUserHandle holds pre-fetched state needed to finalise user deletion after the database rows have been removed. [1 …
packages/dashboard-api/internal/userprofile/provider.go

Core symbols most depended-on inside this repo

Equal
called by 2425
packages/shared/pkg/storage/header/inspect.go
Get
called by 1288
packages/api/internal/sandbox/sandboxtypes/storage.go
Join
called by 675
packages/orchestrator/pkg/chrooted/fs.go
Add
called by 542
packages/api/internal/sandbox/sandboxtypes/storage.go
Pointer
called by 500
packages/shared/pkg/fc/models/cpu_template.go
String
called by 499
packages/api/internal/sandbox/sandboxtypes/states.go
Set
called by 490
packages/shared/pkg/cache/redis.go
String
called by 478
packages/shared/pkg/storage/metrics.go

Shape

Method 8,980
Function 4,409
Struct 2,198
Interface 169
TypeAlias 162
FuncType 60

Languages

Go100%
TypeScript1%

Modules by API surface

packages/api/internal/api/api.gen.go959 symbols
tests/integration/internal/api/generated.go833 symbols
packages/shared/pkg/grpc/envd/process/process.pb.go280 symbols
packages/envd/internal/services/spec/process/process.pb.go280 symbols
packages/shared/pkg/grpc/orchestrator/volume.pb.go272 symbols
packages/envd/internal/services/legacy/legacyprocess.pb.go266 symbols
packages/shared/pkg/grpc/orchestrator/orchestrator.pb.go217 symbols
packages/shared/pkg/grpc/template-manager/template-manager.pb.go201 symbols
packages/shared/pkg/grpc/envd/filesystem/filesystem.pb.go199 symbols
packages/envd/internal/services/spec/filesystem/filesystem.pb.go199 symbols
packages/envd/internal/services/legacy/legacyfilesystem.pb.go186 symbols
tests/integration/internal/envd/generated.go160 symbols

Datastores touched

postgresDatabase · 1 repos

For agents

$ claude mcp add infra \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact