Skip to main content

URSA - The Universal Research and Scientific Agent

URSA Logo

PyPI Version PyPI Downloads

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.

The original ArXiv paper is here.

Documentation

Detailed documenation including:

  • Installation
  • Getting Started Guides
  • Configuration
  • ... and more

are located at: URSA Documentation

Installation

URSA is published on PyPI as ursa-ai and supports Python 3.11 or newer. You can install it with uv or pip; uv is recommended for new projects.

Documentation and examples

The MkDocs documentation in docs/ is organized around installation, getting started, configuration, persistence, agents, best practices, and reference material. The examples/ folder demonstrates practical workflows and ways to pass results from one agent to another.

Command Line Usage

You can install ursa as a command line app with pip install; or with uv via

uv tool install ursa-ai

A reusable YAML configuration file is the preferred way to select endpoints and runtime settings. For example:

llm_model:
  model: openai:gpt-5.2
  api_key_env: OPENAI_API_KEY
workspace: .

Then start the command line app with:

ursa --config config.yaml

This will start a REPL in your terminal.

  __  ________________ _
 / / / / ___/ ___/ __ `/
/ /_/ / /  (__  ) /_/ /
\__,_/_/  /____/\__,_/

For help, type: ? or help. Exit with Ctrl+d.
ursa>

Within the REPL, you can get help by typing ? or help.

You can chat with an LLM by simply typing into the terminal.

ursa> How are you?
Thanks for asking! I’m doing well. How are you today? What can I help you with?

You can run various agents by typing the name of the agent. For example,

ursa> plan
plan: Write a python script to do linear regression using only numpy.

Or by prepending the agent name to the query:

ursa> plan Write a python script to do linear regression using only numpy.

If you run subsequent agents, the last output will be appended to the prompt for the next agent.

So, to run the Planning Agent followed by the Execution Agent:

ursa> plan
plan: Write a python script to do linear regression using only numpy.

...

ursa> execute
execute: Execute the plan.

You can get a list of available command line options via

ursa --help

Web Dashboard

The URSA web interface can be launched with:

ursa-dashboard

or with

ursa-dashboard --host 127.0.0.1 --port 8080

This requires installing with the optional [dashboard] dependencies.

Development Team

URSA has been developed at Los Alamos National Laboratory as part of the ArtIMis project.

ArtIMis Logo

Notice of Copyright Assertion (O4958):

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ursa_ai-0.16.3.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ursa_ai-0.16.3-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file ursa_ai-0.16.3.tar.gz.

File metadata

  • Download URL: ursa_ai-0.16.3.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.11

File hashes

Hashes for ursa_ai-0.16.3.tar.gz
Algorithm Hash digest
SHA256 4180055a86e9d48b174213c27f1662fe7bde6b937d45df51791d3c2a559effea
MD5 c157e97a650ba29e6abb7f2e6bdf369a
BLAKE2b-256 6bf86035cb078e874a85cef5cfde019515cac7f803375e3876060ef3dc621d23

See more details on using hashes here.

File details

Details for the file ursa_ai-0.16.3-py3-none-any.whl.

File metadata

  • Download URL: ursa_ai-0.16.3-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.11

File hashes

Hashes for ursa_ai-0.16.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f861f2455b403e60e2809d9181dd13018fd5e09a3d7ec7244410da838baabba4
MD5 45962cb53360474ebb72522259ce2676
BLAKE2b-256 1b0365be3052fc70041b834fd9cdeb7be33eede05a1cb76e5e652d16d8c6bbec

See more details on using hashes here.

Release history Release notifications | RSS feed

0.16.4

2 files

This release

0.16.3 This release

2 files

0.16.2

2 files

0.16.1

2 files

0.16.0

2 files

0.15.12

2 files

0.15.11

2 files

0.15.10

2 files

0.15.9

2 files

0.15.8

2 files

0.15.7

2 files

0.15.6

2 files

0.15.5

2 files

0.15.4

2 files

0.15.3

2 files

0.15.2

2 files

0.15.1

2 files

0.15.0

2 files

0.14.1

2 files

0.14.0

2 files

0.13.3

2 files

0.13.2

2 files

0.13.1

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.1

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 files

0.8.4

2 files

0.8.3

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.2

2 files

0.7.1

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.2

2 files

0.4.0

2 files

0.3.0

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page