Skip to content
KrypticKode007Public

About

Auren Ai Digital Assistant : Have any needs or wants not met at satisfactory level today? Try Auren!

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

288 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auren

Auren is an experimental, local-first assistant and robotics software prototype. The currently supported first milestone is the macOS workstation: a Python assistant with SQLite-backed memory, local Ollama inference, a local web HUD, and optional document indexing.

This repository does not implement machine consciousness or a trained multimodal foundation model. Names such as “qualia,” “neuroplasticity,” and “organism” describe experimental software models, not established cognitive or biological capabilities. Many robotics and autonomic features are prototypes; software tests do not establish physical-world safety.

macOS quick start

Requirements: macOS 13+, Python 3.10+, and Ollama.

ollama pull llama3.2:1b
ollama pull qwen2.5-coder:3b
./setup_macos_app.sh
./Launch_Auren.command

The default LLM provider is Ollama on 127.0.0.1. Setting OPENAI_API_KEY alone does not send prompts to a hosted service. External OpenAI-compatible providers require explicit opt-in with LLM_PROVIDER=openai-compatible and provider credentials/configuration. Review SECURITY_WHITEPAPER.md before using sensitive data.

At the You > prompt, try hud, index-dir ./your_folder, recall <query>, self-model, study-self [query], self-code [query], inspect-self core/persistent_self_model.py, interaction-memory on|off|show|clear, self-patch list|show|test|apply, workspace, attention-bench, attention planner (or attention auto), remember-self name=value, goal <text>, or exit. Auren can index text, Markdown, code, CSV, PDF, and DOCX files into local memory. Its source-study feature parses Python files without executing them and stores file hashes and top-level symbols locally; use self-code [query] to inspect the saved inventory and inspect-self <repo-relative.py> to read a bounded source excerpt. Hashes identify the inspected versions, and the inventory can become stale after source changes. Interaction tone memory is off by default on new installations; enabling it stores short local excerpts with labels based on literal text cues, not subjective feelings. interaction-memory show lists those entries and interaction-memory clear deletes them; existing dialogue episode logging continues independently. Auren's self-improvement goal is a programmed software objective, not a felt desire. When explicitly asked, it can save a text-only unified diff across any number of eligible repository files, without an arbitrary patch-size or test-count cap. self-patch test <id> runs the requested tests in a temporary workspace copy using Linux bubblewrap isolation; it requires bwrap and prlimit, and fails closed on other platforms or unsupported Python installation paths. Only a separate, explicit self-patch apply <id> command changes the repository, and only after those tests pass. Auren cannot approve or apply changes itself, commit, or merge them. Retrieval is not a guarantee of correct answers or exact citations. If no model is available, the app reports that it is in retrieval-only mode. Persistent self-model entries remain local and can be inspected or replaced explicitly.

What is implemented

  • Local assistant path: auren_unified.py connects to local Ollama, routes prompts between configured local models, retrieves local memories, and exposes a command interface.
  • Memory and documents: SQLite-backed memory and basic chunking/parsing in core/ and core/document_parser.py.
  • Persistent self-model: Provenance-bearing local facts, active goals, and summarized dialogue episodes are stored in ~/.auren/persistent_self_model.db. This is software state: it does not establish consciousness or subjective experience.
  • Source study and reviewed changes: At startup, Auren parses its checked-out Python files and stores a local inventory with SHA-256 fingerprints, imports, and top-level symbols. study-self [query] refreshes and displays the inventory; self-code [query] searches the latest saved study; inspect-self <path> reads up to 12,000 characters from a repository-contained Python file and compares its current hash with the saved study. For requested code improvements, Auren can save text-only diffs of any size and number of eligible repository files, with test paths for review. self-patch test <id> runs those tests in a retained workspace copy inside a Linux bubblewrap sandbox with network isolation, read-only host paths, and resource limits; it fails closed if the platform or required sandbox tools are unavailable. self-patch apply <id> is a separate, human-issued action that only works after tests pass. It never applies a proposal automatically, commits, or merges. The sandbox does not protect against kernel vulnerabilities. This workflow is not evidence of independent agency or subjective experience.
  • Interaction tone memory: Optional and disabled by default. interaction-memory on stores short excerpts and deterministic text-cue labels from later assistant turns in local SQLite; off, show, and clear manage it. Labels are classifications of visible text, not feelings, emotion diagnosis, or subjective experiences. This toggle controls the extra tone-tagged records; existing dialogue episode logging is unchanged. Enable/manage it in the CLI before using the web HUD; the HUD has no authentication and cannot safely expose memory controls.
  • Global workspace prototype: Registered dialogue, memory, self-model, planning, perception, safety, prediction, conflict, and surprise signals compete for attention. Each signal records an adapter-assigned source reference, evidence status, trace ID, timestamp, and producer-estimated confidence; unregistered producers are marked unknown and cannot win. Safety overrides and explicit attention priorities outrank salience. Competition is event-driven per workspace cycle, not an unbounded background actuator loop, and evidence-bearing payloads are traceable when available. attention-bench compares routing enabled, disabled, and redirected in offline synthetic cases. These are architectural metrics, not evidence of consciousness or real-world decision safety.
  • HUD: FastAPI-based local interface in web_hud.py.
  • Third-eye observer: The third-eye CLI command and third_eye tool summarize current camera telemetry (detector-reported faces, pixel change, and luminance) with explicit evidence and limitations. They do not infer identity, emotion, intent, danger, or off-camera state and are not a safety monitor.
  • Answer evidence: explain-last (or the explain_last_response tool) shows which retrieved memory passed relevance filters, the attention signal selected, the provider/model path, and explicit verification limits for the last response. Retrieval scores are labeled as relevance—not truth probability—and model answers are marked as not independently fact-checked.
  • Experimental robotics: Packet encoding, watchdogs, odometry parsing, and HTTP/UDP bridges exist in core/, with ESP32 firmware in firmware/. Live-sensor mode inhibits physical outputs when tilt data is missing or unsafe; --mock disables physical outputs. Test fixtures and loopback tests are not physical hardware validation.

