AI-Native Coach Platform

Documentation for the AI-Native executive coaching platform


Project maintained by jazzmind Hosted on GitHub Pages — Theme by mattgraham

Admin Console

Overview

The admin console (/admin) provides a UI for managing deployment targets, deploying advisors, and connecting MCP servers. Configuration is per-user – each authenticated user manages their own deployment targets and API keys.

Setup Wizard

Access at /admin/setup. A 4-step flow:

Step 1: Choose Target Type

Step 2: Enter Credentials

Step 3: Validate

Credentials are tested against the target API:

Step 4: Deploy

All 8 agents (7 advisors + QA Judge) are deployed to the target. The wizard shows progress and reports success/failure.

Target Detail Page

Access at /admin/targets/[id]. Shows:

Status Summary

MCP Server Connections

Manage OAuth connections for MCP servers:

Connection status is tracked per target so you can have different MCP configurations for different deployment targets.

Deployed Agents

List of all agents with:

Actions

Config Store

The admin console stores configuration in SQLite with encrypted credentials:

Tables

config – key-value settings store (per-user)

deploy_targets – deployment target configurations (per-user)

mcp_connections – MCP server auth state per target

Deployment Adapters

The adapter pattern (lib/deploy/adapter.ts) defines a common interface:

interface DeployAdapter {
  validate(config): Promise<{ valid, error? }>
  deploy(coaches, config): Promise<DeployResult>
  status(config, agentState): Promise<TargetStatus>
  teardown(config, agentState): Promise<{ success, error? }>
}

CMA Adapter

Ports the logic from deploy.py to TypeScript:

  1. Creates/reuses an environment
  2. Deploys base agents (QA Judge) first
  3. Deploys dependent agents with callable_agents references
  4. Prepends date/time preamble to system prompts

Busibox Adapter

Pushes INSTRUCTIONS.md content to the Busibox Agent API:

  1. Validates connection via /api/health
  2. POSTs each advisor to /api/agents
  3. Checks status via GET /api/agents