Skip to content

Jemo69/harness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harrness

A CLI coding assistant powered by OpenRouter's LLM API.

Setup

pip install python-dotenv openrouter

Create a .env file with your API key:

OPENROUTER_API_KEY=your_api_key_here

Usage

python main.py

The assistant will prompt for input. Type your request and press Enter. The LLM can use three tools:

  • read_file - Read a file's contents
  • list_files - List files in a directory
  • edit_file - Edit a file (replace text or create new files)

When the LLM needs a tool, it responds with:

tool: TOOL_NAME({"arg": "value"})

Tool results are fed back to the LLM for context.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages