Skip to content

Use langchain agents in go and have a crewai like experience to build tools

Notifications You must be signed in to change notification settings

amritsingh183/golangchainagents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use this module

Simply get the module using go get

go get github.com/amritsingh183/golangchainagents

How to define and use the toolBox

You may checkout the full examples:

Langchain agents using localollama models

  • Create local model using ollama
  • Checkout ToolBox and examples usage at mock of Taxi Booking tool and weather checking tool which allows to have a similar experience that you get while using tools in crewai.
  • The examples/models help you get tool-enabled LLM (credits: ollama)
  • Langchain itslef is very powerful and easy to use, but this repo helps you to build tools and integrate them with lanchain with just few lines of code, see ToolBox. All you need is just implement GetsWorkDone interface. Check the taxi and weather tools mentioned above.
  • This repository contains code which enables you to make function/tool calls using small large language models (llms). This helps you to build and try AI agents locally. The code uses github.com/tmc/langchaingo/llms/openai to make calls to local ollama models.
  • Since most of us have less than 8GB of GPU, we can use this code easily and still have fun with agents on our own machines.

About

Use langchain agents in go and have a crewai like experience to build tools

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages