project: agent-one by @iamserda
A crude, local-first take on Claude Code, wired into Google’s Gemini API for code-aware prompts and quick experiments.
- Routes your prompts to Gemini for code-focused replies.
- Leaves room to grow into an editor/agent loop (file edits, refactors, notes).
- Stays small and hackable for rapid prototyping.
-
Install Python 3.12+ and create a virtualenv.
-
Add your Gemini key to
.env:GOOGLE_API_KEY=your-key-here
-
Install deps (uses
uv; swap for pip if you prefer):uv syncuv run python main.py
- Teach the agent to read/write files and summarize diffs.
- Add prompt presets for “explain”, “review”, “refactor”.
- Wire in tests around the Gemini client and prompt formatting.