Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/phospho-app/agent-template
- Owner: phospho-app
- License: mit
- Created: 2023-05-12T09:08:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-19T10:33:03.000Z (over 1 year ago)
- Last Synced: 2024-11-09T11:12:26.416Z (3 months ago)
- Language: Python
- Homepage: https://docs.phospho.app
- Size: 54.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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}`