Metadata-Version: 2.4
Name: agentlink-py
Version: 0.1.0
Summary: SSH-based communication layer for distributed agents
Author-email: namomiko <namomikojp8888@gmail.com>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: paramiko

# AgentLink

AgentLink is a lightweight Python library that enables secure SSH communication between Linux/Window IP adresses.

## Installation
```bash
pip install agentlink
```

## Basic Usage
```python
from agentlink import AgentLink

link = AgentLink()
link.register(
    "agent1",
    hostname="192.168.1.101",
    username="user",
    key_filename="~/.ssh/id_rsa"
)

# Run remote command
output = link.send_command("agent1", "hostname")
print(output)

# Upload a file
link.upload_file("agent1", "local.txt", "/tmp/remote.txt")

# Close all sessions
link.close_all()
```

## Features
- Registration of multiple SSH targets (agents)
- Send remote commands
- Upload and download files
- Thread-safe operations


## License
MIT
