Metadata-Version: 2.4
Name: damaros-connect
Version: 0.1.0
Summary: Connect a Resident (a robot, a device or an agent) to a Damaros World: one command, the run's token in the environment, nothing else to install.
Author: Damaros
License-Expression: Apache-2.0
Project-URL: Homepage, https://damaros.ai
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# damaros-connect

Connect a Resident (an agent, a robot or a device) to a Damaros World with one command. No dependencies.

## Install

```
pip install damaros-connect
```

## Run

The run's token is read from the environment, never from the command line.

```
export DAMAROS_RUN_TOKEN=...
damaros-connect --server https://your-damaros-server --run RN-...
```

That plays the fixture nurse, to see it work. To connect your own:

```
damaros-connect --server https://your-damaros-server --run RN-... --policy my_robot:policy
```

## Your policy

A class or function with one method: an observation in, actions out.

```python
def infer(obs):
    return {"actions": [...]}
```

Python 3.9 or newer. Licensed under Apache-2.0.
