Sign inSign up

droqai/lfx-tool-executor-node

By droqai

•Updated 10 months ago

A Droq AI node providing execution of Langflow tools executor node.

Image
Internet of things
Machine learning & AI
Data science
0

1.4K

droqai/lfx-tool-executor-node repository overview

⁠LFX Tool Executor Node

A Droq AI⁠ node provides a unified interface for running LangFlow tools.

⁠🚀 Installation

# Install UV
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and setup
git clone https://github.com/droq-ai/lfx-tool-executor-node.git
cd lfx-tool-executor-node
uv sync

# Verify installation
uv run lfx-tool-executor-node --help
⁠Using Docker
docker build -t lfx-tool-executor-node:latest .
docker run --rm -p 8005:8005 lfx-tool-executor-node:latest

⁠🧩 Usage

⁠Running the Node
# Run locally (defaults to port 8005)
./start-local.sh

# or specify a port
./start-local.sh 8005

# or use uv directly
uv run lfx-tool-executor-node --port 8005
⁠API Endpoints

The server exposes:

  • GET /health – readiness probe
  • POST /api/v1/execute – execute specific tools

⁠⚙️ Configuration

Environment variables:

VariableDefaultDescription
HOST0.0.0.0Bind address
PORT8005HTTP port
LOG_LEVELINFOPython logging level
NODE_IDlfx-tool-executor-nodeNode identifier

⁠🔧 Development

# Install development dependencies
uv sync --group dev

# Run tests
uv run pytest

# Format code
uv run black src/ tests/
uv run ruff check src/ tests/
uv run ruff format src/ tests/

# Type checking
uv run mypy src/

⁠📄 License

This project is licensed under the Apache License 2.0 - see the LICENSE⁠ file for details.

Tag summary

Content type

Image

Digest

sha256:a59030c1a…

Size

286.8 MB

Last updated

10 months ago

docker pull droqai/lfx-tool-executor-node