Open-Source Terminal Coding Agent 'OpenHarness'

The article describes the development of an open-source terminal coding agent called OpenHarness, which provides 17 tools and 16 slash commands to work with local Ollama models and various AI APIs like OpenAI and Anthropic.

đź’ˇ

Why it matters

OpenHarness provides an open-source alternative to cloud-based code assistants, allowing developers to leverage local language models and maintain control over their coding workflow.

Key Points

  • 1OpenHarness is an open-source terminal coding agent with 17 tools and 16 slash commands
  • 2It works with local Ollama models as well as OpenAI, Anthropic, OpenRouter, Deepseek, and Qwen APIs
  • 3Features include git-safe auto-commits, headless mode for CI/CD, and permission gates to approve agent actions
  • 4Built using TypeScript, React+Ink, and Zod for tool schemas and async generators for streaming

Details

OpenHarness is an open-source project that aims to provide a terminal-based coding agent experience similar to cloud-based code assistants, but with the ability to work with local Ollama language models for free, private, and API-key-free usage. The agent offers 17 tools, including file management, bash commands, web search, task management, and Jupyter notebook integration, as well as 16 slash commands for common actions like diff, undo, commit, and cost estimation. Key features include git-safe auto-commits, a headless mode for CI/CD integration, and permission gates to approve the agent's actions. The project is built using TypeScript, React+Ink for the terminal UI, Zod for tool schemas, and async generators for streaming functionality.

Like
Save
Read original
Cached
Comments
?

No comments yet

Be the first to comment

AI Curator - Daily AI News Curation

AI Curator

Your AI news assistant

Ask me anything about AI

I can help you understand AI news, trends, and technologies