Skip to main content

EdgeMind V2.1

A Resource-Aware Agentic Coding Assistant for Efficient Edge AI Deployment

"Building intelligent software engineering agents that run locally on consumer hardware."

Python LangGraph Ollama SQLite Platform Status


๐Ÿ“– Overview

EdgeMind is a terminal-first autonomous software engineering assistant designed to operate entirely on local hardware.

Unlike conventional AI coding assistants that rely heavily on cloud infrastructure, EdgeMind focuses on resource-aware execution, dynamic model routing, streaming agent activity, and context-aware intent routing to perform complex software engineering tasks locally.

EdgeMind behaves like a senior software engineering companion capable of:

  • ๐Ÿง  Context-Aware Intent Routing: Automatically distinguishes between code execution tasks, follow-up questions ("What did you change?", "Why?"), and conversational architecture discussions.
  • โšก Real-Time Streaming Agent Activity: Live progress updates (โ— Understanding request..., โœ“ Found bad.java, โ†’ Analyze โ†’ Fix โ†’ Convert to Python, etc.).
  • ๐Ÿค– Intelligent Model Manager: Automatically discovers installed local Ollama models (e.g. qwen2.5-coder:7b, codellama, phi3) and uses available local models without forcing unnecessary multi-GB downloads.
  • ๐Ÿ› ๏ธ Autonomous Code Creation & Modification: Intelligently infers whether a new file is required (e.g. bad.java -> bad.py) versus modifying an existing file (fix bad.py).
  • ๐Ÿ›ก๏ธ Hardened Multi-Layer Verification: Disk-level post-write inspection, syntax validation, backup exclusion, and project-root security boundary enforcement.
  • ๐Ÿ—‚๏ธ Enriched SQLite Project Memory: Remembers execution requests, plans, diffs, analysis findings, and validation results across interactive sessions.

๐ŸŽฏ Vision

EdgeMind explores a central research question:

Can autonomous software engineering agents operate efficiently on local consumer hardware while intelligently adapting to limited computational resources and user intent?

The project combines:

  • Edge AI & Local Inference (Ollama)
  • Agentic AI (LangGraph execution graphs)
  • Resource-Aware Computing
  • Real-Time Streaming Agent Activity
  • Persistent Project Memory (SQLite)

โœจ Core Features in V2.1

1. Context-Aware Conversation & Follow-Up Routing

EdgeMind distinguishes execution requests from follow-up questions and conversational inquiries:

  • Follow-Up Questions ("What did you change?", "Why did you change it?", "Explain that"): Loads previous execution context and SQLite history to explain edits without altering files or running new plans.
  • Conversational Queries ("What do you think about this architecture?", "Do you think this approach is good?"): Responds conversationally using active project context as a pair-programming companion without triggering file edits.

2. Real-Time Streaming Agent Activity

Exposes safe, user-facing agent activity events live during execution:

  โ— Understanding request...
  โ— Identifying source file...
  โœ“ Found bad.java
  โ— Determining requested operation...
  โ†’ Analyze โ†’ Fix โ†’ Convert to Python
  โ— Creating execution plan...
  โœ“ 3 tasks planned
  โ— Analyzing bad.java...
  โœ“ Analysis complete
  โ— Generating Python implementation...
  โœ“ Generated bad.py
  โ— Validating generated code...
  โœ“ Python syntax valid
  โ— Reviewing changes...
  โœ“ Source preserved

3. Intelligent Model Manager & First-Run Setup

  • Automatically detects installed local Ollama models.
  • Uses existing local models (e.g. qwen2.5-coder:7b, codellama, deepseek-coder, phi3:mini) without requiring downloads.
  • If no model is present, recommends a resource-aware fallback (qwen2.5-coder:3b) and prompts before downloading (Download model? [Y/n]).

4. Enriched Execution Summary & File Review

Reports comprehensive file status and validation results:

Files Status:
  Created  : bad_algorithm.py (NEW FILE)
  Modified : None
  Preserved: bad.java (UNTOUCHED)

Validation & Review:
  โœ“ Source file preserved: /path/to/bad.java
  โœ“ Target file created: /path/to/bad_algorithm.py
  โœ“ Syntax validation passed: Validation Passed

๐Ÿ—๏ธ Architecture

                       User Prompt
                            โ”‚
                            โ–ผ
                  Intent Router (V2.1)
           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
           โ–ผ                โ–ผ                โ–ผ
     Conversational     Follow-Up         Execution
        Handler          Handler           Request
           โ”‚                โ”‚                โ”‚
           โ”‚           (Load Memory          โ–ผ
           โ”‚           & SessionState)  LangGraph Engine
           โ”‚                โ”‚           (Planner -> Discover ->
           โ”‚                โ”‚            Router -> Executor ->
           โ”‚                โ”‚            Reviewer -> Memory)
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                            โ–ผ
                 Activity Streamer & CLI

โš™๏ธ Installation & Setup

Install via PyPI

pip install edgemind

To upgrade an existing installation:

pip install -U edgemind

Launch the interactive CLI shell:

edgemind

Install from Source

git clone https://github.com/Akhilesh-Venkiteswaran/EdgeMind.git
cd EdgeMind
python3 -m venv venv
source venv/bin/activate
pip install -e .

Prerequisites

  1. Ollama: Download from https://ollama.com
  2. Local Models: EdgeMind automatically detects any installed model. Recommended models:
    ollama pull qwen2.5-coder:3b
    

๐Ÿงช Running Tests

Run the complete test suite:

# Deterministic Unit Tests (No Ollama required)
pytest -m "not ollama" -v

# Live Ollama Integration Tests
pytest -m ollama -v

# Complete Test Suite (All 40+ tests)
pytest -v

๐Ÿ“œ License

MIT License. Free to use, modify, and distribute.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgemind-1.0.2.tar.gz (53.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgemind-1.0.2-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file edgemind-1.0.2.tar.gz.

File metadata

  • Download URL: edgemind-1.0.2.tar.gz
  • Upload date:
  • Size: 53.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for edgemind-1.0.2.tar.gz
Algorithm Hash digest
SHA256 42f34501fb664ff7ddbcba79bf0bcfbf30f1f9930f20524a3ce6307d69c0ca42
MD5 3b2a885adb20ae28297eab81e30b7e6e
BLAKE2b-256 f3e4ffcf350ece3ed65e106f565bc116e4ca2f1539ca0d49b99d709ca5f3f773

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgemind-1.0.2.tar.gz:

Publisher: release.yml on DarkFoot101/EdgeMind

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgemind-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: edgemind-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for edgemind-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59cc93ac741baceb9962fda69a2c4e654fd614e8bd0b540ffbb9ffe61a41c767
MD5 a33e5beb194a80bc120cb32ed057e984
BLAKE2b-256 f9e5f0d2e938c0c4ac082d813c0583c9d07dcd085b0f0d37dd3e0e8c8b9466c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgemind-1.0.2-py3-none-any.whl:

Publisher: release.yml on DarkFoot101/EdgeMind

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.0.4

2 files

1.0.3

2 files

This release

1.0.2 This release

2 files

1.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page