Minimal one-file coding agent built on Bun and the Google Gen AI SDK with Gemini 3.5 Flash.
Features: read, write, edit, and unrestricted bash; text, image, PDF, audio, and video input; local JSONL sessions with inline base64 media; non-interactive --prompt, --resume, and --fork; lightweight interactive mode with cancel, undo, and edit.
Warning: nanogem has unrestricted filesystem and shell access. There is no sandbox or confirmation layer.