npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@atlascloudai/opencode

v1.0.3

Published

OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API

Readme

Atlas Cloud Plugin for OpenCode

An OpenCode plugin that integrates Atlas Cloud's OpenAI-compatible API, giving you access to 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek, and more.

Quick Start

1. Install and register the plugin

npx @atlascloudai/opencode

This downloads the plugin and registers it with OpenCode.

Alternative: Global install

npm install -g @atlascloudai/opencode
atlascloudai-opencode

2. Start OpenCode and connect

opencode

Then connect to Atlas Cloud:

  1. Run /connect
  2. Select Atlas Cloud from the provider list
  3. Enter your API key when prompted

3. Restart OpenCode to load models

Exit and restart OpenCode. Your Atlas Cloud models will now be available via /models.

Commands

| Command | Description | |---------|-------------| | /connect | Open provider selection to connect | | /models | List available models |

Available Models

The plugin dynamically fetches all available models from Atlas Cloud. Popular models include:

  • GPT-4o, GPT-4o Mini, GPT-4.1, O1, O3
  • Claude Sonnet 4.5, Claude Opus 4.5
  • Gemini 2.5 Flash, Gemini 2.5 Pro
  • DeepSeek V3.2, DeepSeek R1
  • Kimi K2.5
  • GLM 4.7
  • MiniMax M2.1
  • Qwen 3 Max
  • Grok 4

And many more...

Configuration

API Key Sources (in priority order)

  1. OpenCode auth.json - ~/.local/share/opencode/auth.json
  2. Plugin config - ~/.atlascloud/config.json
  3. Environment variable - ATLASCLOUD_API_KEY

Manual Configuration

If you prefer not to use /connect, you can manually create the config:

Option 1: Environment variable

export ATLASCLOUD_API_KEY=your-api-key

Option 2: Config file (~/.atlascloud/config.json)

{
  "version": "1.0.0",
  "apiKey": "your-api-key"
}

Development

Prerequisites

  • Node.js >= 18.0.0
  • npm or bun
  • OpenCode installed

Local Development

# Clone the repository
git clone https://github.com/AtlasCloudAI/opencode-plugin.git
cd opencode-plugin

# Install dependencies
npm install

# Build
npm run build

# Register plugin locally
node bin/setup.cjs

# Start OpenCode
opencode

Watch Mode

npm run dev

Testing in Docker

For a clean, isolated test environment:

# Build Docker image
make build

# Run container
make run

# Inside container:
node bin/setup.cjs    # Register plugin
opencode              # Start OpenCode

Troubleshooting

Models not showing up

  1. Ensure you've run /connect and selected Atlas Cloud with a valid key
  2. Restart OpenCode after connecting (required to load models)
  3. Try /models to see if Atlas Cloud models appear

Invalid API key error

  1. Verify your key at Atlas Cloud dashboard
  2. Run /connect again and re-enter your key

Plugin not loading

  1. Run npx @atlascloudai/opencode to re-register
  2. Check ~/.config/opencode/opencode.json has the plugin listed

Debug mode

Enable debug logging:

ATLASCLOUD_DEBUG=1 opencode

Architecture

opencode-atlascloud-plugin/
├── bin/
│   └── setup.cjs          # CLI setup script
├── src/
│   ├── index.ts           # Plugin entry point
│   └── server/
│       ├── config.ts      # Configuration management
│       └── models.ts      # Model fetching & formatting
├── dist/                  # Compiled output
├── package.json
└── tsconfig.json

API Reference

Base URL: https://api.atlascloud.ai/v1

The plugin uses Atlas Cloud's OpenAI-compatible API via @ai-sdk/openai-compatible.

License

MIT

Links