Skip to content

About

Local AI coding agent desktop app (Python + Ollama) with AST-aware refactoring, regex edits, and automated test runs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Qwen Code Interface

A lightweight desktop interface for local text generation and codebase refactoring

A Python-based developer tool designed for local text generation, AST-aware refactoring, syntax checking, and automated test execution.

Python 3.11 Ollama License


Overview

Qwen Code Interface provides a developer interface for running local text generation models and automating multi-file editing and verification workflows.

Built with Python, it provides tools for directory navigation, regex editing, terminal execution, and test-driven validation.


Key Features

  • Offline Local Execution — Connects directly to local model runtimes via Ollama for on-device generation without external network dependencies.
  • AST Refactoring & Regex Editing — Targeted file modification using contiguous multi-line regex match and syntax tree verification.
  • Automated Test Validation — Automatically executes test commands against modified files and reports runtime traces.
  • Workspace Sandboxing — Non-destructive directory isolation to protect untracked files during automated operations.

Workflow

graph TD
    User([Task / Prompt]) --> Core[Execution Engine]
    
    Core --> Router{Tool Dispatch}
    Router --> ReadFile[File Search & Reader]
    Router --> EditFile[Contiguous Multi-Line Editor]
    Router --> RunTerminal[Test & Compiler Execution]
    
    ReadFile --> Context[Context Accumulator]
    EditFile --> TestRunner[Test Verification]
    RunTerminal --> TestRunner
    
    TestRunner --> ErrorCheck{Tests Pass?}
    ErrorCheck -->|No| FixLoop[Error Trace Analysis]
    FixLoop --> Core
    ErrorCheck -->|Yes| Complete([Complete & Save])
Loading

Getting Started

Prerequisites

  • Python: >= 3.10
  • Ollama: (For offline local execution) installed from ollama.com

Quick Setup

  1. Clone the repository:

    git clone https://github.com/CodeByPartho/Qwen-Coding-Agent.git
    cd Qwen-Coding-Agent
  2. Pull model weights:

    ollama pull qwen2.5-coder:7b
  3. Install dependencies:

    pip install -r requirements.txt

License

This project is licensed under the MIT License.


Built by Partho

About

Local AI coding agent desktop app (Python + Ollama) with AST-aware refactoring, regex edits, and automated test runs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors