Add AI tool packages: cao-cli, agentops, mediapipe

This commit is contained in:
2026-02-21 14:26:06 +11:00
parent 43cdb7c747
commit 329703abf0
4 changed files with 93 additions and 6 deletions

22
pkgs/agentops.nix Normal file
View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, python3Packages }:
buildPythonPackage rec {
pname = "agentops";
version = "0.4.21";
src = fetchPypi {
inherit pname version;
hash = "sha256-47759c6dfd6ea58bad2f7764257e4778cb2e34ae180cef642f60f56adced6510";
};
propagatedBuildInputs = with python3Packages; [
pydantic
requests
httpx
websockets
];
meta = with lib; {
description = "Observability and DevTool Platform for AI Agents";
homepage = "https://github.com/AgentOps-AI/agentops";
license = licenses.mit;
};
}

25
pkgs/cao-cli.nix Normal file
View File

@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchFromGitHub, tmux, uv, python3Packages }:
buildPythonPackage rec {
pname = "cli-agent-orchestrator";
version = "1.0.3";
src = fetchFromGitHub {
owner = "awslabs";
repo = "cli-agent-orchestrator";
rev = "v${version}";
hash = "sha256-0000000000000000000000000000000000000000000000000000"; # NEEDS UPDATE
};
propagatedBuildInputs = with python3Packages; [
pydantic
requests
typer
rich
python-dotenv
];
meta = with lib; {
description = "CLI Agent Orchestrator - multi-agent collaboration via tmux";
homepage = "https://github.com/awslabs/cli-agent-orchestrator";
license = licenses.asl20;
};
}

24
pkgs/mediapipe.nix Normal file
View File

@@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, python3Packages, opencv, protobuf }:
buildPythonPackage rec {
pname = "mediapipe";
version = "0.10.32";
src = fetchPypi {
inherit pname version;
hash = "sha256-4b0941fbbbce41862f13cb1850c4878c13dbc62cd5e81e74880051b7a20ce3b6";
extension = "whl";
dist = "manylinux_2_28_x86_64";
};
propagatedBuildInputs = with python3Packages; [
numpy
absl-py
protobuf
opencv4
];
meta = with lib; {
description = "MediaPipe - Google's media processing framework";
homepage = "https://github.com/google/mediapipe";
license = licenses.asl20;
};
}