compsci_ai_herk/build n8n ai agents - 8 hr course/_subsections/lesson-01.org
2025-07-16 21:38:17 +03:00

3 KiB
Executable file

Lesson 01 | Course Agenda

Notes

course agenda

  • no need for code
  • walk through step by step builds
  • 15 builds

course topics

  1. ai agents
  2. n8n foundations
  3. step by step workflows
  4. apis & http requests
  5. ai agents tools & memory
  6. multi agent architecture
  7. prompting
  8. webhooks
  9. mcp servers

    • what it is
    • hosting setup
  10. lessons

what are ai agents

  • what is it at its core
  • what can it do
  • why do we need them
/notes/compsci_ai_herk/media/commit/9334472240e604c9d332f1d1cfc3c22d0c23786c/_share/media/img/compsci/ai/herk/build_8hr/ch01_e01.png
what is an ai agent

what it does

  • take input
  • process input
  • get output

how to use it

  • send the output to a tool

    • gmail
    • latex
    • anything
  • when we add an LLM to a tool we get

    • ai workflow
    • ai agent

workflow vs agent

ai workflow
/notes/compsci_ai_herk/media/commit/9334472240e604c9d332f1d1cfc3c22d0c23786c/_share/media/img/compsci/ai/herk/build_8hr/ch01_e02a.png
ai workflow
pros
  • reliability
  • cost efficiency
  • easier debugging and maintenance
  • scalability
what we are doing
  • input
  • tools to process input
  • call the LLM
  • tool chain

    • process output before final output
  • final output
practical example
  • hubspot tool

    • passes in lead
  • perplexity tool

    • does research
  • LLM

    • takes research
  • send email
ai agent
/notes/compsci_ai_herk/media/commit/9334472240e604c9d332f1d1cfc3c22d0c23786c/_share/media/img/compsci/ai/herk/build_8hr/ch01_e02b.png
ai agent
how it works
  • takes input
  • has a set of tools at it's disposal
  • uses internal logic to decide what to do
disadvantages
  • not linear
  • expensive
when to use it
  • if the task is unpredicatable
anatomy of an ai agent
/notes/compsci_ai_herk/media/commit/9334472240e604c9d332f1d1cfc3c22d0c23786c/_share/media/img/compsci/ai/herk/build_8hr/ch01_e02c.png
anatomy of an ai agent
outside features
  • input
  • LLM
  • output
in the agent
  • brain

    • LLM

      • anthropic
      • gemini
    • memory

      • long term
      • short term
      • it won't forget what we need it to remember
  • instructions

    • system prompt

      • differnt than input in that it stays the same
      • input changes regularly, ie every interaction you have with chatgpt
    • what is your role
    • what do you do
    • this is what you got to work with