packages feed

agentic-0.2.0.2: agentic.cabal

cabal-version:      3.0
name:               agentic
version:            0.2.0.2
synopsis:           Composable, inspectable agentic workflows mixing LLMs and Jev
description:
  Typed agentic workflows built from Arrow combinators. A flow is a description: you can describe it as a tree, Mermaid or Graphviz before running anything, then interpret it against System One (Jev) and System Two (an LLM) providers. This is the core: flows, contracts, questions, the runtime and the interpreter. It depends only on base and text.
license:            BSD-2-Clause
license-file:       LICENSE
author:             Tom Wells
maintainer:         drshade@gmail.com
copyright:          2026 Tom Wells
category:           AI
homepage:           https://github.com/drshade/haskell-agentic
bug-reports:        https://github.com/drshade/haskell-agentic/issues
build-type:         Simple
extra-doc-files:
  CHANGELOG.md
  README.md
tested-with:        GHC ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2 || ==9.14.1

source-repository head
  type:     git
  location: https://github.com/drshade/haskell-agentic.git
  subdir:   agentic

common shared
  default-language: GHC2021
  default-extensions:
    DataKinds
    DefaultSignatures
    DeriveAnyClass
    DerivingVia
    GADTs
    LambdaCase
    OverloadedStrings
    RankNTypes
  ghc-options:      -Wall -Wno-name-shadowing

library
  import:           shared
  hs-source-dirs:   src
  exposed-modules:
    Agentic
    Agentic.Contract
    Agentic.Core
    Agentic.Describe
    Agentic.Interpret
    Agentic.Questions
    Agentic.Runtime
    Agentic.Schema
    Agentic.Scripted
    Agentic.Settings
    Agentic.Value
    Agentic.ViaLLM
  build-depends:
    , base  >=4.18 && <5
    , text  >=2.0  && <2.2

test-suite agentic-test
  import:           shared
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Spec.hs
  build-depends:
    , agentic          ==0.2.*
    , base             >=4.18 && <5
    , hspec  >=2.10 && <3
    , text             >=2.0 && <2.2
-- The core without GHC-only features, in a pure monad. CI also runs this same
-- file under MicroHs.
test-suite agentic-portable-test
  import:           shared
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Portable.hs
  build-depends:
    , agentic
    , base
    , text