Gemini-agent-example  by MikeChan-HK

LangChain agent example using Gemini, no OpenAI API key

created 1 year ago
314 stars

Top 87.1% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides example code for creating Langchain agents using Google's Gemini AI model, offering a free and open-source alternative to OpenAI's API. It targets developers and users looking to build AI-powered applications without incurring API costs, enabling local execution even on less powerful hardware.

How It Works

The project leverages Google's Gemini Pro API, which remains free for projects with billing disabled, to power Langchain agents. This approach allows for the creation of versatile AI agents capable of tasks like chatbots, search, and calculations, all runnable locally via Jupyter Notebook or Google Colab.

Quick Start & Requirements

  • Install via git clone https://github.com/MikeChan-HK/Gemini-agent-example.git
  • Requires Python and Jupyter Notebook or Google Colab.
  • Can run on low-spec PCs and iPads.
  • Official example: Gemini-agent-example.ipynb

Highlighted Details

  • Demonstrates Langchain agent creation without OpenAI API keys.
  • Utilizes Google Gemini Pro API, emphasizing its free tier.
  • Supports local execution on various devices, including low-spec PCs and iPads.
  • Mentions potential future support for Ollama.

Maintenance & Community

  • The project is maintained by MikeChan-HK.
  • Contributions are welcome via pull requests.

Licensing & Compatibility

  • Licensed under the MIT License.
  • Permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

The project is presented as an example and may require modifications for specific use cases. Future updates are dependent on the maintainer's availability.

Health Check
Last commit

1 year ago

Responsiveness

1+ week

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 90 days

Explore Similar Projects

Starred by Addy Osmani Addy Osmani(Engineering Leader on Google Chrome), Victor Taelin Victor Taelin(Author of Bend, Kind, HVM), and
1 more.

chatbox by chatboxai

0.3%
36k
Desktop client app for AI models/LLMs
created 2 years ago
updated 5 days ago
Feedback? Help us improve.