2 releases

0.1.2 Feb 25, 2024
0.1.1 Feb 24, 2024

#556 in Programming languages

Apache-2.0

6KB
84 lines

Agentscript.rs

A Rust based interpreter for the Agentscript language.

Syntax

Invoke

Invoke a tool based on the ToolsV1 protocol.

An example of invoking the Translator tool to translate text from English to Spanish

We need to do translation <Invoke tool="Translator" action="translate" parameters={"text": "Hello", "options": {"from": "en", "to": "es"}} />

Python API

The Python API is available in agentscript.pyo3

Dependencies

~5–13MB
~135K SLoC