Welcome to AIthelete! This project is an AI Agent designed to create training plans. By providing detailed feedback and recommendations, it ensures that workout plans are effective, safe, and tailored to individual needs.
- Next.js
- TypeScript
- LangChain
- LangGraph
Check out the live demo: AIthelete Demo
To get a local copy up and running, follow these simple steps.
- LangGraph Agent - The main agent that orchestrates generating and critiquing training plans.
- Generate Node - The node that generates a training plan.
- Critique Node - The node that critiques a training plan.
- Prompts - The prompts used by the agent to generate and critique training plans.
Make sure you have the following installed:
- Node.js
- pnpm
- PostgreSQL
- OpenAI API Keys
- Clone the repo:
git clone https://github.com/mbarinov/aithelete.git
- Navigate to the project directory:
cd aithelete
- Install dependencies:
pnpm install
- Set up your environment variables by copying
.env.example
to.env
and filling in the required values:cp .env.example .env
- Push the Prisma schema to your database:
npx prisma db push
Start the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Distributed under the MIT License. See LICENSE for more information.
- Max Barinov - @mbarinov