Metadata-Version: 2.4
Name: sudosu
Version: 0.1.1
Summary: Your AI Coworker - AI teammates that can read files, write code, and connect to all your tools (Gmail, Calendar, GitHub, Linear, Slack)
Author: Akash Munshi
License-Expression: MIT
Project-URL: Homepage, https://github.com/csakash/sudosu-cli
Project-URL: Repository, https://github.com/csakash/sudosu-cli
Project-URL: Issues, https://github.com/csakash/sudosu-cli/issues
Keywords: ai,assistant,cli,automation,agent,coworker,productivity,llm
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Office/Business
Classifier: Topic :: Communications
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.9.0
Requires-Dist: rich>=13.0.0
Requires-Dist: websockets>=12.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: python-frontmatter>=1.0.0
Requires-Dist: httpx>=0.25.0
Requires-Dist: prompt-toolkit>=3.0.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Dynamic: license-file

# Sudosu 🚀

[![PyPI version](https://badge.fury.io/py/sudosu.svg)](https://badge.fury.io/py/sudosu)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![Downloads](https://pepy.tech/badge/sudosu)](https://pepy.tech/project/sudosu)

**Your AI Coworker - Right in Your Terminal**

Sudosu gives you AI coworkers that can actually get work done. Unlike chatbots that just talk, these teammates can read your files, write code, create documents, connect to all your tools (Gmail, Calendar, GitHub, Linear, Slack), and run commands - all while you stay in control.

**No more hopping between tools.** Your AI coworker does it all.

## Installation

```bash
pip install sudosu
```

## Quick Start

```bash
# Initialize Sudosu
sudosu init

# Start interactive session
sudosu

# Create an agent
/agent create writer

# Use the agent
Go through my slack channel product-team and summarise the messages from yesterday 
and plan tickets in Linear
```

## Features

- 🤖 **AI Coworkers**: Create specialized coworkers with specific personalities and capabilities
- 🔌 **Tool Integrations**: Connect to Gmail, Calendar, GitHub, Linear, Slack, and more
- 📝 **File Operations**: Coworkers can read and write files in your repository
- 🔄 **Real-time Streaming**: See responses as they're generated
- 🔒 **Local Execution**: File operations happen on your machine, keeping data secure
- ⚡ **Action-Oriented**: Your coworkers don't just answer questions — they take action

## Configuration

### Environment Modes

Sudosu supports **dev** and **prod** modes for easy switching between local and production backends:

```bash
# Development mode (local backend)
export SUDOSU_MODE=dev
sudosu

# Production mode (default)
export SUDOSU_MODE=prod
sudosu

# Or switch within CLI
/config mode dev   # Switch to development
/config mode prod  # Switch to production
```

See [ENVIRONMENT_SETUP.md](./ENVIRONMENT_SETUP.md) for detailed configuration options.

### Configuration Files

Sudosu stores configuration in `~/.sudosu/`:

```
~/.sudosu/
├── config.yaml     # API keys, backend URL, preferences, mode
├── agents/         # Global agent definitions
└── skills/         # Global skills library
```

Project-specific configuration goes in `<repo>/.sudosu/`.

## License

MIT
