hdresearch / nolita

Work with web-enabled agents quickly — whether running a quick task or bootstrapping a full-stack product.
https://nolita.ai
MIT License
86 stars 5 forks source link

bin: working agentbrowser npx #8

Closed matildepark closed 6 months ago

matildepark commented 6 months ago

While in the hdr-browser repo:

npx . --agentProvider openai --agentModel gpt-4 --agentApiKey [key] --objective "how many editors are on wikipedia?" --startUrl "https://google.com"

When deployed it will look more like:

npx @hdr/browser --agentProvider openai --agentModel gpt-4 --agentApiKey [key] --objective "how many editors are on wikipedia?" --startUrl "https://google.com"

if you start keeping env vars for rapid use you could do:

npx @hdr/browser --objective "how many editors are on wikipedia?" --startUrl "https://google.com"