# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "nerve-ai" version = "0.1.2" authors = ["Simone Margaritelli "] description = "Nerve is a tool that allows creating stateful agents with any LLM of your choice - without writing a single line of code. The tool provides to the model a framework of functionalities for planning, saving or recalling memories, etc by dynamically adapting the prompt and making it stateful over multiple inferences. The model will be able to access and use these functionalities in order to accomplish the task you provided." homepage = "https://github.com/evilsocket/nerve" readme = "README.md" keywords = [ "llm", "agent", "stateful-agents", "ai", ] license = "GPL-3.0" repository = "https://github.com/evilsocket/nerve" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [[bin]] name = "nerve" path = "src/main.rs" [dependencies.anyhow] version = "1.0.86" [dependencies.async-trait] version = "0.1.80" [dependencies.bitcode] version = "0.6.0" features = ["serde"] [dependencies.chrono] version = "0.4.38" [dependencies.clap] version = "4.5.6" features = ["derive"] [dependencies.colored] version = "2.1.0" [dependencies.duration-string] version = "0.4.0" optional = true [dependencies.env_logger] version = "0.11.3" [dependencies.glob] version = "0.3.1" [dependencies.groq-api-rs] version = "0.1.0" optional = true [dependencies.human_bytes] version = "0.4.3" [dependencies.indexmap] version = "2.2.6" [dependencies.intertrait] version = "0.2.2" [dependencies.itertools] version = "0.13.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.libc] version = "0.2.155" [dependencies.log] version = "0.4.22" [dependencies.memory-stats] version = "1.1.0" [dependencies.mini-rag] version = "0.2.3" [dependencies.ollama-rs] version = "0.1.9" features = [ "rustls", "tokio", "chat-history", ] optional = true default-features = false [dependencies.openai_api_rust] version = "0.1.9" optional = true [dependencies.rayon] version = "1.10.0" [dependencies.regex] version = "1.10.5" [dependencies.reqwest] version = "0.12.5" features = ["rustls-tls"] default-features = false [dependencies.serde] version = "1.0.203" features = [ "derive", "serde_derive", ] [dependencies.serde_trim] version = "1.1.0" [dependencies.serde_yaml] version = "0.9.34" [dependencies.sha256] version = "1.5.0" [dependencies.simple-home-dir] version = "0.3.5" [dependencies.tokio] version = "1.38.0" [dependencies.url] version = "2.5.2" [dependencies.xml-rs] version = "0.8.20" [features] default = [ "ollama", "groq", "openai", "fireworks", ] fireworks = ["dep:openai_api_rust"] groq = [ "dep:groq-api-rs", "dep:duration-string", ] ollama = ["dep:ollama-rs"] openai = ["dep:openai_api_rust"]