{"id":73247,"library":"tmc-langchaingo","title":"LangChain Go","description":"Package langchaingo provides a Go implementation of LangChain, a framework for building applications with Large Language Models (LLMs) through composability.","status":"active","version":"0.1.14","language":"go","source_language":null,"source_url":"https://github.com/tmc/langchaingo","tags":["llm","langchain","ai","openai","composability"],"install":[{"cmd":"go get github.com/tmc/langchaingo","lang":"bash","label":"Install github.com/tmc/langchaingo"}],"dependencies":[],"imports":[{"symbol":"langchaingo","correct":"github.com/tmc/langchaingo"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"github.com/tmc/langchaingo/llms/openai\"\n)\n\nfunc main() {\n\tllm, err := openai.New()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tresp, err := llm.Call(context.Background(), \"Hello\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(resp)\n}","lang":"go","description":"Initialize an OpenAI LLM and generate a response."},"warnings":[{"fix":"Pin to a specific version and check release notes before upgrading.","message":"API is unstable and may change between minor versions.","severity":"breaking","affected_versions":"<0.2.0"}],"env_vars":null,"search_vec":"'ai':25 'applic':15 'build':14 'compos':22,27 'framework':12 'go':2,7 'implement':8 'langchain':1,10,24 'langchaingo':4 'languag':18 'larg':17 'llm':23 'llms':20 'model':19 'openai':26 'packag':3 'provid':5","created_at":"2026-06-17T18:49:11.555974+00:00","updated_at":"2026-06-17T18:49:11.555974+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/tmc/langchaingo","github":"https://github.com/tmc/langchaingo","docs":"https://pkg.go.dev/github.com/tmc/langchaingo#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}