Clojure integration bridge for the argus-debate-ai Python framework.
Add the dependency to your project. By using the io.github.* group identifier, we comply with Clojars' verified group names.
project.clj)[io.github.argus-ai/argus-bridge "1.0.0"]
deps.edn)io.github.argus-ai/argus-bridge {:mvn/version "1.0.0"}
This package communicates with the Argus framework via a background Python process (argus_bridge.py).
You can configure the bridge behavior via environment variables:
ARGUS_PYTHON: The Python executable to use (default: python3).ARGUS_BRIDGE_PATH: The path to argus_bridge.py (default: bridge/argus_bridge.py relative to execution directory).For production, ensure the argus_bridge.py script is accessible in your distribution and optionally define ARGUS_BRIDGE_PATH.
(require '[argus.bridge :as b])
;; Initializes bridge with default or environment-specified settings
(def bridge (b/make-bridge "argus"))
(def orc (b/create-session bridge "RDCOrchestrator" :init-kwargs {:max_rounds 5}))
(println (b/call-method orc "debate" :args ["Nuclear energy is safe"]))
;; Always clean up the process when done
(b/close-bridge bridge)
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |