# ClawdBot — Telegram, Discord & Slack Bot Framework for Remote Machine Control

[![PyPI](https://img.shields.io/pypi/v/clawdbot.svg)](https://pypi.org/project/clawdbot/) [![Python](https://img.shields.io/pypi/pyversions/clawdbot.svg)](https://pypi.org/project/clawdbot/) [![license](https://img.shields.io/pypi/l/clawdbot.svg)](https://github.com/commandoperator/cmdop-sdk-python/blob/main/LICENSE)

![clawdbot](https://raw.githubusercontent.com/markolofsen/assets/main/libs/promo_clawdbot.webp)

ClawdBot empowers you to create chat-ops solutions with a Telegram bot framework in Python, Discord bot automation, and Slack bot remote control. Unlike Telegraf, discord.js, or Bolt for Slack, ClawdBot offers a unified interface for managing your infrastructure through chat. Build powerful bots to interact with your systems remotely.

## Features

- Orchestrate remote systems using a Telegram bot framework in Python.
- Automate Discord bot interactions for server management.
- Execute shell commands securely via Slack bot remote control.
- Develop chat-ops workflows with custom command handlers.
- Integrate with various services to extend bot functionality.

## Use Cases

- Control remote servers via Telegram commands
- Run shell commands from Discord or Slack
- Build ChatOps workflows with AI agent integration

## Installation

```bash
pip install clawdbot
```

## Quick Start

```python
from clawdbot import ClawdBot

client = ClawdBot.remote(api_key="cmdop_live_xxx")

output = client.exec("df -h")
print(output)

status = client.broadcast_status()
print(status)
```

## CLI

No SDK needed? Connect via standalone binary:

```bash
curl -fsSL cmdop.com/install-cli.sh | bash
cmdok ssh
```

![cmdok ssh](https://raw.githubusercontent.com/commandoperator/cmdop-sdk-js/main/assets/cmdok_ssh.gif)

## Links

- [CMDOP Homepage](https://cmdop.com)
- [Documentation](https://cmdop.com/docs/sdk/python/)
- [clawdbot on PyPI](https://pypi.org/project/clawdbot/)
- [GitHub](https://github.com/commandoperator/cmdop-sdk-python)
