A Resource-Aware Agentic Coding Assistant for Efficient Edge AI Deployment
"Building intelligent software engineering agents that run locally on consumer hardware."
๐ 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
- Ollama: Download from https://ollama.com
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42f34501fb664ff7ddbcba79bf0bcfbf30f1f9930f20524a3ce6307d69c0ca42
|
|
| MD5 |
3b2a885adb20ae28297eab81e30b7e6e
|
|
| BLAKE2b-256 |
f3e4ffcf350ece3ed65e106f565bc116e4ca2f1539ca0d49b99d709ca5f3f773
|
Provenance
The following attestation bundles were made for edgemind-1.0.2.tar.gz:
Publisher:
release.yml on DarkFoot101/EdgeMind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgemind-1.0.2.tar.gz -
Subject digest:
42f34501fb664ff7ddbcba79bf0bcfbf30f1f9930f20524a3ce6307d69c0ca42 - Sigstore transparency entry: 2498546456
- Sigstore integration time:
-
Permalink:
DarkFoot101/EdgeMind@3dc6ac64f1a3ea2e38f5076df9812d9bd27eec29 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/DarkFoot101
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3dc6ac64f1a3ea2e38f5076df9812d9bd27eec29 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59cc93ac741baceb9962fda69a2c4e654fd614e8bd0b540ffbb9ffe61a41c767
|
|
| MD5 |
a33e5beb194a80bc120cb32ed057e984
|
|
| BLAKE2b-256 |
f9e5f0d2e938c0c4ac082d813c0583c9d07dcd085b0f0d37dd3e0e8c8b9466c1
|
Provenance
The following attestation bundles were made for edgemind-1.0.2-py3-none-any.whl:
Publisher:
release.yml on DarkFoot101/EdgeMind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgemind-1.0.2-py3-none-any.whl -
Subject digest:
59cc93ac741baceb9962fda69a2c4e654fd614e8bd0b540ffbb9ffe61a41c767 - Sigstore transparency entry: 2498546459
- Sigstore integration time:
-
Permalink:
DarkFoot101/EdgeMind@3dc6ac64f1a3ea2e38f5076df9812d9bd27eec29 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/DarkFoot101
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3dc6ac64f1a3ea2e38f5076df9812d9bd27eec29 -
Trigger Event:
push
-
Statement type: