🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

cogem-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

cogem-cli

A usable BYOK coding-agent CLI: run a coding task on your own model through the substrate, with keychain login and persisted threads.

unpublished
npmnpm
Version
0.0.2
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

cogem-cli

A usable BYOK coding-agent CLI — run a coding task on your own Gemini model, right in your terminal. The bridge is fetched and supervised automatically: no Rust toolchain, no setup.

Runs on the Bun runtime.

Install + use

bun add -g cogem-cli

GEMINI_API_KEY=<your-key> cg login          # store the key in the OS keychain (once)
cd my-project
cg run "add a multiply function to math.py"  # runs a coding session in the current dir
cg threads                                   # list past threads
cg logout                                    # remove the stored key

After cg login the key is read from the OS keychain, so later runs need no env var (or set GEMINI_API_KEY directly and skip login). A bare cg "<task>" is shorthand for cg run.

CG_MODEL (default gemini-3.5-flash), CG_PORT (default 4011), and CG_DIR (a checked-out cg repo to run a local bridge build instead of the published binary) are optional overrides.

FAQs

Package last updated on 18 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts