Skip to content

nanogpt-community/nanocode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10,727 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-powered coding agent using NanoGPT.

image

Notice: Due to not having much time to work on nanocode, only the CLI will continue to be updated for now!


Installation

CLI

bun i -g nanocode@latest

VS Code Extension

Get from open-vsx.org

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)
  • NanoProxy added and enabled by default

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

 
 
 

Contributors

Languages

  • TypeScript 55.1%
  • MDX 40.4%
  • CSS 3.1%
  • JavaScript 0.6%
  • Rust 0.5%
  • Astro 0.2%
  • Other 0.1%