amplifthq/opentag

TypeScript

Mention any ACP coding agent from Slack, GitHub, GitLab, Linear, or Lark. OpenTag runs Claude Code, Codex, Cursor and more on your own machine, then replies in-thread with verified, evidence-backed results.

ai-agentscodexgithubslackacpagent-client-protocolclaude-codecoding-agentsdeveloper-toolslocal-first
Sterne-Wachstum
Sterne
1.4k
Forks
77
Wochenwachstum
+7
Issues
2
1.1k1.2k1.3k
Juni 26Juli 26Aug. 26Sept. 26
Artefaktenpm
README

OpenTag logo

English · 简体中文

OpenTag

Your persistent AI teammate in Slack, running on a computer you control.

CI License: MIT

OpenTag gives an engineering channel a teammate that remains reachable through your self-hosted Control Plane, even when its paired computer is offline. Mention it in Slack to queue work; when the Runner is ready, it invokes your coding agent through ACP against the local checkout and reports status, decisions, and evidence back in the same thread.

Your source code, local checkout and worktrees, coding-agent login/session, and GitHub credential stay on the Runner. Slack credentials and the Control Plane's service credentials stay on the Control Plane. It keeps coordination truth—not a copy of your development machine.

Quick start

1. Start the self-hosted presence

Prerequisites: Docker Compose, PostgreSQL through the included Compose profile, and a public HTTPS origin that Slack can reach.

git clone https://github.com/amplifthq/opentag.git
cd opentag/deploy/compose
cp .env.example .env
docker compose --env-file .env up --build

Before the last command, replace every placeholder in .env and create the file-backed Slack and relay-content secrets described in the Compose guide.

2. Pair the computer where work happens

npm install -g @opentag/cli@0.11.0
opentag setup --relay https://relay.example.com
opentag start

Setup configures and pairs one Runner, GitHub Project Target, and ACP executor. The paired-only runtime requires the trusted self-hosted Control Plane URL and bootstrap pairing credential; it has no standalone local mode. When prompted, enter the exact OPENTAG_SLACK_PROJECT_TARGET_ID used by the active Slack binding; setup registers it through the Runner credential and verifies the Control Plane readback before pairing completes. If this machine ran a pre-reset OpenTag checkout, point OPENTAG_CONFIG_HOME and OPENTAG_STATE_DIR at new empty directories. The paired Runner does not reinterpret or rewrite an earlier config or SQLite database. Use opentag pair only to finish an interrupted pairing or pair an existing unpaired configuration. Verify the exact installation before the first real request:

opentag doctor
opentag status

3. Work with the teammate in Slack

@OpenTag investigate the failing check and propose a fix

If the Runner is offline, the request remains visibly queued. If work needs a decision, Slack shows the exact action that needs attention. A provider timeout or ambiguous side effect remains outcome_unknown; OpenTag does not invent a success or blindly replay it.

Why a teammate, not another agent dashboard

  • Present in the channel — the self-hosted relay receives Slack requests and can explain that the Runner is offline instead of disappearing with the laptop.
  • Works where the code already lives — the coding agent runs on the paired, user-controlled computer with its approved local Project Target.
  • Keeps one conversation — requests, queue state, approvals, blockers, and final evidence return to the originating Slack thread.
  • Reports facts, not theater — executor output, Run state, GitHub publication, and provider delivery remain separate facts with separate evidence.
  • Writes only through explicit authority — draft PR publication is a distinct, governed stage; OpenTag does not auto-merge or let chat text broaden access.

How it works

flowchart LR
  S[Slack channel] --> C[Self-hosted Control Plane]
  C --> P[(PostgreSQL)]
  C --> R[Paired Runner]
  R --> A[ACP coding agent]
  A --> W[Local checkout]
  R --> G[GitHub draft PR and readback]
  C --> S

