Product Station · Media & video
PeerTube
Search videos and prepare an upload, never publishing without a human approving.
The control station, in brief
This station sits between your agent and the tool. Before any call, it checks who is acting, shows only the useful tools, applies the rules below and keeps track of the task.
It can
- Search videos
- Prepare an upload
It asks a human for
- Publish a video
It never has access to
- Delete a video
Scenario Replays
An agent works through the station. Simulated scenarios, no real data, no key required.
Copy the station, change a limit or an approval step in its configuration file, and get your own station.
The configuration in detail
Everything the station does fits in this file. The replay above applies it, and a copy starts from it. The values are examples to adapt, not a recommendation.
station:
id: peertube
kind: product
policies:
- {policy: human-for-publish, at: submit}
global:
language: en
timezone: Europe/Paris
apis:
- id: peertube-videos
operations:
searchVideos: {access: read}
prepareUpload: {access: write, risk: low}
publishVideo: {access: write, risk: high}
# not listed, so not available to the agent:
# deleteVideo
profiles:
editor:
allow: [searchVideos, prepareUpload, publishVideo]
policies:
human-for-publish:
type: rule
when: "action == publishVideo"
effect: needs-human
reason: "A video is published only with a human's approval."
skills:
- {id: search-videos, uses: searchVideos}
- {id: prepare-upload, uses: prepareUpload}
- {id: publish-video, uses: publishVideo}
playbooks:
- id: publish-a-video
tasks: [prepare-upload, publish-video]Shared copies
Copies that their authors choose to share will appear here. Each one keeps a link to this original station.