1 The Full Landscape
13 repositories across 3 GitHub accounts, built over 8 months. Here's every repo with a verdict.
craig-agilex (AgileX's own account) — 5 repos
create_talent, create_vacancy, create_application. Uses @hcengineering/api-client for real WebSocket connections to Huly. Has a seed script that populates a demo workspace in 12 seconds. Apache 2.0 licensed.
/api/tools/cv-parser. Multi-brand system (agilex free tier, paton paid tier). 7 PRs, production quality.
2nth-ai (Development org) — 5 repos
ARCHITECTURE.md (the decision document) and MCP server patterns. Live agents moved to TypeScript Workers.
imbilawork (Personal) — 3 repos
2 Verdict: Keep, Merge, or Archive
Keep (4)
- huly-recruit-mcp — real Huly MCP, nothing else does this
- agilex-tools — working CV parser, production quality
- agilex-portal — central gateway + agents
- agilex-sim — approved recruiter UI
Merge (1)
- agilex-runtime → merge Ava's model router, trace collection, and tool patterns into agilex-portal. Then archive.
Reference / Archive (5+3)
- agenticx-agents — architecture docs, Python patterns
- web26 — brand kit source
- agentweb — early UI concepts
- agilex-site — keep but needs content
- agilex-docs — keep, hub for reviews
- 3 imbilawork repos — already archived
3 How They Wire Together
The flow from recruiter action to ATS record:
POST /api/agents/acquire/parse-cvPOST /api/tools/cv-parser (Workers AI, real extraction)create_talent + create_application in HulyEach Repo's Role in the Chain
| Step | Repo | What It Does | Status |
|---|---|---|---|
| 1. UI | agilex-sim | Recruiter interface, CV upload, candidate cards | Live |
| 2. Orchestrate | agilex-portal | Agent dispatch, model routing, D1 state, activity log | Live |
| 3. Parse | agilex-tools | PDF/DOCX → text → AI → structured JSON | Working |
| 4. Score | agilex-portal | AI Gateway → Gemini/Claude → score 0-100 | Working |
| 5. Store (ATS) | huly-recruit-mcp | MCP → Huly API → create talent/vacancy/application | Working |
| 6. Store (docs) | Google Drive | CV upload, candidate folder | Stubbed |
| 7. Notify | Gmail | Candidate email, client update | Stubbed |
4 What's Missing to Wire E2E
Portal → Tools (CV parser)
Add CV_PARSER_URL env var to portal. When Acquire agent receives CV text, call agilex-tools/api/tools/cv-parser first, fall back to inline Workers AI.
Effort: 30 minutes. One env var + one fetch call.
Portal → Huly MCP
The MCP server runs as a Node process (uses WebSocket). Needs a small HTTP wrapper or deploy to Cloud Run. Then add HULY_MCP_URL to portal.
Effort: 1-2 hours. Needs running Huly instance.
Runtime → Portal merge
Ava's model router, trace collection, and tool patterns from agilex-runtime should merge into portal's agent code. Better model routing + observability.
Effort: 1 hour. Pattern adoption, not rewrite.
Deploy agilex-tools
Build and deploy to agilex-tools.pages.dev so the portal can call its API. Currently local/dev only.
Effort: 5 minutes. npm run build && wrangler pages deploy
5 Total Inventory
| Repo | Org | Language | LOC | Commits | Last Active | Verdict |
|---|---|---|---|---|---|---|
| huly-recruit-mcp | craig-agilex | TypeScript | 1,149 | 11 | May 11 | Keep |
| agilex-runtime | craig-agilex | TypeScript | 467 | 1 | May 11 | Merge |
| agilex-tools | craig-agilex | Astro/TS | 3,646 | 7 | May 6 | Keep |
| agilex-portal | 2nth-ai | TypeScript | 1,485 | 10 | May 17 | Keep |
| agilex-sim | 2nth-ai | HTML | 657 | 1 | May 17 | Keep |
| agilex-docs | 2nth-ai | HTML | ~4,000 | 2 | May 17 | Keep |
| agilex-site | 2nth-ai | Astro | 513 | 7 | Apr 20 | Keep |
| agenticx-agents | 2nth-ai | Python | 2,092 | 2 | May 16 | Reference |
| agentweb | craig-agilex | CSS | — | 15 | Mar 27 | Reference |
| web26 | craig-agilex | CSS/HTML | — | 5 | Mar 26 | Brand ref |
| agilexdemo | imbilawork | — | 0 | 0 | Oct 25 | Archived |
| agilexweb | imbilawork | — | — | 1 | Jun 25 | Archived |
| agilextalent | imbilawork | — | — | 5 | Oct 25 | Archived |
Total active codebase: ~10,000 LOC across 8 repos (5 critical, 3 reference). Plus ~4,000 LOC of documentation HTML.
6 Domain Strategy
| Environment | Domain | Status |
|---|---|---|
| Dev (now) | *.pages.dev | Active |
| Simulator | agilex-sim.pages.dev | Live |
| Portal + API | agilex-app.pages.dev | Live |
| Docs hub | agilex-docs.pages.dev | Live |
| Tools (CV parser) | agilex-tools.pages.dev | Needs deploy |
| Marketing | agilex-site.pages.dev | Live |
| Production (future) | *.agilex.co.za | When zone configured |
| Demo | demo-dev.agilex.co.za | Planned |
| Tools | tools.agilex.co.za | Planned |
| Marketing | agilex.co.za | Planned |
Rule: No AgileX subdomains on 2nth.ai. All dev uses .pages.dev. Production uses agilex.co.za.