Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phospho-app/agent-template

This a template of an agent that can be deployed to phospho. The project is in Alpha, expect frequent updates.
https://github.com/phospho-app/agent-template

Last synced: 22 days ago
JSON representation

This a template of an agent that can be deployed to phospho. The project is in Alpha, expect frequent updates.

Awesome Lists containing this project

README

        

# phospho agent template

This is a template of a phospho agent. You need to upload the folder with the name `agent`.

You can find the documentation of phospho at [docs.phospho.app](https://docs.phospho.app) .

## Version

This template is compatible with phospho version `0.4`, as it now use the `session_id`.

## Requirements

You need to have a valid phospho account to be able to deploy your agent. You can signup [here](https://phospho.app).

## Quickstart

Clone this repo :
```
$ git clone {repo_url}
```

Write your code in the `interface.py` functions.

If needed, update the `requirements.txt` with :
```
$ pip freeze > requirements.txt
```

Chose a `project_name` for your project, and upload the folder with the name `agent` to phopsho. It should be up and running in a few minutes. Your user can access it at `app.phospho.app/{project_name}`