Skip to content

🌍 LLM Agent Lab β€” Sandbox of LangChain + LangGraph MVP agents. A growing library of small, functional AI agents (news readers, nutrition planners, support helpers, habit coaches) that start as Jupyter/Gradio demos and evolve into APIs for scalable Next.js/React projects.

mejorandro/llm-agent-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 LLM Agent Lab

AI agent lab built with LangChain + LangGraph.
It’s a sandbox where ideas turn into working MVPs: small, functional agents that can later be exposed as APIs and consumed in Next.js/React projects to create dynamic and scalable websites.

The vision: build a library of agents, each one tackling a real-world use case, starting lean and evolving into production-ready tools.


πŸš€ Current MVP Agents (Catalog)

All current MVP agents live under the /examples/ folder as Jupyter notebooks or Gradio demos.

1. πŸ“° Grow Pulse Daily Reader (examples/grow-pulse-daily-reader.ipynb)

  • Generates daily readings with 3–5 recent news items related to the user’s profession and sector.
  • Extracts opportunities contextualized for the career path.
  • Suggests one daily actionable step (≀15 min).
  • Drafts bilingual LinkedIn posts (Spanish + English).
  • Creates 3 visible mini-POCs (≀45 min).
  • Explains how actions, posts, and POCs compound into career growth.

2. πŸ€– AI Daily Reader / Career Coach (examples/ai_daily_reader.ipynb)

  • Focuses specifically on AI industry news (OpenAI, Anthropic, DeepMind, OSS, enterprise adoption).
  • Maps news items into opportunities for Tech Leads and Full-Stack profiles.
  • Suggests one micro-action to get closer to global consulting opportunities (+10K/month).
  • Drafts bilingual LinkedIn posts (authoritative, inspiring, non-egocentric).
  • Provides POC ideas tied to AI and .NET scenarios.
  • Explains how daily actions + posts + POCs compound strategically.

3. πŸ› οΈ Weekend Support Agent (examples/pura_vida_helper.ipynb)

  • Connects to Confluence space as a weekend support helper.
  • Retrieves docs (via embeddings + FAISS).
  • Summarizes docs in plain language.
  • Suggests one practical action (≀15 min).
  • Provides a stitched final support answer.
  • βœ… Supports Prompt Pages (special Confluence pages that act as agent instructions).
    e.g. AI-Agent: Service Desk Instructions, AI-Agent: Travel Experience Playbook

4. 🧠 Grow Routine – Nutrition & Lifestyle Validator (examples/macro_nutrition_pipeline.ipynb)

  • Spanish-first multi-role agent combining:
    • πŸ‹οΈ Coach β†’ Generates physical & lifestyle recommendations.
    • πŸ₯¦ Nutritionist β†’ Creates nutrition plan with macros, calories, considerations (fasting, allergies), and technical justification.
    • πŸ”Ž Macro Validator β†’ Validates consistency of macros, calories, and reasoning.
  • Conditional loop: nutrition plan regenerates automatically if validation fails.
  • Outputs a final Markdown summary: plan + validation + motivational note.
  • βœ… Interactive Gradio UI for InBody + goals input β†’ final structured plan output.

5. βœ‰οΈ GrowRoutine Habit β†’ Email Generator (examples/habit_to_email.ipynb)

  • Turns Pareto 80/20 habits into practical, motivational email campaigns.
  • Workflow:
    • 🧠 TrendScout β†’ Extracts 3–5 core habits (name, why it’s 80/20, minimal action, principle, example).
    • ✍️ Marketing Agent β†’ Picks one habit and writes a structured email (subject, preheader, hook, steps, why it works, book reference, weekly challenge, CTAs, signature).
    • βœ… Validator β†’ Ensures one-habit focus, correct structure, clarity, length (140–220 words), and energy.
  • Conditional feedback loop: regenerates emails if validation fails.
  • Outputs a final Markdown deliverable (habits + email + validation).
  • Includes an interactive Gradio app where users can enter campaign briefs and instantly generate approved habit-based emails.

6. 🍲 Grow Routine – Cultural Meal Plans (examples/cultural_meal_plans.ipynb)

  • Spanish-first multi-role agent combining:
    • πŸ‹οΈ Coach β†’ Generates personalized physical & lifestyle recommendations.
    • πŸ₯¦ Nutritionist β†’ Creates 3 full daily menus (Day 1, 2, 3) with:
      • Lunch, post-workout snack, dinner.
      • Ingredients (grams, spoons, etc.) + short preparation steps.
      • Cultural adaptation (based on nationality or preference).
      • Clear macros (Proteins, Carbs, Fats, Calories) per meal.
    • βœ… Professional Validator β†’ Reviews plan for nutritional logic, cultural fit, fasting compliance, clarity, and user applicability.
      • Provides decision: β€œAprobado βœ…β€ or β€œAjustar βš οΈβ€ with explanation.
  • Conditional loop: nutritionist regenerates menus if validator requests adjustments.
  • Outputs a final Markdown summary: coach insights + meal plans + validation + motivational closure.
  • βœ… Interactive Gradio UI for InBody, goals, restrictions, and cultural context β†’ structured multi-day nutrition plan.

πŸ“‚ Repository Structure

  • /examples β†’ contains MVP agent notebooks (grow-pulse-daily-reader.ipynb, ai_daily_reader.ipynb, pura_vida_helper.ipynb).
  • requirements.txt β†’ Python dependencies.
  • README.md β†’ project overview and agent catalog.
  • .gitignore β†’ standard ignores.

(Planned: /prompts for centralized prompts, /api for FastAPI endpoints, /tests for agent tests.)


⚑ Tech Stack

  • LangChain / LangGraph β†’ agent orchestration.
  • OpenAI (gpt-4o) β†’ LLM backbone.
  • Gradio β†’ quick UI prototyping.

πŸ› οΈ Quickstart

# Create venv
python -m venv venv
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Run any notebook demo
jupyter notebook examples/grow-pulse-daily-reader.ipynb

About

🌍 LLM Agent Lab β€” Sandbox of LangChain + LangGraph MVP agents. A growing library of small, functional AI agents (news readers, nutrition planners, support helpers, habit coaches) that start as Jupyter/Gradio demos and evolve into APIs for scalable Next.js/React projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published