This workspace contains a minimal TypeScript Node backend focused on a single vertical slice: a GitHub PR agent. The goal is to scaffold a small server and a GitHub agent endpoint you can call from Postman.
Quick start
- Copy
.env.exampleto.envand populateGITHUB_TOKENif you want live behavior. - Install dependencies:
npm install- Start in dev mode:
npm run dev- POST to
http://localhost:3000/api/agents/githubwith a JSON body (seepostman/collection) to test simulated or live PR creation.
Notes
- If
GITHUB_TOKENis not set, the agent returns a simulated response (no network calls). - The code is intentionally minimal — later we'll generalize the ai wrapper and add Slack/Jira agents.