Code and Content for Lets Build an Agent Talk Feb 2025. The purpose here is to build the smallest simplest version of an agent. Said another way, we want to get to find the tipping point from non-agentic to agentic.
agent = llm + memory + planning + tools + while loop [1]
agent = llm + (read + write) + planning + tools + (condition + loop)
agent = llm + condition + tools + read + write + planning + loop
Each step can be run with npm run step${n}-${step}
OpenAI hello world (https://platform.openai.com/docs/quickstart#make-your-first-api-request)
Check if the LLM call meets the requested question.
SerpAPI for web search
Planning:
- prompt for step by step plan, push each onto todo list array
- addTodoToList, checkTodoList, markTodoDone
- Ask your boss for help making a decision
Memory:
While: condition plus loop
- LLM -> Condition Check
- LLM -> Condition Check w/ loop
We are hiring people to help us build agents: https://manufactured.com/careers/ join us!
- [1] swyx on X: https://x.com/swyx/status/1843299770238181825