Tests and development

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements-dev.txt -r requirements.txt
make verify-release

make verify-release runs the full Python suite and C++ tests. The Linux and macOS verification workflows run this gate on pull requests, pushes to main, and v* tags; a tag is only a candidate, not an automatic public release. The Android workflow likewise uploads a version-named debug APK candidate and does not publish a release. For local macOS setup and test instructions, see ONBOARDING.md. Test results do not certify physical robot safety.

For business scope and current commercial readiness, see BUSINESS_OVERVIEW.md, COMMERCIAL_PITCH.md, and PRICING.md. Candidate pass/fail criteria and the go/no-go record are in RELEASE_VERIFICATION.md and RELEASE_CHECKLIST.md.

Controlled release and rollback

  1. Prepare a reviewed, clean commit with release notes and a unique v* candidate tag. Confirm Linux and macOS release-verification checks pass on that exact commit; do not distribute artifacts while checks are pending or failing.
  2. Smoke-test a clean install on the supported workstation target: launch, complete a basic assistant turn, verify local memory persists after restart, and confirm clean shutdown. Android candidates require separate testing on intended Android devices; debug APK builds are not production sign-offs.
  3. Promote manually in stages: maintainer install first, then an explicitly opted-in pilot, then broader distribution only after the pilot meets the release acceptance criteria. No workflow automatically publishes or deploys a release.
  4. Before upgrading an installation, stop the app and back up its local data/configuration. Monitor startup, crashes, and reported regressions during each stage. Any data loss, startup failure, critical regression, or unsafe behavior blocks further rollout.
  5. To roll back, stop distribution, reinstall the previous known-good tagged version, and restore the pre-upgrade data backup if required. Preserve logs and the failed candidate for diagnosis; do not overwrite the known-good tag.

Release acceptance requires passing Linux/macOS test gates, a successful target-machine smoke test, no known critical regressions, and an identified previous version plus restorable backup. Software tests do not certify physical robot safety.

Verification criteria and boundaries

  • A candidate software generation must pass the focused, offline tests/test_evolution_sandbox.py gate. It checks repeatable simulation results, rollback when verification fails, and that generation tuning imports no Android or robotics adapters. Generations must not require Android devices, ROS, serial/GPIO hardware, or physical actuation.
  • The workstation baseline is make verify-release; a passing baseline verifies software behavior only, not Android compatibility or physical robotics safety. Verify those separately on their intended targets, with supervised hardware-in-the-loop tests and an independent emergency stop.
  • Self-patch tests are a separate trust boundary: run only in the documented Linux bubblewrap sandbox, fail closed when it is unavailable, and require a passing result followed by a separate explicit apply command.

The main HUD has a browser microphone button (browser speech-recognition support varies; grant microphone permission and use localhost or HTTPS). CLI microphone and wake-word modes require SpeechRecognition, PyAudio, and openai-whisper; hands-free VAD also requires sounddevice. These packages are optional and are not included in the minimal setup. Install them with .venv/bin/python -m pip install SpeechRecognition PyAudio openai-whisper sounddevice after installing the OS PortAudio development package required by PyAudio. Local Whisper may download model weights on first use.

Voice embodiment commands are recognized by the HUD, CLI listen/wake-word/hands-free inputs, and native STT. Emergency stop remains available; other embodiment actions (including clearing the stop and movement commands) are disabled by default. To explicitly enable them for a private, trusted setup, set AUREN_ENABLE_VOICE_INTENTS=1 before launching Auren. The HUD has no authentication; never enable actuation on a publicly reachable server. Do not rely on software E-Stop logic as the sole safety mechanism for a physical robot.

Linux / Codespaces server mode (experimental)

The macOS app bundle is not available on Linux. For a local Linux HUD, install Ollama for Linux, then pull the models used for chat and semantic retrieval:

ollama pull llama3.2:3b
ollama pull qwen2.5-coder:3b
ollama pull nomic-embed-text

In one terminal, start Ollama in local-only mode with bounded model residency:

OLLAMA_HOST=127.0.0.1:11434 OLLAMA_NO_CLOUD=1 OLLAMA_MAX_LOADED_MODELS=2 OLLAMA_NUM_PARALLEL=1 OLLAMA_KEEP_ALIVE=2m ollama serve

In another terminal, from the repository root:

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
FAST_MODEL=llama3.2:3b LLM_MODEL=llama3.2:3b .venv/bin/python -u auren_unified.py --server --no-voice --no-vision

Open http://127.0.0.1:8765/. The HUD binds to loopback only; in Codespaces, forward port 8765 privately. The HUD has no authentication, so do not make the forwarded port public. The 1B llama3.2:1b model is a lower-memory alternative. On CPU-only hosts, larger models can be slow.

Git commit and push approval hooks are stored in .githooks. Install them in each clone with bash scripts/install_git_hooks.sh; the macOS setup script does this automatically. The hooks require an interactive owner approval phrase and reject non-interactive Git operations.

Scope and status

The initial goal is to make the workstation assistant, memory, and document workflow dependable and verifiable. Android overlay behavior, multi-device mesh, autonomous patrol, self-modifying tools, and advanced robotics claims remain experimental until separately tested on their intended devices.

About

Auren Ai Digital Assistant : Have any needs or wants not met at satisfactory level today? Try Auren!

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages