No project description provided
Project description
Local AI Utils - Assist
A plugin for local-ai-utils, adding the ability to interact with an LLM Assistant. It is exposed as a CLI utility named assist, which can be sent a prompt. It also adds tool support that other LAIU plugins can tie in to.
Quickstart
Installation
Currently installation is only supported via the GitHub remote.
pip install local-ai-utils-assist
Configuration
Then update your ai-utils.yml file.
assist.assitantis an OpenAI Assistantidassist.threadis an OpenAI Thread that has been started with the above assitantassist.mcp.serverstakes a configuration block following the mcp-agent schema (it's functionally equivalent to Claude Code's format)assist.mcp.servers.[name].skip_confirmationallows you to list tools from that server that can be run without any confirmation.keys.openaiis your Open AI secret key.
Usage
$ # Run once for new installs, and whenever new plugins are added
$ assist update_assistant
<outputs the configuration details of your assistant>
$ assist prompt "Make a note to call Joe"
OK, I've created a note to call Joe!
Configuration
These fields are required:
assist.assistantassist.threadkeys.openai
~/.config/ai-utils.yaml
plugins:
assist:
assistant: "asst_123"
thread: "thread_321"
mcp:
servers:
heroku:
command: npx
args: ["-y", "@heroku/mcp-server"]
env:
HEROKU_API_KEY: "HRKU-12345"
skip_confirmation:
- list_apps
keys:
openai: "sk-proj-abc"
[!WARNING] There is a known bug right now that failed tool calls can leave a Thread in a broken state. If encountered, you will see errors referencing an inability to create new runs on threads that are in-progress. You can reset this by generating a new thread, and updating
assist.threadin yourai-utils.yml.
Plugin Tools
When local-ai-utils-assist is installed, all other LAIU plugins can now make use of the functions keyword in their PluginConfig object. This key can be passed an array of objects matching the OpenAI Function Definition. See the notes plugin for an example.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file local_ai_utils_assist-0.2.4.tar.gz.
File metadata
- Download URL: local_ai_utils_assist-0.2.4.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18cd997d1b93a71ec61f3bb8a924a191a71f89d6dedc1be9574d9c5a1ae25ff6
|
|
| MD5 |
a632e5ad4416d56a7b9f0216849e10c9
|
|
| BLAKE2b-256 |
7715e2bca637bde332dfb4fa6b601b7a448533ac8dfd1c1022980ba05a0fe4fe
|
File details
Details for the file local_ai_utils_assist-0.2.4-py3-none-any.whl.
File metadata
- Download URL: local_ai_utils_assist-0.2.4-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae1d909303c2fc5994dfebaf604a39a310f2743209fd0765d8b2a24b6b63dadf
|
|
| MD5 |
88877fbc0b11095a358e70ecd7580be7
|
|
| BLAKE2b-256 |
296dbfb92c12ef6d3e4f50663ab3151f30945798cbd419b13e4ccca0e67bbfa0
|