Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

A lightweight Python client for OpenCode, providing AI assisted coding through Horde's distributed AI network.

License

Notifications You must be signed in to change notification settings

TriDefender/opencode-aihorde

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repositry is now considered obsolete, moved to https://github.com/TriDefender/OpenCorde for further usage.

AI Horde Client

A lightweight Python client for OpenCode, providing AI assisted coding through Horde's distributed AI network.

Auto generator of opencode configuration based on capabilities of currently available models

Setup

Use uv for virtual environment and dependency management:

uv venv
source .venv/bin/activate
# Windows:
.venv\Scripts\activate
uv pip install -r requirements.txt

Usage

Run the server and client:

python main.py

You will be prompted to put in your AI Horde key.

Note

AI Horde currently doesn't support streaming responses. All text generation is batch-based. If OpenCode adds non-streaming support one day this would work.

Files

  • main.py - Client interface
  • server.py - Local server for API calls
  • horde_client.py - Horde API wrapper
  • config_generator.py - Configuration setup

About

A lightweight Python client for OpenCode, providing AI assisted coding through Horde's distributed AI network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages