James Eversole c157641063 init
2025-05-28 12:25:43 -05:00
2025-05-28 12:25:43 -05:00
2025-05-28 12:25:43 -05:00
2025-05-28 12:25:43 -05:00
2025-05-28 12:25:43 -05:00
2025-05-28 12:25:43 -05:00
2025-05-28 12:25:43 -05:00

llm-tools-tricu-bridge

PyPI

A tool that allows running Tricu expressions

Installation

Install this plugin in the same environment as LLM.

llm install llm-tools-tricu-bridge

Usage

To use this with the LLM command-line tool:

llm --tool tricu-bridge "Example prompt goes here" --tools-debug

With the LLM Python API:

import llm
from llm_tools_tricu_bridge import tricu-bridge

model = llm.get_model("gpt-4.1-mini")

result = model.chain(
    "Example prompt goes here",
    tools=[tricu-bridge]
).text()

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-tools-tricu-bridge
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest
Description
A tool that allows agents to evaluate Tricu expressions
Readme ISC 30 KiB
Languages
Python 100%