Skip to content

Commit db0f843

Browse files
committed
move and rename claude-runner
1 parent c58bb98 commit db0f843

File tree

114 files changed

+616
-1459
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+616
-1459
lines changed

CLAUDE.md

Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## Project Overview
66

7-
**vTeam** is a dual-purpose repository containing:
7+
**vTeam** is a comprehensive AI automation platform containing:
88

9-
1. **RAT (Refinement Agent Team) System**: An AI-powered automation system to reduce engineering refinement time and improve ticket quality through intelligent Jira ticket preparation
10-
2. **vTeam Shared Configs**: A Python package providing shared Claude Code configuration for team development standards
9+
1. **RAT (Refinement Agent Team) System**: An AI-powered automation system to reduce engineering refinement time and improve ticket quality
10+
2. **Ambient Agentic Runner**: A Kubernetes-native platform for running automated agentic sessions with AI and MCP capabilities
11+
3. **vTeam Tools**: Supporting tools including shared configurations and MCP client integration
1112

1213
## Architecture
1314

@@ -17,10 +18,16 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
1718
- **Data Models**: Pydantic models for RFE workflow management (7-step council review process)
1819
- **Agent System**: Multi-agent workflow with specialized roles (PM, Architect, Staff Engineer, PO, Team Lead, Team Member, Delivery Owner)
1920

20-
### vTeam Shared Configs (`src/vteam_shared_configs/`)
21-
- **Purpose**: Manages Claude Code configuration across team projects
22-
- **Installation**: CLI tool (`vteam-config`) for setup and maintenance
23-
- **Configuration**: Global settings, project templates, and team hooks via symlinks
21+
### Ambient Agentic Runner (`components/`)
22+
- **Technology Stack**: Kubernetes-native with Go backend, NextJS frontend, Python AI service
23+
- **AI Integration**: Ambient Code AI with MCP server capabilities for browser automation
24+
- **Architecture**: Microservices with Custom Resources, Operators, and Job execution
25+
- **Capabilities**: Generic agentic task execution including website analysis, automation, and data processing
26+
27+
### vTeam Tools (`tools/`)
28+
- **vTeam Shared Configs**: CLI tool (`vteam-config`) for Claude Code configuration management
29+
- **MCP Client Integration**: Python library for Model Context Protocol client integration
30+
- **Installation**: Individual tools with separate setup and maintenance
2431

2532
## Development Commands
2633

@@ -40,21 +47,20 @@ cd demos/rfe-builder
4047
streamlit run app.py
4148
```
4249

43-
### Package Development (vTeam Shared Configs)
50+
### Tool Development (vTeam Tools)
4451
```bash
45-
# Install development dependencies
52+
# vTeam Shared Configs
53+
cd tools/vteam_shared_configs
4654
uv pip install -e ".[dev]"
47-
48-
# Run linting workflow
4955
black .
5056
isort --profile black .
5157
flake8 --max-line-length=88 --extend-ignore=E203,W503 .
52-
53-
# Run tests
5458
python -m pytest
5559

56-
# Run mypy type checking
57-
mypy --ignore-missing-imports src/
60+
# MCP Client Integration
61+
cd tools/mcp_client_integration
62+
uv pip install -e .
63+
python -m pytest tests/
5864
```
5965

6066
### Pre-commit Hooks
@@ -98,17 +104,22 @@ pre-commit run --all-files
98104

99105
```
100106
vTeam/
101-
├── src/vteam_shared_configs/ # Installable package for team configuration
102-
│ ├── cli.py # Command-line interface (vteam-config)
103-
│ └── installer.py # Configuration management logic
107+
├── components/ # Ambient Agentic Runner services
108+
│ ├── frontend/ # NextJS web interface
109+
│ ├── backend/ # Go API service
110+
│ ├── operator/ # Kubernetes operator
111+
│ ├── runners/ # AI runner services
112+
│ │ └── claude-code-runner/ # Python Claude Code CLI service
113+
│ └── manifests/ # Kubernetes deployment files
114+
├── tools/ # Supporting tools and utilities
115+
│ ├── vteam_shared_configs/ # Team configuration package
116+
│ │ ├── cli.py # Command-line interface (vteam-config)
117+
│ │ ├── installer.py # Configuration management logic
118+
│ │ └── pyproject.toml # Package configuration
119+
│ └── mcp_client_integration/ # MCP client library
104120
├── demos/rfe-builder/ # RAT system demonstration
105121
│ ├── app.py # Main Streamlit application
106-
│ ├── components/ # UI components and integrations
107-
│ │ ├── chat_interface.py # Conversational AI interface
108-
│ │ └── jira_integration.py # (Future) Jira API integration
109-
│ └── data/ # Data models and state management
110-
│ └── rfe_models.py # Pydantic models for RFE workflow
111-
├── pyproject.toml # Package configuration
122+
│ └── src/ # Demo source code
112123
└── rhoai-ux-agents-vTeam.md # Complete agent framework documentation
113124
```
114125

Makefile

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
.PHONY: help setup-env build-all build-frontend build-backend build-operator build-runner deploy clean dev-frontend dev-backend lint test registry-login push-all
2+
3+
# Default target
4+
help: ## Show this help message
5+
@echo 'Usage: make [target]'
6+
@echo ''
7+
@echo 'Configuration Variables:'
8+
@echo ' CONTAINER_ENGINE Container engine to use (default: docker, can be set to podman)'
9+
@echo ' PLATFORM Target platform (e.g., linux/amd64, linux/arm64)'
10+
@echo ' BUILD_FLAGS Additional flags to pass to build command'
11+
@echo ' REGISTRY Container registry for push operations'
12+
@echo ''
13+
@echo 'Examples:'
14+
@echo ' make build-all CONTAINER_ENGINE=podman'
15+
@echo ' make build-all PLATFORM=linux/amd64'
16+
@echo ' make build-all BUILD_FLAGS="--no-cache --pull"'
17+
@echo ' make build-all CONTAINER_ENGINE=podman PLATFORM=linux/arm64'
18+
@echo ''
19+
@echo 'Targets:'
20+
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-15s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
21+
22+
# Container engine configuration
23+
CONTAINER_ENGINE ?= docker
24+
PLATFORM ?=
25+
BUILD_FLAGS ?=
26+
27+
28+
# Construct platform flag if PLATFORM is set
29+
ifneq ($(PLATFORM),)
30+
PLATFORM_FLAG := --platform=$(PLATFORM)
31+
else
32+
PLATFORM_FLAG :=
33+
endif
34+
35+
# Docker image tags
36+
FRONTEND_IMAGE ?= frontend:latest
37+
BACKEND_IMAGE ?= backend:latest
38+
OPERATOR_IMAGE ?= operator:latest
39+
RUNNER_IMAGE ?= claude-code-runner:latest
40+
41+
# Docker registry operations (customize REGISTRY as needed)
42+
REGISTRY ?= your-registry.com
43+
44+
# Build all images
45+
build-all: build-frontend build-backend build-operator build-runner ## Build all container images
46+
47+
# Build individual components
48+
build-frontend: ## Build the frontend container image
49+
@echo "Building frontend image with $(CONTAINER_ENGINE)..."
50+
cd frontend && $(CONTAINER_ENGINE) build $(PLATFORM_FLAG) $(BUILD_FLAGS) -t $(FRONTEND_IMAGE) .
51+
52+
build-backend: ## Build the backend API container image
53+
@echo "Building backend image with $(CONTAINER_ENGINE)..."
54+
cd backend && $(CONTAINER_ENGINE) build $(PLATFORM_FLAG) $(BUILD_FLAGS) -t $(BACKEND_IMAGE) .
55+
56+
build-operator: ## Build the operator container image
57+
@echo "Building operator image with $(CONTAINER_ENGINE)..."
58+
cd operator && $(CONTAINER_ENGINE) build $(PLATFORM_FLAG) $(BUILD_FLAGS) -t $(OPERATOR_IMAGE) .
59+
60+
build-runner: ## Build the Claude Code runner container image
61+
@echo "Building Claude Code runner image with $(CONTAINER_ENGINE)..."
62+
cd runners/claude-code-runner && $(CONTAINER_ENGINE) build $(PLATFORM_FLAG) $(BUILD_FLAGS) -t $(RUNNER_IMAGE) .
63+
64+
# Kubernetes deployment
65+
deploy: ## Deploy all components to Kubernetes
66+
@echo "Deploying to Kubernetes..."
67+
cd manifests && ./deploy.sh
68+
69+
# Cleanup
70+
clean: ## Clean up all Kubernetes resources
71+
@echo "Cleaning up Kubernetes resources..."
72+
cd manifests && ./deploy.sh clean
73+
74+
75+
76+
push-all: build-all ## Push all images to registry
77+
$(CONTAINER_ENGINE) tag $(FRONTEND_IMAGE) $(REGISTRY)/$(FRONTEND_IMAGE)
78+
$(CONTAINER_ENGINE) tag $(BACKEND_IMAGE) $(REGISTRY)/$(BACKEND_IMAGE)
79+
$(CONTAINER_ENGINE) tag $(OPERATOR_IMAGE) $(REGISTRY)/$(OPERATOR_IMAGE)
80+
$(CONTAINER_ENGINE) tag $(RUNNER_IMAGE) $(REGISTRY)/$(RUNNER_IMAGE)
81+
$(CONTAINER_ENGINE) push $(REGISTRY)/$(FRONTEND_IMAGE)
82+
$(CONTAINER_ENGINE) push $(REGISTRY)/$(BACKEND_IMAGE)
83+
$(CONTAINER_ENGINE) push $(REGISTRY)/$(OPERATOR_IMAGE)
84+
$(CONTAINER_ENGINE) push $(REGISTRY)/$(RUNNER_IMAGE)

0 commit comments

Comments
 (0)