From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1793837867; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Xw9MVTMfOdvsQsJLWzfW+EPMRI3+9Y32equZx1poum8=; b=hXvhER8jkHckyPESGjPEeLG3c+VI/LRH9xyVI8qstlcgTQc+8oKmsa8D6Xf59mpyBFxQFb f3u5i1xFrPxgGWJWijK64vE4Or9CdISkXf5QyLU7FPMW4x6NMjinWw96Oz5tbqJYZfwhjL f7bnE1JZ/H+oqHZDS5BvhoNXpFMMOEzY49r0jJzV6oN5ANi37FsnkF3XhRpjoUUOyJK1S+ PG/rtwy/3mxIjaWGfZ+NZpaueJJaklyMUmfM/Ulosrqbz3GmwYglNYWFGu0uSBK+9wjs6G eNU2v458UD6U0G4diJHWoWI+qfJuq1wqpkHKfvgYL3aQSizGRnWLjLLo4efedA== Received: from localhost ( [192.168.1.1]) by hrrol.systemreboot.net (OpenSMTPD) with ESMTPSA id be6d4b5e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 5 Nov 2026 00:17:47 +0000 (UTC) From: Arun Isaac To: Ricardo Wurmus , kaagum@systemreboot.net Subject: Re: draft: Feature to load external tools In-Reply-To: <87jymsfqcs.fsf@elephly.net> References: <87jymsfqcs.fsf@elephly.net> Date: Thu, 05 Nov 2026 00:17:46 +0000 Message-ID: <87se1grv11.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain List-Id: 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