What it does

StudyBuddy is an open-source agentic website that helps SMK (vocational high school) students learn. It covers 6 topics — Binary Numbers, Algorithms & Flowcharts, Algebra Basics, Percentages, Photosynthesis and English Tenses — each with a lesson, a 5-question quiz with explanations, notes, a study plan and a daily streak. The assistant on the page does real work through website tools: it explains a topic from the lesson, runs a quiz and scores it, saves and deletes notes, creates a study plan and tracks the streak. When a student asks a math question, StudyBuddy does not guess — it calls MathHelper, a second agentic site on another origin, which solves the problem step by step and checks the answer. The partner network runs locally in the visitor's browser, on the visitor's own key; MathHelper never receives the key, and only public facts are shared with it. Both sites publish a conforming agent-manifest.json, a resolved network definition, a links.json and an action bridge, and both run on the nsDeploy runtime in the browser. Inference is bring-your-own-key (OpenAI-compatible; tested live with OpenRouter's free model) or the runtime's default mock.

Inspiration

I teach at a vocational high school in Indonesia. My students keep asking the same questions — "what is binary?", "how do I do percentages?" — and I wanted a study companion that answers from the actual lesson, quizzes them, and remembers their progress, instead of a chatbot that makes things up. The agentic web idea fit perfectly: one site teaches, another site does math, and they talk to each other in the student's browser.

How I built it

Two static sites (plain HTML/CSS/JavaScript, no backend) agentified with the open agentic web skill and the nsDeploy runtime. StudyBuddy's network has a front agent plus three specialists (quizzer, explainer, planner) and a partner link to MathHelper; MathHelper has a front agent plus a problem solver. The page script exposes the site as website_* tools, the bridge shares only public facts (topics, lessons, practice problems — never a visitor's history or scores), and the manifest closes the peer policy to the one named partner. Tested end to end: 16/16 StudyBuddy tests and 7/7 MathHelper tests pass, the partner check passes on the hosted URLs, and a live browser test answered real questions, scored a quiz 5/5, delegated a math question to MathHelper (15% of 240 = 36) and saved a note.

Challenges I ran into

The free DeepSeek proxy I first tried for the live test does not send a CORS header on its real responses, so the browser blocked it even though the endpoint itself works — I proved that with curl and switched to OpenRouter, whose free model works from the browser. The two models I first asked for turned out not to exist in OpenRouter's catalog, so the site now uses openrouter/free, which routes to an available free model. Getting the OpenRouter key also needed an email verification code, and pasting the key into the site was blocked in the test browser, so the site's "Connect with OpenRouter" button was used instead.

Accomplishments that I'm proud of

A complete two-site agent network that actually works in a real browser: the assistant explains, quizzes, plans and remembers; a math question is delegated to a second site and answered step by step; and the partner never sees the visitor's key or private data. All of it is static, open source and free to run.

What's next

More topics (the full SMK curriculum), a third partner site for English practice, and a teacher view that shows class progress without ever exposing a student's private data.

Try it out

Open https://sawi57003-ops.github.io/studybuddy/ , scroll to "Ask StudyBuddy", connect your own OpenRouter key (free model openrouter/free), and ask it to explain binary numbers, start a quiz, or solve 15% of 240.

GitHub repositories:

Built with: JavaScript, HTML, CSS, nsDeploy runtime, Open Agentic Web spec (MVP Profile 0.3), OpenRouter (BYOK), GitHub Pages.

Built With

Share this project:

Updates

Submission history