The flexible agentic workflow for accelerating scientific tasks. Composes information flow between agents for planning, code writing and execution, and online research to solve complex problems.
You can install ursa
via pip
or uv
.
pip
pip install ursa-ai
uv
uv add ursa-ai
Better documentation will be incoming, but for now there are examples in the examples folder that should give a decent idea for how to set up some basic problems. They also should give some idea of how to pass results from one agent to another. I will look to add things with multi-agent graphs, etc. in the future.
Documentation for each URSA agent:
Documentation for combining agents:
The Execution Agent is allowed to run system commands and write/run code. Being able to execute arbitrary system commands or write and execute code has the potential to cause problems like:
- Damage code or data on the computer
- Damage the computer
- Transmit your local data
The Web Search Agent scrapes data from urls, so has the potential to attempt to pull information from questionable sources.
Some suggestions for sandboxing the agent:
- Creating a specific environment such that limits URSA's access to only what you want. Examples:
- Creating/using a virtual machine that is sandboxed from the rest of your machine
- Creating a new account on your machine specifically for URSA
- Creating a network blacklist/whitelist to ensure that network commands and webscraping are contained to safe sources
You have a duty for ensuring that you use URSA responsibly.
-
uv
is an extremely fast python package and project manager, written in Rust. Follow installation instructions here
-
- An extremely fast Python linter and code formatter, written in Rust.
- After installing
uv
, you can install just ruffuv tool install ruff
-
- A modern way to save and run project-specific commands
- After installing
uv
, you can install just withuv tool install rust-just
URSA has been developed at Los Alamos National Laboratory as part of the ArtIMis project.
This program is Open-Source under the BSD-3 License. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.