langchain-hs-0.0.5.0: langchain-hs.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack
name: langchain-hs
version: 0.0.5.0
synopsis: Pure functional LLM agent framework and multi-agent graph engine in Haskell
description: Build LLM-powered applications, ReAct agents, and LangGraph-style stateful workflows in Haskell with zero unsafePerformIO.
category: AI
homepage: https://github.com/tusharad/langchain-hs#readme
bug-reports: https://github.com/tusharad/langchain-hs/issues
author: Tushar Adhatrao
maintainer: tusharadhatrao@gmail.com
copyright: 2025-2026 Tushar Adhatrao
license: MIT
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.12.4
, GHC == 9.10.3
, GHC == 9.8.4
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/tusharad/langchain-hs
library
exposed-modules:
Langchain.Agent.PlanAndExecute
Langchain.Agent.ReAct
Langchain.Cache.Core
Langchain.Callback.Manager
Langchain.Chain.MapReduce
Langchain.Chain.RetrievalQA
Langchain.DocumentLoader.Core
Langchain.DocumentLoader.Csv
Langchain.DocumentLoader.DirectoryLoader
Langchain.DocumentLoader.FileLoader
Langchain.Embeddings.Core
Langchain.Embeddings.Ollama
Langchain.Embeddings.OpenAI
Langchain.Guardrail.Core
Langchain.MCP.Client
Langchain.Memory.Core
Langchain.Memory.Entity
Langchain.Memory.Summary
Langchain.Observability
Langchain.OutputParser.Core
Langchain.OutputParser.Structured
Langchain.Prelude
Langchain.PromptTemplate.Chat
Langchain.PromptTemplate.Chat.ChatPromptTemplate
Langchain.PromptTemplate.Chat.MessagesPlaceholder
Langchain.PromptTemplate.FewShot
Langchain.PromptTemplate.Prompt
Langchain.PromptTemplate.String
Langchain.Provider.Gemini
Langchain.Provider.Ollama
Langchain.Provider.OpenAI
Langchain.Resilience.CircuitBreaker
Langchain.Resilience.Retry
Langchain.Retriever.BM25
Langchain.Retriever.Core
Langchain.Retriever.Hybrid
Langchain.TextSplitter.Character
Langchain.TextSplitter.Code
Langchain.TextSplitter.Markdown
Langchain.TextSplitter.RecursiveCharacter
Langchain.TextSplitter.Token
Langchain.Tool.Async
Langchain.Tool.Binding
Langchain.Tool.Calculator
Langchain.Tool.Core
Langchain.Tool.FileSystem
Langchain.Tool.GenericSchema
Langchain.Tool.Shell
Langchain.VectorStore.Core
Langchain.VectorStore.InMemory
Langchain.VectorStore.SqliteVec
other-modules:
Paths_langchain_hs
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
aeson ==2.*
, async ==2.2.*
, base >=4.17 && <5
, bytestring >=0.10 && <0.13
, conduit >=1.2 && <1.4
, containers >=0.6 && <0.9
, directory >=1.3.6 && <1.4
, filepath >=1.4 && <2
, format-heavy ==0.1.*
, http-client ==0.7.*
, http-client-tls >=0.3 && <0.5
, http-conduit ==2.*
, http-types >=0.11 && <0.13
, langchain-hs-core ==0.0.5.*
, langchain-hs-graph ==0.0.5.*
, mtl >=2.2 && <2.4
, ollama-haskell >=0.4.0.0 && <0.5
, openai >=2.2.1 && <3
, process ==1.6.*
, random ==1.2.*
, scientific ==0.3.*
, servant ==0.20.*
, servant-client ==0.20.*
, servant-client-core ==0.20.*
, servant-conduit ==0.16.*
, servant-event-stream ==0.4.*
, sqlite-simple >=0.4.18 && <0.5
, stm ==2.5.*
, text >=1.2 && <3
, time >=1.9 && <1.15
, transformers >=0.5 && <0.7
, vector >=0.12 && <0.14
default-language: Haskell2010
test-suite langchain-hs-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Test.Langchain.Agent.AdvancedAgentsSpec
Test.Langchain.Agent.ReAct
Test.Langchain.Cache.CacheSpec
Test.Langchain.Callback.CallbackManagerSpec
Test.Langchain.Chain.ChainsSpec
Test.Langchain.Chain.RetrievalQASpec
Test.Langchain.DocumentLoader.Core
Test.Langchain.DocumentLoader.CsvSpec
Test.Langchain.DocumentLoader.DirectoryLoader
Test.Langchain.Error
Test.Langchain.Graph.CompilationSpec
Test.Langchain.Guardrail.GuardrailSpec
Test.Langchain.Integration.FullRagE2ESpec
Test.Langchain.Integration.OllamaChatSpec
Test.Langchain.Integration.OllamaEmbeddingSpec
Test.Langchain.Integration.OllamaStreamSpec
Test.Langchain.Integration.OllamaToolSpec
Test.Langchain.Integration.ReActAgentE2ESpec
Test.Langchain.Integration.StateGraphE2ESpec
Test.Langchain.Integration.StreamingCachingRetryE2ESpec
Test.Langchain.MCP.McpSpec
Test.Langchain.Memory.Core
Test.Langchain.Memory.EntitySpec
Test.Langchain.Memory.SummarySpec
Test.Langchain.Memory.TokenBufferMemory
Test.Langchain.ObservabilitySpec
Test.Langchain.OutputParser.AdvancedParsersSpec
Test.Langchain.OutputParser.Core
Test.Langchain.PromptTemplate.Chat.ChatPromptTemplateSpec
Test.Langchain.PromptTemplate.Chat.MessagesPlaceholderSpec
Test.Langchain.PromptTemplate.FewShotSpec
Test.Langchain.PromptTemplate.PromptSpec
Test.Langchain.Property.CheckpointerSpec
Test.Langchain.Property.ErrorSpec
Test.Langchain.Property.MessageSpec
Test.Langchain.Property.PromptTemplateSpec
Test.Langchain.Property.RunnableSpec
Test.Langchain.Property.TextSplitterSpec
Test.Langchain.Provider.FixturesSpec
Test.Langchain.Provider.Gemini
Test.Langchain.Provider.Mock
Test.Langchain.Provider.Ollama
Test.Langchain.Provider.OllamaConversionSpec
Test.Langchain.Provider.OpenAI
Test.Langchain.Provider.TestSseServer
Test.Langchain.RegressionSpec
Test.Langchain.Resilience.CircuitBreakerSpec
Test.Langchain.Resilience.RetrySpec
Test.Langchain.Retriever.BM25Spec
Test.Langchain.Retriever.Core
Test.Langchain.Retriever.HybridSpec
Test.Langchain.TestHelpers
Test.Langchain.TextSplitter.Character
Test.Langchain.TextSplitter.CodeSpec
Test.Langchain.TextSplitter.MarkdownSpec
Test.Langchain.TextSplitter.RecursiveCharacterSpec
Test.Langchain.TextSplitter.TokenSpec
Test.Langchain.Tool.AdvancedToolsSpec
Test.Langchain.Tool.Calculator
Test.Langchain.Tool.FileSystem
Test.Langchain.Tool.Shell
Test.Langchain.VectorStore.Core
Test.Langchain.VectorStore.SqliteVecSpec
Paths_langchain_hs
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, aeson
, aeson-qq
, async
, base >=4.17 && <5
, bytestring
, conduit >=1.2 && <1.4
, containers
, directory
, filepath
, format-heavy ==0.1.*
, http-client ==0.7.*
, http-client-tls >=0.3 && <0.5
, http-conduit
, http-types
, langchain-hs
, langchain-hs-core
, langchain-hs-graph
, mtl >=2.2 && <2.4
, ollama-haskell >=0.4.0.0 && <0.5
, openai >=2.2.1 && <3
, process ==1.6.*
, random ==1.2.*
, resourcet >=1.2 && <1.4
, scientific ==0.3.*
, servant ==0.20.*
, servant-client ==0.20.*
, servant-client-core ==0.20.*
, servant-conduit ==0.16.*
, servant-event-stream ==0.4.*
, sqlite-simple >=0.4.18 && <0.5
, stm ==2.5.*
, tasty
, tasty-hunit
, tasty-quickcheck
, temporary
, text
, time >=1.9 && <1.15
, transformers >=0.5 && <0.7
, vector >=0.12 && <0.14
, wai
, warp
default-language: Haskell2010