# psychiatrist - [psychiatrist](https://psychiatrist.sudo.la/index.md): An AI teammate for your GitHub repos that runs around the clock on your own machine. - [How psychiatrist works](https://psychiatrist.sudo.la/how-it-works.md): Every job, rule and screen of the bot: planning in waves, stacked PRs, attribution, the agents’ tools and limits. - [psychiatrist as a library](https://psychiatrist.sudo.la/library.md): Script coding agents from TypeScript with the bot's own engine: sessions you send turns, steer, fork and resume, behind the guard. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.