Slack is the only Source App in the supported team profile. GitHub is a Project Target plus an optional publication and evidence provider; it is not a second request inbox. One paired Runner is the execution owner. The Control Plane owns the canonical Run, Attempt, lease, approval, delivery journal, and terminal assessment.

The console exposes Agent Presence as a read-only projection of facts that already exist: active Slack binding, Project Target, fresh Runner readiness, and the binding's current Run. It adds no second lifecycle or mutable presence state.

Presence states

State What it means
available Slack binding, Project Target, Runner, and fresh readiness all exist.
queued A request is durably waiting for the paired Runner.
working The current fenced Attempt is assigned or running on a ready Runner.
needs_attention A decision, reconciliation, or conflicting active work needs a human.
offline The binding exists, but the Runner has no fresh readiness receipt.
setup_required The Slack binding, Project Target, or Runner is incomplete.

These states are projections, not commands. They cannot claim, retry, cancel, or settle work.

Deliberately narrow

The current product path is:

Slack presence → self-hosted Control Plane → one paired Runner
→ one ACP coding agent → optional GitHub draft PR/evidence → Slack

This repository does not currently claim managed hosting, high availability, other Source Apps, GitHub webhook ingress, multi-Runner scheduling, ambient memory, automatic merge, or a general software-factory planner. There is no local_direct compatibility mode: the supported product always pairs a Runner with the self-hosted Control Plane.

AI agent integration

OpenTag's Runner launches configured coding agents through ACP and keeps raw tool output out of the team thread. The repository includes an agent-readable install guide and an OpenTag skill so Codex, Claude Code, and other coding agents can help with local setup without asking users to paste secrets into chat.

Verify the repository

corepack pnpm install --frozen-lockfile
corepack pnpm typecheck
corepack pnpm test
corepack pnpm build

These checks prove local source behavior only. They do not prove a deployed relay, a live Slack delivery, a GitHub publication, or installation-level availability.

Documentation

Contributing

Contributions are welcome. See CONTRIBUTING.md for the local development workflow and pull-request checks.

License

MIT

Ähnliche Repositories
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

JavaScriptnpmMIT Licenseai-agentsanthropic
ecc.tools
255.3k38.2k
NousResearch/hermes-agent

The agent that grows with you

PythonPyPIMIT Licenseaiai-agent
hermes-agent.nousresearch.com
243.9k50.4k
deepseek-ai/deepseek-harness

DeepSeek Harness: Everything is a Plugin.

TypeScriptnpmMIT Licensecordisdsh
deepseek.com/harness
217.7k25.8k
firecrawl/firecrawl

The context API to search, scrape, and interact with the web at scale. 🔥

TypeScriptnpmGNU Affero General Public License v3.0aicrawler
firecrawl.dev
178.5k9.7k
langchain-ai/langchain

The agent engineering platform.

PythonPyPIlibraryMIT Licenseaianthropic
docs.langchain.com/langchain/
146k24.4k
DietrichGebert/ponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

JavaScriptnpmskillMIT Licenseagent-skillsai-agents
ponytail.dev
133.6k7.1k
Graphify-Labs/graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

PythonPyPIskillApache License 2.0claude-codegraphrag
graphify.com
116.4k11.3k
browser-use/browser-use

Agents that use the browser.

PythonPyPIMIT Licensellmai-agents
browser-use.com
114k12.5k
google-gemini/gemini-cli

An open-source AI agent that brings the power of Gemini directly into your terminal.

TypeScriptnpmcliApache License 2.0geminigemini-api
geminicli.com
106.9k14.5k
thedotmack/claude-mem

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

JavaScriptnpmskillApache License 2.0aiai-agents
claude-mem.ai
93.6k8.2k
infiniflow/ragflow

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs

GoGo ModulesApache License 2.0aiai-agents
ragflow.io
90.4k10.7k
bytedance/deer-flow

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of tasks that could take minutes to hours.

PythonPyPIMIT Licenseagentagentic
deerflow.tech
82.2k11.3k