DEV Community

Cover image for Google and Anthropic are working on AI agents - so I made an open source alternative
Addy Bhatia
Addy Bhatia

Posted on

1

Google and Anthropic are working on AI agents - so I made an open source alternative

Integrating Ollama, Microsoft vision models and Playwright I've made a simple agent that can browse websites and data to answer your query.

You can even define a JSON schema!

Watch it in action:

Example output:

{
  "events": [
    {
      "name": "Sonu Nigam Live in Concert",
      "date": "Sun, 23 Feb",
      "location": "Phoenix Marketcity, Bengaluru"
    },
    {
      "name": "Rambo Circus - Olympian Circus",
      "date": "Sat, 11 Jan onwards",
      "location": "Olympian circus, J.P nagar"
    },
    {
      "name": "Anubhav Singh Bassi Stand-up Comedy",
      "date": "Sat, 4 Jan onwards",
      "location": "St. John's Auditorium"
    },
    {
      "name": "Aakash Gupta - Daily Ka Kaam Hai",
      "date": "This Weekend",
      "location": "Prestige Centre"
    },
    {
      "name": "Japan Habba",
      "date": "This Weekend",
      "location": "Phoenix Marketcity, Bengaluru"
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

You can see the code here. AI options include Ollama, Anthropic or DeepSeek. All work well but I haven't done a deep comparison yet.

The project is still under development so comments and contributions are welcome!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay