Monkeys

Monkeys Architecture

Logical architecture of the current Monkeys ecosystem

Architecture Overview

Monkeys is now organized as a multi-repository ecosystem. The monkeys repository is the documentation and infrastructure entrypoint. Product source code lives in the owning service repositories.

Core Product

The core product is the minimum useful Monkeys platform.

ModuleRepositoryResponsibility
Studio frontendmonkeys-studioMain user-facing workspace for workflows, agents, tools, assets, design, data, evaluations, and settings.
Kernel frontendmonkeys-kernelPlatform and kernel management frontend.
Compute frontendmonkeys-computeCompute control-plane frontend.
Main backendmonkeys-serverCore API, workflow entrypoint, auth, marketplace, assets, tools, model configuration, and service bus.

Capability Services

Capability services are deployed only when the feature area is needed.

CapabilityRepositoriesRelationship
Agent runtimemonkeys-agent-server, monkeys-mcp-server, monkey-tools-agentkitsAgent threads, messages, model providers, tool calls, HITL approval, MCP access, and reusable agent tools.
Billing and meteringmonkeys-billing-serverTool pricing, team balance, usage records, and payment integration.
Data workflowsmonkeys-data-server, monkeys-conductor-workerData resource APIs, tag/view search, indexing, and workflow task execution.
Webhooksmonkeys-webhook-serverAlert, recovery, daily report, weekly insight, and channel notification delivery.
Third-party toolsmonkey-tools-third-party-api, monkey-tools-third-party-api-python, monkey-tools-sandbox, monkey-tools-agentkitsExternal API adapters, Python tools, code execution, and agent toolkits.
Image and ComfyUI flowsmonkeys-comfyui-workerComfyUI queue and image generation execution.
Training flowsmonkeys-training-workerModel training and model-test background tasks.

Infrastructure

The local infrastructure stack in monkeys includes:

InfrastructureLocal endpointUsed by
PostgreSQLlocalhost:5432Main backend, agent, billing, data, webhook, Conductor, workers.
Redislocalhost:6379Cache, queues, background dispatch, workers.
Elasticsearchhttp://localhost:9200Conductor indexing and data search acceleration.
Conductor APIhttp://localhost:8080/apiWorkflow orchestration and task dispatch.
Conductor UIhttp://localhost:5008Local workflow debugging.
MinIOhttp://localhost:9000Local object storage for files and assets.
Prometheushttp://localhost:9090Metrics collection.
Grafanahttp://localhost:3003Dashboards.

Deployment Shape

Local service compose starts the core product by default:

  • monkeys-server
  • monkeys-studio
  • monkeys-kernel
  • monkeys-compute

Optional profiles add feature areas: agent, billing, data, webhook, mcp, worker, training, comfyui, tools, and sandbox.

Ownership Rules

  • monkeys owns ecosystem documentation, local infrastructure compose, services compose, and agent bootstrap guidance.
  • Each application or service repository owns its own source code, Dockerfile, config examples, tests, and build commands.
  • Runtime configuration such as config.yaml should stay local and untracked.
  • Feature work should be tested in the owning repository before being published.

On this page