Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:A5c ai Babysitter install agents

From Leeroopedia
Knowledge Sources
Domains Kubernetes, Agent_Installation
Last Updated 2026-10-23 00:00 GMT

Overview

Concrete tool for building agent installation plans and installing agent stacks into a Kradle environment.

Description

Two functions handle agent installation:

  • buildAgentInstallPlan(config) — Computes an AgentInstallPlan from the CloudConfig agents section, listing per-target adapter and plugin install commands. Dry-run mode.
  • installAgents(config, options) — Executes the install commands in the specified working directory. Returns AgentInstallResult with per-target install status.

Usage

  • Kradle deployment Step 7: Install agent stacks and adapters after provider configuration.

Code Reference

Source Location

  • Repository: Babysitter
  • File: packages/kradle/installer/src/cli.ts:L316-334 (handleAgents)

Signature

function buildAgentInstallPlan(config: CloudConfig): AgentInstallPlan;

async function installAgents(
  config: CloudConfig,
  options: { cwd: string; execute: boolean }
): Promise<AgentInstallResult>;

// CLI
kradle cloud agents --config <config> [--execute]

Import

import { buildAgentInstallPlan, installAgents } from "@a5c-ai/kradle/installer";

I/O Contract

Inputs

Name Type Required Description
config CloudConfig Yes Cloud config with agents section
options.cwd string Yes (install) Working directory
options.execute boolean Yes (install) Execute install commands

Outputs

Name Type Description
AgentInstallPlan object Planned per-target adapter and plugin installs (dry-run)
AgentInstallResult object Per-target install status (execute)

Usage Examples

Dry Run Agent Install Plan

# See planned agent installs
kradle cloud agents --config cloud-config.json

Execute Agent Installation

# Install agent stacks
kradle cloud agents --config cloud-config.json --execute

Related Pages

Implements Principle

Requires Environment

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment