{"id":42761219,"url":"https://github.com/starwit/ai-cockpit-action-demo","last_synced_at":"2026-01-29T20:34:09.875Z","repository":{"id":277691497,"uuid":"933199479","full_name":"starwit/ai-cockpit-action-demo","owner":"starwit","description":"A sample implementation to execute actions approved in AI Cockpit.","archived":false,"fork":false,"pushed_at":"2025-09-09T13:27:38.000Z","size":279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-09T16:35:09.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starwit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-15T11:49:56.000Z","updated_at":"2025-09-09T13:27:40.000Z","dependencies_parsed_at":"2025-03-10T05:18:59.183Z","dependency_job_id":"f980a30b-204e-49bd-a658-4504a64649a5","html_url":"https://github.com/starwit/ai-cockpit-action-demo","commit_stats":null,"previous_names":["starwit/ai-cockpit-action-demo"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/starwit/ai-cockpit-action-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwit%2Fai-cockpit-action-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwit%2Fai-cockpit-action-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwit%2Fai-cockpit-action-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwit%2Fai-cockpit-action-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starwit","download_url":"https://codeload.github.com/starwit/ai-cockpit-action-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starwit%2Fai-cockpit-action-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28884291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T19:55:09.949Z","status":"ssl_error","status_checked_at":"2026-01-29T19:55:08.490Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-29T20:34:08.399Z","updated_at":"2026-01-29T20:34:09.861Z","avatar_url":"https://github.com/starwit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Cockpit Action Executor\n\nThis component is part of project AI Cockpit, [see here](https://github.com/starwit/ai-cockpit-deployment) for a an overview of all components.\n\nActions selected and defined by AI componets are approved in AI Cockpit. Thus in order to execute them, decisions made in AI Cockpit needs to be communicated into the system landscape, that executes whatever AI has proposed. \n\nHere is a sample implementation of all necessary functions, to forward AI Cockpit's decisions.\n\n## What does it do\nService offers REST endpoints, to trigger actions and to feedback execution status.\n\n## How to run locally\nService is written in Python and packaged in a Docker container. It is using Poetry package manager and to run application locally, use the following commands\n\n```bash\n    poetry install\n    poetry shell\n    export SERVICE_URI=http://ip:8000 # if you want to access swagger ui from outside, default is localhost\n    python ai_cockpit_action_demo/main.py\n```\n\nYou can reach API via: http://localhost:8000/docs (or http://ip:8000/docs)\n\nFollowing Docker command runs executor on a Raspberry Pi (4 or newer, or you retire while waiting)\n```bash\n    docker run -it --device /dev/gpiochip0  -e SERVICE_URI=http://ip:8000 -p 8000:8000  --rm starwitorg/ai-cockpit-action-demo:0.0.8\n```\n\nWithout hardware connection, app will run with the following command.\n```bash\n    docker run -it -e SERVICE_URI=http://ip:8000 -p 8000:8000  --rm starwitorg/ai-cockpit-action-demo:0.0.8\n```\n\n\n## How to install to Kubernetes\n\nApp can also be deployed to a Kubernetes cluster. Helm chart is located [here](https://hub.docker.com/r/starwitorg/ai-cockpit-action-demo-chart). See there for instructions how to deploy app.\n\n\n## Contact \u0026 Contribution\n\nThe “KI-Cockpit” (AI Cockpit) project was funded by the Federal Ministry of Labor and Social Affairs.\n\n\u003cimg src=\"foerderlogo.png\" alt=\"BMAS Logo\" style=\"width:33%; height:auto;\"\u003e\n\n# License\n\nSoftware in this repository is licensed under the AGPL-3.0 license. See [license agreement](LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarwit%2Fai-cockpit-action-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarwit%2Fai-cockpit-action-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarwit%2Fai-cockpit-action-demo/lists"}