3 ms·
In this case the "agent" definition they are using is the one from the https://github.com/openai/openai-agents-python https://github.com/openai/openai-agents-py
by simonw 1y ago
In this case the "agent" definition they are using is the one from the https://github.com/openai/openai-agents-python https://github.com/openai/openai-agents-python Python library, which they are running in the browser via Pyodide and WASM.
That library defines an agent as a system prompt and optional tools - notable because many other common agent definitions have the tools as required, not optional.
That explains why their "hello world" demo just runs a single prompt: https://github.com/mozilla-ai/wasm-agents-blueprint/blob/main/demos/hello_agent.html https://github.com/mozilla-ai/wasm-agents-blueprint/blob/mai...
- lgas 1y ago> notable because many other common agent definitions have the tools as required, not optional. This feels weird to me. I would think of an agent with no tools as the trivial case of a "null agent" or "empty agent". It would be like saying you can't have a list with no elements because that's not a list at all... but an empty list is actually quite useful in many contexts. Which is why almost all implementations in all languages allow empty lists and add something distinct like a NonEmptyList to handle that specific case.
- simonw 1y agoA lot of the agent/agentic definitions I see floating around are variants on "an LLM running tools in a loop". Can't do that without tools!