Aider
and Local LLMs
AI Sharing sessions2025-07-09 @ Taipei City, Taiwan By Jazz Yao-Tsung Wang Sr. Director of Engineering, TAO Digital Chairman, Taiwan Data Engineering Association |
![]() |
|
|
|
|
I tried
https://aider.chat/docs/languages.html |
|
I dit not yet try
|
Source: https://aider.chat/docs/usage/lint-test.html |
|
|
Reference: https://www.hostinger.com/tutorials/what-is-ollama
CLI
for precise controlOpen WebUI
for visual interaction.macOS
, Linux
, and Windows
.offline
AI research.LAN
|
|
Data Privacy
& Data Security
Use Local LLM |
When your prompt (input data) contains:
|
Use Public LLM |
|
Here are PROs
and CONs
running Aider + Ollama
on different environments:
/model ollama/{OLLAMA_LIST_MODELS}
to use local Ollama model/model gemini/{TAB key}
to use Google Gemini LLMs.
/model gemini-2.5{TAB Key}
use Google Vertex AI LLMs/models {keyword}
to list all supported LLM models matched {keyword}.Create API Key
.env
GEMINI_API_KEY={paste your new key here}
Here are a list of use cases that I use Aider before:
Reverse Engineering
/ask could you give me a high-level overview of this repository?
/ask could you draw a sequence diagram using mermaid.js syntax?
/ask could you draw a class diagram using mermaid.js syntax?
/ask could you draw a package diagram using PlantUML syntax?
Meeting Summary
: From MS Teams Live Caption (JSON file format) git init
.json
)/ask could you summarize this transcript based on different attendees? highlight action items if possible.
Meeting Summary
: From MS Stream Transcript file (WebVTT file format) git init
.vtt
).json
)YouTube
transcripts/ask could you summarize this transcript based on different attendees? highlight action items if possible.
/ask could you separate this transcript based on topics and summarize each topics based on different attendees? please add action items if possible.
based on the transcript, could you create a report for "{MASKED}" project, the following sections are required:
- Project Overview
- Business Objective/Problem Statement
- How will the product/project benefit the dealerships/end customers
Jira Summary
- Monthly Team Achievement Summary git init
/ask could you summarized the following jira exported "summary" into 3 bullet points within 100 words?
Rewrite Program
(1) : From Shell Script to Python script /read-only src/download-sftp-files.sh
/run touch src/download-sftp-files.py
/git add src/download-sftp-files.py
/add src/download-sftp-files.py
Rewrite Program
(2) : Migrate from Selenium to Playwright /add src/get-pages.py
/ask could you rewrite `get-pages.py` using playwright to replace selenium?
/read-only src/get-pages.py
/ask could you create a unit test program for `get-pages.py`?
Aider
Ollama
Data Privacy
& Data Control
Local LLMs
v.s. Public LLMs
"Prompt Engineering"
Learn by
Doing
Supercharging Your Daily Workflow |
![]() |