🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)
🔧 AI Nachrichten Stealing AI Reasoning Traces(08.09.2026 um 12:20 Uhr)
🔧 AI Nachrichten AIs as Modern Genies(08.09.2026 um 19:12 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)
🔧 AI Nachrichten Stealing AI Reasoning Traces(08.09.2026 um 12:20 Uhr)
🔧 AI Nachrichten AIs as Modern Genies(08.09.2026 um 19:12 Uhr)

🔧 Programmierung 🕛 vor 3 Monaten 5 Min Lesezeit
0

Building a Personal Study Planner Agent in typescript with HazelJS

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

AI agents become more useful when they are not just chatbots, but small systems that can understand a request, call tools, retrieve knowledge, and return structured results.



For this example, we built a Personal Study Planner Agent with HazelJS.



The goal is simple:




A student gives their exam date, available study time, and weak topics. The agent creates a realistic study plan.




This is an easy project, but it still shows important HazelJS agent patterns.






What the Project Includes



The project uses:





  • @hazeljs/core for modules, controllers, and services


  • @hazeljs/agent for agents, tools, delegation, and supervisor routing


  • @hazeljs/rag for study-method retrieval


  • @hazeljs/guardrails for safer input/output handling


  • @hazeljs/eval for golden tests


  • @hazeljs/inspector for the /__hazel web view



The app has four agents:




  • StudyIntakeAgent

  • StudyResourceAgent

  • StudyScheduleAgent

  • StudyCoachAgent



Each agent has a focused job.






Why This Example Works Well



A study planner is simple enough to understand quickly, but it still has a real workflow:




  1. Extract study constraints

  2. Find useful study methods

  3. Build a schedule

  4. Return a clear plan



That makes it a good beginner-friendly HazelJS agent example.



A sample request looks like this:




CODE
I have 10 days before my algebra exam. I can study 60 minutes daily. Weak topics are quadratic equations and word problems.






The system can extract the exam, timeline, daily capacity, weak topics, and urgency.






Agent 1: Study Intake



The first agent is StudyIntakeAgent.



Its job is to understand the student’s request.




CODE
@Agent({
name: 'StudyIntakeAgent',
description: 'Extracts exam goals, time constraints, weak topics, learning style, and urgency.',
})
@Service()
export class StudyIntakeAgent {
@Tool({
name: 'extractStudyProfile',
description: 'Extract structured study planning information from a student request.',
})
async extractStudyProfile(input: { message: string; studentId?: string }) {
// Extract exam, days, minutes, weak topics, and urgency
}
}






This keeps profile extraction separate from schedule creation.



That is a good agent design pattern: one agent, one responsibility.






Agent 2: Study Resources with RAG



The second agent is StudyResourceAgent.



It uses AI integrations.






Final Thoughts



This project is intentionally simple, but it shows strong HazelJS agent patterns:




  • focused agents

  • scoped tools

  • RAG-backed knowledge

  • delegation

  • supervisor routing

  • guardrails

  • runtime observability

  • evals



That makes the Personal Study Planner Agent a good beginner-friendly example for learning how to build practical AI agents with HazelJS.

Repo: Personal Study Planner

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
The Gemini desktop app is now available for Windows
1 Quelle
ChatGPT automatically logged out [Fix]
1 Quelle
Windows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Building a Personal Study Planner Agent in typescript with HazelJS

Thematisch verwandte Begriffe: Building, Personal, Study, Planner · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...