This is a small TypeScript CLI project that demonstrates one credible agent-style workflow: take a structured recruiting task, plan the steps, search and rank mock profiles, stop at an approval gate before side effects, write approved candidates to a mock ATS, and emit a trace plus summary.
The main CLI flow is:
- ingest a structured task
- create a plan
- search mock profiles
- rank them against a role spec
- stop at an approval gate before side effects
- write approved candidates to a mock ATS
- produce a trace and final summary
npm install
npm run demo
npm run evaluate
npm testOn Windows PowerShell, use npm.cmd if npm is blocked by execution policy:
npm.cmd install
npm.cmd run demoIf you want to understand the repo quickly, start with these files:
src/cli.ts: commands and evaluation loopsrc/orchestration/planner.ts: the explicit plansrc/orchestration/orchestrator.ts: run loop, retries, approvals, and summariessrc/tools/workflowTools.ts: actual tool behaviorsrc/domain.ts: task, plan, state, and schema definitionssrc/persistence/fileStore.ts: local JSON persistencesrc/permissions/permissionPolicy.ts: approval rulessrc/services/profileCatalog.ts: mock profile search and reads
The TypeScript repo uses JSON-backed local persistence under runtime/ for speed and portability:
memory.jsontasks.jsonats.jsonruns.jsontraces/*.json
JSON keeps the project easy to run and easy to inspect. For this project, portability and clarity matter more than heavier storage infrastructure.