←back to thread

168 points selvan | 3 comments | | HN request time: 0.622s | source
1. simonw ◴[] No.44462876[source]
In this case the "agent" definition they are using is the one from the 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/mai...

replies(1): >>44465584 #
2. lgas ◴[] No.44465584[source]
> 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.

replies(1): >>44466019 #
3. simonw ◴[] No.44466019[source]
A 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!