From: Arun Isaac <arunisaac@systemreboot.net>
To: Ricardo Wurmus <rekado@elephly.net>, kaagum@systemreboot.net
Subject: Re: draft: Feature to load external tools
Date: Thu, 05 Nov 2026 00:17:46 +0000 [thread overview]
Message-ID: <87se1grv11.fsf@systemreboot.net> (raw)
In-Reply-To: <87jymsfqcs.fsf@elephly.net>
Hi Ricardo,
> I'd like to grant kaagum access to a bunch of custom tools that
> I'm about to write (e.g. for web fetch, bioinfo data retrieval,
> interfacing with a qemu socket, etc), and I thought it would be
> helpful to have kaagum load user-specified Guile modules from
> KAAGUM_TOOLS_PATH.
This is a great idea. I've been wanting something like this for a while.
Thanks for thinking about it, and drafting it out!
I have a slightly modified proposal. I think we should do this with a
"custom tools file", rather like how we do manifest files and package
definition files in Guix. The user defines their tools in a file and
returns them as the final expression. They may refer to other modules or
packages by modifying the GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH
environment variables. I've implemented this in the patch that follows.
Let me know what you think.
> This also required a change to agent-shell-kaagum-make-client to
> set the variable; other agent-shell clients have a dedicated
> variable for setting environment variables, which could be a
> useful addition anyway:
Good point. I'm sending a patch to this effect as well.
Regards,
Arun
next prev parent reply other threads:[~2026-11-05 0:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 17:39 Ricardo Wurmus
2026-11-05 0:17 ` Arun Isaac [this message]
2026-11-05 0:19 ` [PATCH 1/2] Allow setting environment variables with agent shell Arun Isaac
2026-11-05 0:19 ` [PATCH 2/2] Allow custom tools Arun Isaac
2026-11-05 7:08 ` draft: Feature to load external tools Ricardo Wurmus
2026-11-05 10:59 ` Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87se1grv11.fsf@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=kaagum@systemreboot.net \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox