Skip to content

Commit 5a720b1

Browse files
authored
chore: rename codebase to agent-prompttrain (#132)
* rename codebase * Fix tests * Replace PromptTrain to Prompt Train * Replace PromptTrain to Prompt Train * Minor renaming * More renaming * Fix mentions to repo url * Normalize to "Prompt Train" for docs and titles * Fix tests
1 parent dcb1b16 commit 5a720b1

File tree

170 files changed

+487
-457
lines changed

Some content is hidden

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

170 files changed

+487
-457
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Claude Nexus Proxy Configuration Example
1+
# Agent Prompt Train Configuration Example
22
# Copy this file to .env and update with your values
33

44
# ===================
@@ -69,7 +69,7 @@ SLOW_QUERY_THRESHOLD_MS=5000
6969
# Slack webhook for notifications
7070
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
7171
SLACK_CHANNEL=#alerts
72-
SLACK_USERNAME="Claude Nexus Proxy"
72+
SLACK_USERNAME="PromptTrain"
7373
SLACK_ICON_EMOJI=:robot_face:
7474
SLACK_ENABLED=false
7575

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ To ensure consistency, all contributions should adhere to the following key styl
159159

160160
## Project Description
161161

162-
Claude Nexus Proxy - High-performance proxy for Claude API with real-time monitoring dashboard. Built with Bun and Hono framework.
162+
Agent Prompt Train - High-performance proxy for Claude API with real-time monitoring dashboard. Built with Bun and Hono framework.
163163

164164
### Repository Structure
165165

166166
```
167-
claude-nexus/
167+
agent-prompttrain/
168168
├── packages/shared/ # Shared types and utilities
169169
├── services/
170170
│ ├── proxy/ # API proxy service (Port 3000)

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Claude Nexus Proxy
1+
# Contributing to Agent Prompt Train
22

33
Thank you for your interest in contributing! This guide will help you get started.
44

@@ -9,7 +9,7 @@ Please be respectful and constructive in all interactions. We aim to maintain a
99
## Getting Started
1010

1111
1. Fork the repository
12-
2. Clone your fork: `git clone https://github.com/yourusername/claude-nexus.git`
12+
2. Clone your fork: `git clone https://github.com/yourusername/agent-prompttrain.git`
1313
3. Create a feature branch: `git checkout -b feature/your-feature-name`
1414
4. Make your changes
1515
5. Submit a pull request
@@ -241,4 +241,4 @@ Contributors will be:
241241
- Check existing issues and discussions first
242242
- Join our community chat [if applicable]
243243

244-
Thank you for contributing to Claude Nexus Proxy!
244+
Thank you for contributing to Agent Prompt Train!

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display: inline-block; vertical-align: middle; margin-right: 8px;"><circle cx="12" cy="12" r="3"/><circle cx="12" cy="4" r="2"/><circle cx="20" cy="12" r="2"/><circle cx="12" cy="20" r="2"/><circle cx="4" cy="12" r="2"/><path d="M12 9 L12 7"/><path d="M15 12 L18 12"/><path d="M12 15 L12 18"/><path d="M9 12 L6 12"/></svg>Claude Nexus
1+
# <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display: inline-block; vertical-align: middle; margin-right: 8px;"><circle cx="12" cy="12" r="3"/><circle cx="12" cy="4" r="2"/><circle cx="20" cy="12" r="2"/><circle cx="12" cy="20" r="2"/><circle cx="4" cy="12" r="2"/><path d="M12 9 L12 7"/><path d="M15 12 L18 12"/><path d="M12 15 L12 18"/><path d="M9 12 L6 12"/></svg>Agent Prompt Train
22

3-
Claude Nexus is a Claude Code management server for teams that includes comprehensive monitoring, conversation tracking, and dashboard visualizations. Claude Nexus allows you to understand, manage, and improve your team's Claude Code usage.
3+
Agent Prompt Train is a Claude Code management server for teams that includes comprehensive monitoring, conversation tracking, and dashboard visualizations. Agent Prompt Train allows you to understand, manage, and improve your team's Claude Code usage.
44
(_Supports Claude Max plan_)
55

66
### 📖 Quick Navigation
77

8-
- [**Getting Started**](#quick-start) - Set up Claude Nexus in seconds
8+
- [**Getting Started**](#quick-start) - Set up Agent Prompt Train in seconds
99
- [**Features**](#-features) - Explore capabilities and functionality
1010
- [**Development**](#development-setup) - Build and contribute
1111
- [**Documentation**](#documentation) - Complete guides and references
1212
- [**Deployment**](#production-deployment) - Production setup guides
1313

1414
## 🎯 Objectives
1515

16-
Claude Nexus empowers development teams to maximize their Claude AI usage through:
16+
Agent Prompt Train empowers development teams to maximize their Claude AI usage through:
1717

1818
- 🔍 **Complete Visibility**: Real-time access to conversations, tool invocations, and prompts for effective troubleshooting and debugging
1919
- 📈 **Historical Analytics**: Comprehensive activity history enabling usage monitoring, pattern identification, and continuous improvement
@@ -23,13 +23,13 @@ Claude Nexus empowers development teams to maximize their Claude AI usage throug
2323

2424
![Image](https://github.com/user-attachments/assets/91652db7-ebac-4386-994d-5775f455622f)
2525

26-
Experience Claude Nexus in action with our live demo:
26+
Experience Agent Prompt Train in action with our live demo:
2727

2828
👉 **[https://nexus-demo.moonsonglabs.dev](https://nexus-demo.moonsonglabs.dev)**
2929

3030
_Note: This is a read-only demo showcasing real usage data from our development team._
3131

32-
<img src="https://github.com/user-attachments/assets/aebffb8c-9535-4073-aa76-be31ee05a402" alt="Claude Nexus Dashboard" width="800">
32+
<img src="https://github.com/user-attachments/assets/aebffb8c-9535-4073-aa76-be31ee05a402" alt="Agent Prompt Train Dashboard" width="800">
3333

3434
## ✨ Features
3535

@@ -45,7 +45,7 @@ _Note: This is a read-only demo showcasing real usage data from our development
4545

4646
## 📚 Key Concepts
4747

48-
Understanding these terms will help you navigate Claude Nexus effectively:
48+
Understanding these terms will help you navigate Agent Prompt Train effectively:
4949

5050
### Core Concepts
5151

@@ -107,7 +107,7 @@ For administrators or heavy users, you can follow the token usage and see when a
107107

108108
## Quick Start
109109

110-
Get Claude Nexus running locally in seconds.
110+
Get Agent Prompt Train running locally in seconds.
111111

112112
### 🔥 Super Quick Start (All-in-One Docker + Claude CLI)
113113

@@ -116,10 +116,10 @@ Get Claude Nexus running locally in seconds.
116116
- [Docker](https://docker.com)
117117
- Claude Code (_already installed and setup_)
118118

119-
Start the Claude Nexus (_docker image with: Postgres + Proxy + Dashboard_):
119+
Start the Agent Prompt Train (_docker image with: Postgres + Proxy + Dashboard_):
120120

121121
```bash
122-
docker run -d -p 3000:3000 -p 3001:3001 --name claude-nexus moonsonglabs/claude-nexus-all-in:latest
122+
docker run -d -p 3000:3000 -p 3001:3001 --name agent-prompttrain moonsonglabs/agent-prompttrain-all-in:latest
123123
```
124124

125125
Start using it from any project, you can use multiple claude at the same time:
@@ -146,16 +146,16 @@ For developers who want to modify the proxy or dashboard code with **hot reload*
146146

147147
- [Bun](https://bun.sh) runtime (v1.0+)
148148
- [Docker](https://docker.com) and Docker Compose
149-
- Claude API Key or Claude Max subscription for each developer using Claude Nexus
149+
- Claude API Key or Claude Max subscription for each developer using Agent Prompt Train
150150

151151
### 🛠️ Development Workflow
152152

153153
**1. Initial Setup**
154154

155155
```bash
156156
# Clone and install dependencies
157-
git clone https://github.com/Moonsong-Labs/claude-nexus.git
158-
cd claude-nexus
157+
git clone https://github.com/Moonsong-Labs/agent-prompttrain.git
158+
cd agent-prompttrain
159159
bun run setup
160160

161161
# Configure environment
@@ -229,11 +229,11 @@ Docker Containers:
229229

230230
## Production Deployment
231231

232-
For deploying Claude Nexus in production environments.
232+
For deploying Agent Prompt Train in production environments.
233233

234-
__Important Considerations__:
234+
**Important Considerations**:
235235

236-
_In order to comply with the Anthropic Terms of Service, you need to have a Claude subscription for each user of AI Nexus._
236+
_In order to comply with the Anthropic Terms of Service, you need to have a Claude subscription for each user of Agent Prompt Train._
237237

238238
### 📖 Deployment Guides
239239

@@ -252,7 +252,7 @@ Choose your deployment method:
252252

253253
### ⚠️ Important Considerations
254254

255-
- **In order to comply with the Anthropic Terms of Service, you need to have a Claude Max subscription for each user of Claude Nexus.**
255+
- **In order to comply with the Anthropic Terms of Service, you need to have a Claude Max subscription for each user of Agent Prompt Train.**
256256
- Always set `DASHBOARD_API_KEY` in production
257257
- Configure proper SSL/TLS certificates
258258
- Set up monitoring and alerting
@@ -267,7 +267,7 @@ Essential configuration:
267267

268268
```bash
269269
# Database
270-
DATABASE_URL=postgresql://user:password@localhost:5432/claude_nexus
270+
DATABASE_URL=postgresql://user:password@localhost:5432/agent_prompttrain
271271

272272
# Dashboard Authentication
273273
# ⚠️ CRITICAL SECURITY WARNING: Without this key, the dashboard runs in read-only mode
@@ -341,7 +341,7 @@ Features:
341341
## Architecture
342342

343343
```
344-
claude-nexus/
344+
agent-prompttrain/
345345
├── packages/shared/ # Shared types and utilities
346346
├── services/
347347
│ ├── proxy/ # Proxy API service
@@ -380,19 +380,19 @@ See [Development Guide](docs/01-Getting-Started/development.md) for development
380380

381381
### Environments (MoonsongLabs Internal)
382382

383-
Claude Nexus supports deployment to multiple environments:
383+
Agent Prompt Train supports deployment to multiple environments:
384384

385385
- **Production (`prod`)** - Live production services
386386
- **Staging (`staging`)** - Pre-production testing environment
387387

388-
For AWS EC2 deployments, use the `manage-nexus-proxies.sh` script with environment filtering:
388+
For AWS EC2 deployments, use the `manage-agent-prompttrain-proxies.sh` script with environment filtering:
389389

390390
```bash
391391
# Deploy to production servers only
392-
./scripts/ops/manage-nexus-proxies.sh --env prod up
392+
./scripts/ops/manage-agent-prompttrain-proxies.sh --env prod up
393393

394394
# Check staging server status
395-
./scripts/ops/manage-nexus-proxies.sh --env staging status
395+
./scripts/ops/manage-agent-prompttrain-proxies.sh --env staging status
396396
```
397397

398398
See [AWS Infrastructure Guide](docs/03-Operations/deployment/aws-infrastructure.md) for detailed multi-environment setup.
@@ -419,8 +419,8 @@ docker compose -f docker/docker-compose.yml up -d --build
419419

420420
```bash
421421
# Build images individually
422-
docker build -f docker/proxy/Dockerfile -t moonsonglabs/claude-nexus-proxy:local .
423-
docker build -f docker/dashboard/Dockerfile -t claude-nexus-dashboard:local .
422+
docker build -f docker/proxy/Dockerfile -t moonsonglabs/agent-prompttrain-proxy:local .
423+
docker build -f docker/dashboard/Dockerfile -t agent-prompttrain-dashboard:local .
424424
```
425425

426426
### Production
@@ -465,13 +465,13 @@ Comprehensive documentation is available in the [docs](docs/) directory:
465465

466466
## Contributing
467467

468-
⚠️ Disclaimer: This project has been entirely vibe Coded (using Claude Nexus) with the goal to not manually touch a single file.
468+
⚠️ Disclaimer: This project has been entirely vibe Coded (using Agent Prompt Train) with the goal to not manually touch a single file.
469469

470470
Contributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md) first.
471471

472472
## Support
473473

474474
- 📖 [Full Documentation](docs/README.md)
475-
- 🐛 [Issue Tracker](https://github.com/Moonsong-Labs/claude-nexus/issues)
476-
- 💬 [Discussions](https://github.com/Moonsong-Labs/claude-nexus/discussions)
475+
- 🐛 [Issue Tracker](https://github.com/Moonsong-Labs/agent-prompttrain/issues)
476+
- 💬 [Discussions](https://github.com/Moonsong-Labs/agent-prompttrain/discussions)
477477
- 📊 [Changelog](docs/06-Reference/changelog.md)

bun.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
},
3232
"packages/shared": {
33-
"name": "@claude-nexus/shared",
33+
"name": "@agent-prompttrain/shared",
3434
"version": "2.0.0",
3535
"dependencies": {
3636
"@lenml/tokenizer-gemini": "^3.4.2",
@@ -43,10 +43,10 @@
4343
},
4444
},
4545
"services/dashboard": {
46-
"name": "@claude-nexus/dashboard",
46+
"name": "@agent-prompttrain/dashboard",
4747
"version": "2.0.0",
4848
"bin": {
49-
"claude-nexus-dashboard": "./dist/main.js",
49+
"agent-prompttrain-dashboard": "./dist/main.js",
5050
},
5151
"dependencies": {
5252
"@hono/node-server": "^1.13.7",
@@ -63,10 +63,10 @@
6363
},
6464
},
6565
"services/proxy": {
66-
"name": "@claude-nexus/proxy",
66+
"name": "@agent-prompttrain/proxy",
6767
"version": "2.0.0",
6868
"bin": {
69-
"claude-nexus-proxy": "./dist/main.js",
69+
"agent-prompttrain": "./dist/main.js",
7070
},
7171
"dependencies": {
7272
"@hono/node-server": "^1.13.7",
@@ -92,6 +92,12 @@
9292
},
9393
},
9494
"packages": {
95+
"@agent-prompttrain/dashboard": ["@agent-prompttrain/dashboard@workspace:services/dashboard"],
96+
97+
"@agent-prompttrain/proxy": ["@agent-prompttrain/proxy@workspace:services/proxy"],
98+
99+
"@agent-prompttrain/shared": ["@agent-prompttrain/shared@workspace:packages/shared"],
100+
95101
"@babel/helper-string-parser": ["@babel/[email protected]", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="],
96102

97103
"@babel/helper-validator-identifier": ["@babel/[email protected]", "", {}, "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow=="],
@@ -102,12 +108,6 @@
102108

103109
"@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.27.1" } }, "sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg=="],
104110

105-
"@claude-nexus/dashboard": ["@claude-nexus/dashboard@workspace:services/dashboard"],
106-
107-
"@claude-nexus/proxy": ["@claude-nexus/proxy@workspace:services/proxy"],
108-
109-
"@claude-nexus/shared": ["@claude-nexus/shared@workspace:packages/shared"],
110-
111111
"@eslint-community/eslint-utils": ["@eslint-community/[email protected]", "", { "dependencies": { "eslint-visitor-keys": "^3.4.3" }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw=="],
112112

113113
"@eslint-community/regexpp": ["@eslint-community/[email protected]", "", {}, "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ=="],

docker-up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ if [ ! -f "$SCRIPT_DIR/.env" ]; then
1414
fi
1515

1616
# Run docker compose from the docker directory, but use the .env file from project root
17-
cd "$SCRIPT_DIR/docker" && docker compose --project-name claude-nexus-local --env-file "$SCRIPT_DIR/.env" "$@"
17+
cd "$SCRIPT_DIR/docker" && docker compose --project-name agent-prompttrain-local --env-file "$SCRIPT_DIR/.env" "$@"

docker/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Claude Nexus Docker Images
1+
# Agent Prompt Train Docker Images
22

3-
This directory contains the Docker configurations for the Claude Nexus Proxy project, split into two separate microservices following best practices.
3+
This directory contains the Docker configurations for the Agent Prompt Train project, split into two separate microservices following best practices.
44

55
## Images
66

7-
### 1. Proxy Service (`moonsonglabs/claude-nexus-proxy`)
7+
### 1. Proxy Service (`moonsonglabs/agent-prompttrain-proxy`)
88

99
- Port: 3000
1010
- Handles Claude API proxying
1111
- Manages authentication and token tracking
1212
- Stores request/response data
1313

14-
### 2. Dashboard Service (`moonsonglabs/claude-nexus-dashboard`)
14+
### 2. Dashboard Service (`moonsonglabs/agent-prompttrain-dashboard`)
1515

1616
- Port: 3001
1717
- Web UI for monitoring and analytics
@@ -44,7 +44,7 @@ BUILD_ACTION=push ./build-images.sh
4444

4545
```bash
4646
# Check manifest for multiple platforms
47-
docker buildx imagetools inspect moonsonglabs/claude-nexus-proxy:latest
47+
docker buildx imagetools inspect moonsonglabs/agent-prompttrain-proxy:latest
4848
```
4949

5050
## Building Images
@@ -75,10 +75,10 @@ docker buildx imagetools inspect moonsonglabs/claude-nexus-proxy:latest
7575
```bash
7676
# Build individually with Docker buildx
7777
docker buildx build --platform linux/amd64,linux/arm64 \
78-
-f proxy/Dockerfile -t moonsonglabs/claude-nexus-proxy:v9 ..
78+
-f proxy/Dockerfile -t moonsonglabs/agent-prompttrain-proxy:v9 ..
7979

8080
# Single platform build
81-
docker build -f proxy/Dockerfile -t moonsonglabs/claude-nexus-proxy:v9 ..
81+
docker build -f proxy/Dockerfile -t moonsonglabs/agent-prompttrain-proxy:v9 ..
8282
```
8383

8484
## Pushing Images
@@ -111,7 +111,7 @@ The `docker-compose.yml` file is located in this `docker/` directory.
111111

112112
# Or from docker directory
113113
cd docker
114-
docker-compose --project-name claude-nexus --env-file ../.env up -d
114+
docker-compose --project-name agent-prompttrain --env-file ../.env up -d
115115

116116
# Run specific service
117117
./docker-up.sh up proxy
@@ -130,13 +130,13 @@ docker-compose --project-name claude-nexus --env-file ../.env up -d
130130
# Proxy service
131131
docker run -p 3000:3000 \
132132
-v ./credentials:/app/credentials:ro \
133-
moonsonglabs/claude-nexus-proxy:latest
133+
moonsonglabs/agent-prompttrain-proxy:latest
134134

135135
# Dashboard service
136136
docker run -p 3001:3001 \
137137
-e DASHBOARD_API_KEY=your-key \
138138
-e PROXY_API_URL=http://localhost:3000 \
139-
moonsonglabs/claude-nexus-dashboard:latest
139+
moonsonglabs/agent-prompttrain-dashboard:latest
140140
```
141141

142142
## Environment Variables

docker/all-in/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
- **Build locally**:
44

55
```bash
6-
docker build -f docker/all-in/claude-nexus-all-in.Dockerfile -t claude-nexus-all-in:local .
6+
docker build -f docker/all-in/agent-prompttrain-all-in.Dockerfile -t agent-prompttrain-all-in:local .
77
```
88

99
- **Run locally**:
1010

1111
```bash
12-
docker run -d -p 3000:3000 -p 3001:3001 --name claude-nexus claude-nexus-all-in:local
12+
docker run -d -p 3000:3000 -p 3001:3001 --name agent-prompttrain agent-prompttrain-all-in:local
1313
```

docker/all-in/claude-nexus-all-in.Dockerfile renamed to docker/all-in/agent-prompttrain-all-in.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Claude Nexus All-in-One Demo Image
1+
# Agent Prompt Train All-in-One Demo Image
22
# Runs PostgreSQL, Proxy, and Dashboard in a single container
33

44
# ===== Builder Stage =====

0 commit comments

Comments
 (0)