SELF-HOSTING FIELD GUIDE · SOURCE-CHECKED 2026-07-10

Self-hosting MonkeyCode is an infrastructure decision—not an install command.

The software can run inside a private network. The real work is defining environment isolation, model routes, credentials, observability, upgrades, and ownership.

Published starting floor

Two infrastructure roles, sized separately.

The project distinguishes the management console from the hosts that run development environments. Treat these numbers as minimums for evaluation, not a production capacity promise.

01

MonkeyCode console

CPU
2 cores
Memory
4 GB
Storage
40 GB
02

Development environment host

CPU
8 cores
Memory
16 GB
Storage
100 GB

Published by the upstream project; checked 2026-07-10. Add headroom for concurrency, builds, image caches, repositories, logs, and retained artifacts.

Trust-boundary map

“Inside the network” still has exits.

Map each arrow before installation. This is where most privacy assumptions become testable architecture questions.

YOUR CONTROLLED NETWORK
CONTROL PLANEUsers · projects · requirements · task state · model configuration
ENVIRONMENT HOSTSRepositories · builds · tests · previews · generated artifacts
MODEL ROUTEExternal API, private gateway, or local model
CODE HOSTGit provider, webhooks, and scoped credentials
SUPPLY CHAINPackages, images, updates, and installers

Readiness checklist

Eight decisions before the first production task.

If an owner cannot answer these questions, the deployment is still an experiment—and should be treated like one.

01

Workload isolation

How are filesystems, processes, CPU, memory, storage, and network access separated per task?

02

Model data route

Which code and prompts leave the network, to which provider, under what retention terms?

03

Repository access

What can each token read, write, branch, review, and trigger—and how is it rotated?

04

Approved images

Who owns runtimes, certificates, package mirrors, patches, signing, and vulnerability scans?

05

Observability

Which platform and task signals are logged, who can read them, and could they contain code or secrets?

06

Retention

When are environments, repositories, logs, prompts, artifacts, and backups removed?

07

Upgrade and rollback

How will new releases be staged, tested, backed up, and reversed without losing task state?

08

License review

How does AGPL-3.0 apply to intended use, modifications, and network access?

Capacity model

Size for concurrent work, not registered users.

A single heavy build can matter more than dozens of idle accounts. Measure the resource profile of representative tasks before setting concurrency.

PLANNING MODEL
Active task environments×Peak task footprint+Platform overhead+Failure headroom

Track environment startup time, CPU and memory peaks, disk growth, image pulls, repository size, build duration, artifact retention, and cleanup success.

Safe rollout

Deploy small enough to learn.

The first objective is not scale. It is discovering the operational and security assumptions that public documentation cannot answer for your environment.

  1. GATE 1
    Non-production network

    Use a limited repository set, narrow tokens, approved models, and low concurrency.

  2. GATE 2
    Representative tasks

    Run builds and tests that exercise real dependencies, internal services, and preview behavior.

  3. GATE 3
    Failure drills

    Expire a token, stop a host, fill a disk, interrupt a model request, and test cleanup.

  4. GATE 4
    Restore and upgrade

    Prove backup restoration and one staged version change before inviting a wider team.

Self-hosting answers

The short version.

Can MonkeyCode be deployed inside a private network?
Yes. The upstream project documents private, offline deployment for organizations that need local control of code and project data.
What are the published minimum requirements?
The upstream README recommends at least 2 CPU cores, 4 GB memory, and 40 GB storage for the MonkeyCode console, plus 8 CPU cores, 16 GB memory, and 100 GB storage for a development environment host.
Does self-hosted MonkeyCode require external AI APIs?
That depends on the model route you configure. Self-hosting the platform does not by itself guarantee that prompts or code never reach an external model provider.
Is the published minimum enough for production?
It is a starting floor, not a production sizing guarantee. Repository size, concurrent tasks, builds, image caches, artifact retention, and model traffic affect capacity.
PRIMARY DOCUMENTATION

Use this guide to plan. Use upstream docs to install.