Skip to content

nanogpt-community/nanocode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9,832 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-powered coding agent using NanoGPT.

image

Installation

CLI

bun i -g nanocode@latest

VS Code Extension

Get from open-vsx.org

Desktop Application

Download from releases

Zed Extension

Download from releases, unzip zed-version.zip, then add the folder as a dev extension

Neovim Extension

More info at nanocode.nvim

Configuration

Set your NanoGPT API key:

nanocode auth login

or set it inside nanocode on startup!

Get your API key from nano-gpt.com/api

View your Nano-GPT balance and subscription usage with /nanogpt

The Nano-GPT MCP Server is now built in and automatically enabled, using your API key

Default Models

  • Primary: zai-org/glm-5
  • Thinking: zai-org/glm-5:thinking

All models from NanoGPT are dynamically loaded from the API when your API key is configured.


Why Use This over Opencode with Nano-GPT as a provider?

NanoCode has some improvements for Nano-GPT and some opinionated changes:

  • Models that support reasoning will use the v1thinking endpoint with interleaved thinking enabled by default
  • All models are automatically updated from the nano-gpt api, no need to hardcode them
  • Nano-GPT MCP built in
  • Subscription Model filters + more nanogpt api info added
  • Select preferred providers per model (PAYG ONLY)
  • Vision MCP Support (Admittedly this is a bit hacky, but it works)

Based on OpenCode

This is a fork of OpenCode configured to use NanoGPT as the default provider.


About

The open source coding agent for nano-gpt

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TypeScript 51.4%
  • MDX 44.5%
  • CSS 3.2%
  • Rust 0.5%
  • Astro 0.2%
  • Shell 0.1%
  • Other 0.1%