MCP Client

OAgent

By samhu1

Desktop AI coding workspace with multi-session chat, MCP integrations, Git/files tooling, and Electron + React UI for agentic development.

Views
2
Repository stars
4
Platforms
Windows, macOS, Linux
Workspace
Desktop
Share resource
Capabilities & compatibility

Use cases

  • Multiple concurrent agent sessions
  • Background task/agent activity streams
  • Tool call rendering with structured outputs
  • Files panel with quick open-in-editor actions
  • Git panel with status, staging, commit, and branch operations
  • Terminal panel with PTY-backed sessions
  • Browser panel for web-assisted coding tasks
  • MCP controls and status inspection
  • Compact mode and permission-mode workflows for safe automation

Platforms

Windows, macOS, Linux

System requirements

- Node.js 20+
- pnpm 10+
- macOS / Windows / Linux

README

OAgent

An open-source, local-model-first desktop app for agentic coding workflows.

MIT License · Contributing · Security

What Is OAgent?

OAgent is an open-source Electron desktop app built for local-first, agentic software engineering workflows.

It is designed for developers who want a coding agent environment that runs locally, stays extensible, and remains transparent. OAgent combines:

  • Multi-session chat and workspace context
  • Native local tooling (Git, files, terminal, browser, MCP)
  • Local-model support via Ollama plus provider flexibility (OpenRouter and protocol-based runtimes)
  • Local-first project/session persistence

OAgent is intended to be a practical open-source base for a local model AI agentic coding app, while still supporting cloud/model-provider workflows when needed.

Why OAgent

  • One place for agent + tools: code conversations, tool calls, and project context in a unified interface.
  • Desktop-native behavior: filesystem, terminal, and Git integrations without browser sandbox limitations.
  • Session continuity: persistent projects/sessions with recovery and restore flows.
  • Protocol-aware runtime: support for both the Agent SDK runtime and OAP/ACP-style runtime flows in the app.
  • Extensible by design: MCP server management and custom tool rendering patterns.

Core Capabilities

  • Multiple concurrent agent sessions
  • Background task/agent activity streams
  • Tool call rendering with structured outputs
  • Files panel with quick open-in-editor actions
  • Git panel with status, staging, commit, and branch operations
  • Terminal panel with PTY-backed sessions
  • Browser panel for web-assisted coding tasks
  • MCP controls and status inspection
  • Compact mode and permission-mode workflows for safe automation

Prerequisites

  • Node.js 20+
  • pnpm 10+
  • macOS / Windows / Linux

Install

git clone https://github.com/samhu1/openagent.git
cd openagent
pnpm install

First Run Setup (packaged app users)

If you downloaded a release build (.dmg, .exe, .AppImage), complete this once before your first prompt:

  1. Open Settings in OAgent.
  2. Configure one provider: OpenRouter or Ollama.
  3. Pick a model and save.

Downloading and launching the app is not enough by itself; at least one provider must be configured before prompts can run.

OpenRouter vs Ollama (quick guide)

  • OpenRouter: cloud-hosted models, easiest setup with an API key, requires internet.
  • Ollama: local models on your machine, more private/local-first, requires model download and local resources.

Security

Please report vulnerabilities privately per SECURITY.md. Do not open public security issues.

Related resources