β‘ Ultra-Lightweight local Agentic Code Generator & Self-Repair Loop.
- π Python 3.10+ (using
urllib,json,py_compile) - π¨ Streamlit (UI Dashboard)
- π€ Ollama (
Ornith-1.0-9Bπ¦ ->qwen2.5-coderπ»)
- π
app.py- Single-file app with agent logic, fallback detection, and Streamlit dashboard in under 50 lines. - π
Modelfile- Custom Ollama model configuration. - π
demo_output.md- Expected output logs matching model runs. - π
prime_checker.py- Syntactically verified python code generated by the agent.
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install streamlit
β οΈ Note: The GGUF model files (e.g.,ornith-1.0-9b-Q4_K_M.gguf) are not included in this repository. You must download the model file or clone the model source repository yourself and place the GGUF file in this directory.
ollama create ornith-1.0-9b -f Modelfilestreamlit run app.py- π Self-Repair Loop: Automatically compile-checks code and corrects syntax errors.
- π Auto-Fallback: Auto-detects local models if Ornith is still downloading.
- π¦ Zero-Bloat: Minimal dependencies, no databases, running under 10 seconds.
Ornith Coding Agent β’ Ollama β’ Streamlit β’ Python Code Generator β’ Self-Repair Loop β’ Self-Healing Code β’ Local LLM β’ AI Agent β’ Qwen2.5-Coder β’ Offline AI Code Assistant