Inspiration
Whenever it came to calculating my grade, I used to go to other pages "grade calculators" to calculate my grades. In recent times I've using AI to do this, I would ask the AI to build a web page for me based on my grading system. This approach was the most effective sometimes, since I only had to upload my syllabus. But more often than not, I had to edit the page to make it work well. Since then I thought I would create my own implementation of AI agents to create the logic of a grade calculator from just the syllabus.
What it does
This web app takes your syllabus or a copy-pasted text of it and generates a calculator for all your grades across all categories.
How we built it
I used svelte and typescript to do it. I also used the AI SDK from Vercel as well as OpenRouter for our ai api endpoint. I also used VScode and AI code assistants to help me build the app.
Challenges we ran into
The implementation of the AI was not simple, It was not the easiest thing to make the AI generate the objects correctly.
Accomplishments that we're proud of
How the architecture of the overall app ended up being, it is simple with a single API endpoint.
What we learned
I learned how to implement AI agents better and returning objects.
What's next for Smart Grade Calculator
This project requires and API key from OpenRouter, therefore I might add a way to add a local API key. And I also will fully upload to the cloud.
Built With
- bun
- cloudflare
- openrouter
- svelte
- sveltekit
- tailwindcss
- typescript
- vercel-ai-sdk
- vite
- x.ai
Log in or sign up for Devpost to join the conversation.