| Name | What it does | Code |
|---|---|---|
| People and projects | Directory, profiles, org chart, mentoring and project hours | convex/people.ts, convex/mentors.ts, convex/projects.ts |
| Document import | Turns job descriptions, CVs and ESCO occupations into requirements and ratings | convex/documents.ts, convex/esco.ts, convex/lib/esco.ts, convex/lib/extraction.ts |
| AI gateway | Runs stored prompts and logs their tokens and cost | convex/llm.ts, convex/lib/llmClient.ts |
| AI agents | Agent register and approvals, the run queue, merges and sandboxes | convex/agents.ts, convex/sandboxes.ts, convex/lib/agents.ts, convex/lib/sandbox.ts |
| HTTP endpoints | Entry points for the website, both runners and the stub APIs | convex/http.ts |
| Worker connection | Sets a fresh shared secret on a Cloudflare Worker | convex/lib/cloudflare.ts |
| Skill rules | Work out who holds a role, skill levels, readiness and maturity | convex/lib/scoring.ts, convex/lib/profiles.ts, convex/lib/agentProfiles.ts, convex/lib/assignments.ts, convex/lib/technologies.ts, convex/lib/levels.ts |
17 relationships and where each is in the code
17 relationships and where each is in the code
| From | To | What for | How | Found in |
|---|---|---|---|---|
| Web app | People and projects | Directory, profiles, org chart and projects | WebSocket | me.tsx:11, Documents.tsx:12 and 11 more |
| Web app | Document import | Job descriptions, CVs and ESCO | WebSocket | EscoRoles.tsx:25, EscoRoles.tsx:26 and 8 more |
| Web app | AI gateway | Connection test and usage | WebSocket | Setup.tsx:119, Settings.tsx:212 and 1 more |
| Web app | AI agents | Agents, runs and platforms | WebSocket | AgentPlatforms.tsx:69, AgentPlatforms.tsx:31 and 23 more |
| Back office | AI agents | Customers’ sandboxes | WebSocket | sandboxes.tsx:23, sandboxes.tsx:43 and 6 more |
| Agent runner | HTTP endpoints | Claims runs and reports results | HTTPS | agent-runner.ts:159 |
| AI agents | Git host | Tests access and merges approved work | HTTPS | agents.ts:320, agents.ts:578 |
| AI agents | Sandbox gateway | Wakes, tests, restarts and deletes sandboxes | HTTPS | sandboxes.ts:221 |
| Worker connection | Cloudflare API | Sets Worker secrets | HTTPS | cloudflare.ts:44 |
| HTTP endpoints | AI agents | Hands out runs and saves results | http.ts:6, http.ts:76 and 4 more | |
| People and projects | Skill rules | Gets skill levels and role fit | people.ts:6, people.ts:7 and 1 more | |
| People and projects | AI agents | Adds agents to the org chart | people.ts:5 | |
| Skill rules | AI agents | Counts approved agent runs as evidence | agentProfiles.ts:3 | |
| Document import | AI gateway | Extracts requirements from text | documents.ts:10, esco.ts:8 | |
| AI agents | Document import | Reads the skills in an agent’s instructions | agents.ts:7 | |
| AI agents | AI gateway | Extracts responsibilities and skills | agents.ts:18 | |
| AI agents | Worker connection | Connects the sandbox gateway | sandboxes.ts:11 |
Functions
AI agents: 50 functions
AI agents: 50 functions
| Function | Kind | Who can call it | Called from |
|---|---|---|---|
agents.list | query | Organisation member | Agents |
agents.runs | query | Organisation member | Agents |
agents.options | query | Organisation member | Agents |
agents.get | query | Organisation member | Agents |
agents.create | mutation | Organisation member | Agents |
agents.update | mutation | Organisation member | Agents |
agents.repository | query | Organisation member | Agents |
agents.saveRepository | mutation | Organisation member | Agents |
agents.repositoryAccess | internalQuery | Internal only | AI agents |
agents.testRepository | action | Organisation member | Agents |
agents.submit | mutation | Organisation member | Agents |
agents.approve | mutation | Organisation member | Agents |
agents.returnToDraft | mutation | Organisation member | Agents |
agents.retire | mutation | Organisation member | Agents |
agents.loadForExtraction | internalQuery | Internal only | AI agents |
agents.applyExtraction | internalMutation | Internal only | AI agents |
agents.extract | action | Organisation member | Agents |
agents.startRun | mutation | Organisation member | Agents |
agents.cancelRun | mutation | Organisation member | Agents |
agents.deleteRun | mutation | Organisation member | Agents |
agents.reviewRun | mutation | Organisation member | Agents |
agents.retryMerge | mutation | Organisation member | Agents |
agents.mergeInputs | internalQuery | Internal only | AI agents |
agents.setMerge | internalMutation | Internal only | AI agents |
agents.mergeRun | internalAction | Internal only | AI agents |
agents.platforms | query | Organisation member | Agents, Settings |
agents.savePlatform | mutation | Organisation member | Agents |
agents.removePlatform | mutation | Organisation member | Agents |
agents.generateRunnerToken | mutation | Organisation member | Agents |
agents.platformForRunner | internalQuery | Internal only | AI agents, HTTP endpoints |
agents.testSandbox | action | Organisation member | Agents |
agents.claimRun | internalMutation | Internal only | HTTP endpoints |
agents.runStatus | internalQuery | Internal only | HTTP endpoints |
agents.completeRun | internalMutation | Internal only | HTTP endpoints |
sandboxes.list | query | Operator | Settings and sandboxes |
sandboxes.create | mutation | Operator admin | Settings and sandboxes |
sandboxes.update | mutation | Operator admin | Settings and sandboxes |
sandboxes.remove | action | Operator admin | Settings and sandboxes |
sandboxes.status | action | Operator | Settings and sandboxes |
sandboxes.test | action | Operator | Settings and sandboxes |
sandboxes.restart | action | Operator admin | Settings and sandboxes |
sandboxes.connect | action | Operator admin | Settings and sandboxes |
sandboxes.checkOperator | internalQuery | Internal only | Demo videos, AI agents |
sandboxes.saveConnection | internalMutation | Internal only | AI agents |
sandboxes.get | internalQuery | Internal only | AI agents |
sandboxes.deleteRow | internalMutation | Internal only | AI agents |
sandboxes.forRunner | internalQuery | Internal only | HTTP endpoints |
sandboxes.forOrg | internalQuery | Internal only | AI agents |
sandboxes.wake | internalAction | Internal only | AI agents |
sandboxes.testForOrg | internalAction | Internal only | AI agents |

