Comfort files to set up CleverAgents.

This commit is contained in:
2025-10-01 17:21:17 -07:00
parent 4947b17521
commit a0dd4f8b6a
3 changed files with 34 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@ hs_err_pid*
/findbugs/
/target/
**/.swarm/
**/.venv
#intellij
.idea/
+18
View File
@@ -0,0 +1,18 @@
let
pkgs = import <nixpkgs> {};
lib-path = with pkgs;
lib.makeLibraryPath [
stdenv.cc.cc
];
in
pkgs.mkShell {
packages = with pkgs; [
python312
(poetry.override {python3 = python312;})
uv
];
shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${lib-path}
'';
}
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env zsh
# This code will set up the Python environment for running this code.
# Run this code by typing `nix-shell`, then `source venv.sh`. Note that
# running `venv.sh` without `source` will only install everything; it will
# not change your terminal to use the correct environment.
python -m venv .venv
source .venv/bin/activate
pip install -e .
pip install click 'rx>=3.2.0' jinja2 pystache pyyaml 'langchain-core>=0.3.0' 'langchain-openai>=0.2.0' 'langchain-anthropic>=0.2.0' 'langchain-google-genai>=2.0.0' aiohttp
export PYTHONPATH=$(pwd)/src:$PYTHONPATH