Skip to content

AI-POWERED OPSEC FRAMEWORK✅DeepSeekR2-Agent-Zeros the core(No cloud, fully local & modular)✅ 0✅ Standalone Cross-Platform GUI (Windows, Linux, macOS, Android) ✅ 100% Full API & WebRTC-Prebuilt dela-agents.py for decentralized AI deployments AND Agentic Hierarch(Trustless Riptide Protocol)(Decentralized AI clusters)✅Blockchain, AI,OPSEC&Pentesting

Notifications You must be signed in to change notification settings

SenninTadd/Agent_Samantha_Blackwin

 
 

Repository files navigation

Agent_Samantha_Blackwin

This project provides an experimental framework for building fully local AI agents. It now includes a small retrieval-augmented generation (RAG) example using the open-source Qwen model. The agent can respond using a local text-to-speech engine configured with a British accent.

Features

  • Works completely offline. Models are expected to be available locally.
  • Simple FAISS index for document retrieval.
  • Text-to-speech output using pyttsx3. A British voice is selected by default, but you can specify any installed voice with the voice_name argument. Call list_available_voices() to see voices detected on your system.
  • Example script rag_assistant.py that demonstrates question answering over a small set of documents. Conversation logs can optionally be stored in SurrealDB.

One-click installation

Run one_click_setup.sh on Linux/macOS or one_click_setup.bat on Windows to create a virtual environment, install dependencies, and register the assistant to start automatically whenever you log in. After running the script, the assistant launches immediately and will auto-start on reboot.

Usage

  1. Download the desired Qwen model (for example Qwen/Qwen-7B-Chat) and place it in a local directory.
  2. Install dependencies (or just run the one-click script):
    pip install -r requirements.txt
    Alternatively, execute ./one_click_setup.sh or one_click_setup.bat which will install everything automatically.
  3. Prepare a set of text documents you want the assistant to search through.
  4. Run the example:
    python rag_assistant.py
    Ask a question and the assistant will respond aloud with a British accent. To use a specific installed voice, pass the voice_name argument when creating LocalRAGAssistant, e.g. LocalRAGAssistant(model_path="Qwen/Qwen-7B-Chat", voice_name="lottie"). You can also enable the BMAD Method and Evolve 2 workflow with use_bmad=True and by passing a custom Evolve2Workflow instance.

SurrealDB logging

You can store conversation history using a local SurrealDB instance. Run surreal start to launch the database, then execute the assistant with logging enabled:

python rag_assistant.py

The default configuration assumes the database is available at http://localhost:8000 with the default root credentials. Results will be stored in a conversation table and can be inspected using the Surrealist UI.

React Native interface (Evolve 2 prototype)

A minimal React Native app is included in rn_app/. It provides a simple text-based interface to the assistant and is intended as a starting point for integrating the Evolve 2 workflow engine.

To run the React Native demo (dependencies must be installed beforehand):

cd rn_app
npm start

The demo uses placeholders for backend calls. Connect it to your local Python assistant or Evolve 2 service as needed.

BMAD Method and Evolve 2 integration

workflow_engine.py includes minimal stubs for the BMAD Method and the Evolve 2 workflow engine. Enable these components when creating LocalRAGAssistant to preprocess input or orchestrate multi-step agent behaviors.

Building executables

You can create standalone binaries of rag_assistant.py using PyInstaller.

Linux

pip install pyinstaller
./build_exe.sh

Windows

Run the commands inside a Windows environment:

pip install pyinstaller
build_exe.bat

The resulting executable will appear in the dist/ folder. Because PyInstaller does not cross-compile, you must run the build command on each platform you want to target.

About

AI-POWERED OPSEC FRAMEWORK✅DeepSeekR2-Agent-Zeros the core(No cloud, fully local & modular)✅ 0✅ Standalone Cross-Platform GUI (Windows, Linux, macOS, Android) ✅ 100% Full API & WebRTC-Prebuilt dela-agents.py for decentralized AI deployments AND Agentic Hierarch(Trustless Riptide Protocol)(Decentralized AI clusters)✅Blockchain, AI,OPSEC&Pentesting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.5%
  • JavaScript 23.3%
  • Shell 5.4%
  • Batchfile 4.8%