Catalog PyPI
Back to packageRELEASE DETAILS

0.5.2

PyPI

agent-chat-gateway

Daemon that bridges chat platforms (Rocket.Chat and more) to AI agent backends (Claude, OpenCode)

agentaichatclaudegatewayllmopencoderocketchat
Published8 Sept 2026
Direct dependencies9
Transitive dependenciesNot calculated

README

Version 0.5.2 documentation

agent-chat-gateway

CI Docker Python License Stars

Turn your AI agent into a team-shared chatbot — in minutes.

Already running Claude Code or OpenCode? agent-chat-gateway connects it to your team's chat system (Rocket.Chat, Mattermost, and more) so everyone can talk to it directly from chat — no terminal required, no code changes to your agent.

Inspired by OpenClaw's vision of making AI agents accessible from any messaging app — built for the team layer.

How it compares to Claude Code Channels: Claude Code's native Channels feature connects a single session to Telegram, Discord, or iMessage — great for personal use. agent-chat-gateway is built for teams: multiple agents, multiple chat systems, per-user roles, human oversight for sensitive operations, and shared sessions across your whole workspace.


Features

  • 💬 Works with Rocket.Chat and Mattermost — and extensible to Slack, Discord, or any other chat system you use
  • 🤖 Bring your own agent — Claude Code and OpenCode work out of the box; plug in any other agent too
  • 👥 User-aware in chat — the agent knows who sent each message and can personalize tone, language, and style per person using room profiles
  • 🔒 Owner & Guest roles — control who can do what, with different permissions per role
  • 🛡️ Human oversight for sensitive actions — the agent pauses and asks for your approval before executing risky operations like file writes or shell commands
  • 🔗 Continue your session remotely — pin a chat room to an existing agent session and pick up right where you left off, from anywhere
  • 📎 File attachments — send files in chat and the agent can read and work with them
  • 🧠 Context injection — pre-load domain knowledge, system prompts, or project context into the agent at startup
  • ⚡ Multiple chat systems at once — connect to several chat platforms simultaneously
  • ⏰ Built-in task scheduler — let the agent schedule recurring or one-shot tasks directly from chat ("remind me in 5 minutes", "run daily standup at 09:00") without any infrastructure setup
  • 🤝 Agent-to-agent collaboration — let multiple AI agents collaborate in a shared room; built-in loop protection keeps conversations bounded and human-observable
  • 🛠️ Interactive config TUI — agent-chat-gateway config gives you a full-screen editor with validation, provenance tracking, and safe writes, instead of hand-editing YAML
  • 🧪 Voice gateway (experimental) — connect your agent to Siri via iOS Shortcuts; any phone becomes a zero-hardware voice interface with no custom wake word infrastructure

What's Supported

Supported todayCan be extended
Chat platformsRocket.Chat, MattermostSlack, Discord, and others
Agent backendsClaude Code, OpenCodeAny agent with a CLI interface
VoiceiOS Shortcuts (experimental)Android via Tasker, dedicated hardware

Quick Start

The easiest way to install is to ask your AI agent to do it for you — it handles dependencies, configuration, and any troubleshooting automatically.

In Claude Code or OpenCode, run this prompt:

Please install agent-chat-gateway by following the instructions at https://raw.githubusercontent.com/HammerMei/agent-chat-gateway/main/docs/install-agent.md

Option B — Docker (no local dependencies)

If you'd rather skip installing Python, Node.js, or Claude Code locally, run ACG in a container:

# 1. Copy the example directory to your deployment location
cp -r docker/docker-compose.example my-acg
cd my-acg

# 2. Fill in your credentials and settings
#    .env                — Claude Code OAuth token (see file for instructions)
#    config/config.yaml  — chat platform credentials (Rocket.Chat/Mattermost),
#                           owners, rooms, agents — file gets chmod 600 automatically

# 3. Start
docker compose up -d

# Logs
docker compose logs -f

See docker/docker-compose.example/ for the full annotated setup — all files are pre-structured and ready to fill in.

Prefer a native install? See INSTALL.md for step-by-step instructions.


Running the Gateway

# Start the gateway
agent-chat-gateway start

# Check status
agent-chat-gateway status

# Stop the gateway
agent-chat-gateway stop

See docs/user-guide.md for the full CLI reference, configuration options, and usage examples.


Documentation

DocumentDescription
INSTALL.mdManual installation guide
docs/user-guide.mdConfiguration reference, CLI usage, and operational guide
docs/architecture.mdSystem architecture and module breakdown
docs/permission-reference.mdRoles, permissions, and human oversight deep dive
docs/supported-features.mdSupported features, known limitations, and roadmap
docs/requirements.mdFunctional specification and behavioral requirements
docs/scheduling.mdBuilt-in task scheduler — recurring and one-shot jobs from chat
docs/agent-chain.mdAgent-to-agent collaboration — enabling multiple heterogeneous AI agents to coordinate via chat
docs/config-tool.mdInteractive config TUI — agent-chat-gateway config, keybindings, and a guide to every entity type

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 9

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
croniter
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
croniter>=2.0.0runtime
httpx
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
httpx>=0.28.0runtime
python-dotenv
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
python-dotenv>=1.0runtime
pyyaml
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
pyyaml>=6.0runtime
rich
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
rich>=13.0runtime
textual
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
textual>=8.2.0runtime
tree-sitter-bash
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
tree-sitter-bash>=0.23.0runtime
tree-sitter
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
tree-sitter>=0.23.0runtime
websockets
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
websockets>=14.0runtime

Distribution files

2 collected
agent_chat_gateway-0.5.2-py3-none-any.whl

bdist_wheel · 434.01 KB · Python py3

Source file
agent_chat_gateway-0.5.2.tar.gz

sdist · 863.49 KB · Python source

Source file

Repository

PENDING
hammermei/agent-chat-gateway

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9151c951b604b3d68ef2bfc0cee13423c8a3838bb7b2056c093d3380115c5787

Other collected versions

View all collected versions →