Skip to main content

Multi-agent scientific analysis platform

Project description

Urika

Getting Started · Agent System · Models & Privacy · Notifications · CLI Reference · Interactive TUI · Dashboard


Early Development — Urika is under active development. Expect frequent updates, bug fixes, and new features. Check back regularly or run urika setup to see if a new version is available. Bug reports and feedback welcome at GitHub Issues.

Urika uses multiple AI agents to autonomously explore analytical approaches for your dataset and research question. It creates experiments, tries different methods, evaluates results, searches relevant literature, and builds custom tools when needed. Everything is documented automatically — experiment labbooks, project-level reports, key findings, and slide presentations you can view in any browser. Each experiment's methods, metrics, and observations are tracked in structured records that agents use to plan the next step.

Currently supports the Claude Agent SDK (Anthropic), including local models via Ollama. Adapters for OpenAI Agents SDK, Google Agent Development Kit (ADK), and PI are planned for upcoming releases.

Runs on Linux, macOS, and Windows 11. For local/private model setups (Ollama, vLLM, LiteLLM), see Models & Privacy.

Three interfaces

Urika has three first-class interfaces — CLI, TUI, and dashboard. They share the same project state on disk, so anything you do in one shows up in the others.

Interface Command When to use
CLI urika <command> Scripting, batch jobs, CI, remote sessions, --json output for tooling
TUI urika Exploratory orchestrator chat, watching a run with rich activity feedback, slash commands with tab completion
Dashboard urika dashboard [project] Monitoring long runs, sharing results in a browser, settings forms, sessions tab

See Interfaces Overview for a full task-by-task cheat sheet across all three.

Installation

Prerequisites

  1. Python 3.11+ (required) — see Getting Started → Step 1 for per-OS install commands.
  2. Anthropic API key (required) — set up in step 3 below. Per Anthropic's Consumer Terms §3.7 and the April 2026 Agent SDK clarification, a Claude Pro/Max subscription cannot be used to authenticate the Claude Agent SDK that Urika depends on. v0.3 ships with the Anthropic adapter only; adapters for OpenAI, Google ADK, and PI are planned for upcoming releases.
  3. Claude Code CLI on PATH (recommended, not required)npm install -g @anthropic-ai/claude-code. The Claude Agent SDK ships its own bundled claude binary, so you can skip this and Urika will fall back to the bundled one. Install your own to use claude-opus-4-7 or any future Anthropic model — the bundled binary lags. See Getting Started → Claude Code CLI for the why.

Install Urika

Recommended: install from source in a Python virtual environment. Urika is under active development with frequent updates.

On Ubuntu 22.04+, Debian 12+, Fedora 38+, and recent macOS, system Python refuses pip install with error: externally-managed-environment (PEP 668), so a venv is the simplest path:

python3 -m venv ~/.venvs/urika
source ~/.venvs/urika/bin/activate    # Windows PowerShell: ~\.venvs\urika\Scripts\Activate.ps1

git clone https://github.com/xkiwilabs/Urika.git
cd Urika
pip install -e ".[dev]"
urika setup                     # check installation, detect hardware, optionally install DL

To update: cd Urika && git pull.

Alternative: install from PyPI (pre-release — may lag behind source):

pip install urika

pipx, conda, and uv work too. Deep learning (torch, transformers) is optional: pip install "urika[dl]".

Set up API key

  1. Get a key at console.anthropic.com → Settings → API Keys.

  2. Set a monthly spend limit in Settings → Billing.

  3. Save the key (Urika is now installed, so the CLI is available):

    urika config api-key             # interactive — saves to ~/.urika/secrets.env
    urika config api-key --test      # verify the key works against api.anthropic.com
    # or: export ANTHROPIC_API_KEY=sk-ant-...
    

See Getting Started for the full walkthrough including verification, troubleshooting, and per-OS notes. See Provider compliance for the full Anthropic policy rationale.

Quickstart

urika new my-study --data ./my_data.csv    # create a project (interactive)
urika run my-study --dry-run                # preview the planned pipeline first
urika run my-study                          # run experiments
urika finalize my-study                     # produce final report
urika                                       # launch the interactive TUI
urika --classic                             # or use the classic REPL

See the Getting Started guide for a full walkthrough. Agent-generated code runs as you — see Security Model before running unfamiliar projects.

How It Works

flowchart TD
    A["urika new\nProject Builder"] --> B["Scans data, profiles,\ningests knowledge"]
    B --> C{"How to run?"}

    C -- "Single experiment\n(guided)" --> D["urika run"]
    C -- "Multiple experiments\n(autonomous)" --> META["urika run --max-experiments N\nAutonomous Mode"]

    D --> LOOP
    META --> LOOP

    subgraph LOOP ["Experiment Loop (per experiment)"]
        direction TB
        P["Planning Agent\ndesigns method"] --> TA["Task Agent\nwrites code, runs tools"]
        TA --> EV["Evaluator\nscores against criteria"]
        EV --> Q{Criteria met?}
        Q -- No --> ADV["Advisor Agent\nanalyzes, proposes next"]
        ADV --> P
        Q -- "Yes\n(--review-criteria)" --> RC["Advisor reviews\ncriteria"]
        RC -- "raises bar" --> P
        RC -- "confirms" --> REPORT
        Q -- Yes --> REPORT["Generate Reports"]
    end

    D -- "after experiment" --> REVIEW["User reviews results\ndecides next step"]
    REVIEW -- "run again" --> D

    META -- "advisor decides\nnext experiment" --> LOOP

    REPORT --> FIN["urika finalize\nFinalizer Agent"]
    FIN --> OUT["Standalone methods\nFinal report & presentation\nReproduce scripts"]

    TA -. "needs tool" .-> TB["Tool Builder"]
    P -. "needs literature" .-> LIT["Literature Agent"]
    TB -.-> TA
    LIT -.-> P

Twelve agents work together. Each experiment runs autonomously — agents plan, execute, evaluate, and iterate without intervention. You choose how to manage the between-experiment flow:

  • Guided (urika run) — agents run one experiment autonomously, then you review results and decide what to try next. Best for exploratory work and complex domains where human judgment matters between experiments.
  • Fully autonomous (urika run --max-experiments N) — the system runs multiple experiments back-to-back, with the advisor agent deciding what to try next. Best when you've provided detailed context (see Prompts and Context).

Within each experiment, the orchestrator cycles through planning -> task -> evaluator -> advisor each turn. When all experiments are complete, the Finalizer produces standalone deliverables.

See Agent System for details on each agent role.

Scriptable CLI

Every Urika command is fully scriptable -- pass arguments and flags directly, get structured JSON output with --json, and chain commands in shell scripts. No interactive prompts when flags are provided.

# Create and run a project in one script
urika new my-study --data ~/data/scores.csv --question "What predicts outcome?" --mode exploratory
urika run my-study --max-turns 5 --instructions "focus on tree-based models"
urika run my-study --max-experiments 3 --auto
urika finalize my-study --instructions "emphasize the best model"

# Get structured output for custom tooling
urika status my-study --json
urika results my-study --json
urika methods my-study --json

# Remote control via Telegram/Slack while experiments run
# See Notifications docs for setup

This makes it straightforward to build custom workflows, batch processing scripts, CI pipelines, or wrap Urika in your own research tools. See CLI Reference for the full command list.

Privacy and Model Configuration

Each project can configure which models and endpoints its agents use. Three privacy modes:

  • Open (default) -- all agents use cloud models via API. No restrictions.
  • Private -- all agents use private endpoints only. This can be local models (Ollama), a secure institutional server, or any combination -- whatever stays within your data governance boundary.
  • Hybrid -- a private Data Agent reads raw data and outputs sanitized summaries; all other agents run on cloud models for maximum analytical power. Raw data never leaves your private environment. The default hybrid split covers most cases, but you can customize which agents use which endpoints to ensure what needs to be private stays private.

Per-agent model routing lets you optimize for cost (Haiku for simple tasks, Opus for complex reasoning) or compliance (institutional servers for data access, cloud for method design). Different projects can have completely different privacy and model settings.

See above for supported and upcoming SDK adapters.

See Models and Privacy for configuration details.

Documentation

Guide Description
Getting Started Installation, requirements, first project
Interfaces Overview CLI, TUI, and dashboard as three peer interfaces — when to use which
Core Concepts Projects, experiments, runs, methods, tools, agents
Creating Projects urika new, data scanning, knowledge ingestion
Prompts and Context Writing effective descriptions, instructions, knowledge ingestion
Running Experiments Orchestrator loop, turns, auto mode, resume
Advisor Chat and Instructions Standalone advisor conversations, steering agents, suggestion-to-run flow
Viewing Results Reports, presentations, methods, leaderboard
Finalizing Projects Finalization sequence, standalone methods, reproducibility
Knowledge Pipeline Ingesting papers, PDFs, searching
Agent System All 12 agent roles and how they interact
Built-in Tools 24-tool seed library — agents build new tools on demand per project
Models and Privacy Per-agent model routing, endpoints, hybrid privacy mode
Configuration urika.toml, criteria, preferences
Project Structure File layout and what each file does
CLI Reference Every command with full options
Interactive TUI TUI interface, slash commands, tab completion, orchestrator chat
Dashboard FastAPI multi-page dashboard, run launcher, settings UI, theme toggle, auth
Notifications Email, Slack, Telegram alerts and remote commands
Security Model Agent-generated code, permission boundaries, secrets, dashboard auth

Citation

If you use Urika in your research or analysis, please acknowledge its use in your publications:

Urika -- Multi-agent scientific analysis platform. Developed by Michael J. Richardson and colleagues at Macquarie University, Sydney, Australia. https://github.com/xkiwilabs/Urika

License

Apache 2.0 -- Free to use, modify, and distribute for any purpose, including commercial use. Includes patent protection for contributors. See the full license for details.

Project details


Download files

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

Source Distribution

urika-0.3.2.tar.gz (597.8 kB view details)

Uploaded Source

Built Distribution

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

urika-0.3.2-py3-none-any.whl (603.0 kB view details)

Uploaded Python 3

File details

Details for the file urika-0.3.2.tar.gz.

File metadata

  • Download URL: urika-0.3.2.tar.gz
  • Upload date:
  • Size: 597.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for urika-0.3.2.tar.gz
Algorithm Hash digest
SHA256 04e9d817d7b8227cff1d7ea3fdcbef7c06529da02d191a42635881eabca31633
MD5 2c62e5215926292c13374a260babfe9b
BLAKE2b-256 e743b72392cf591c9d1896b356dd1d783285a87a6819f7bfe69b8203e2c8457d

See more details on using hashes here.

Provenance

The following attestation bundles were made for urika-0.3.2.tar.gz:

Publisher: workflow.yml on xkiwilabs/Urika

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file urika-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: urika-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 603.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for urika-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd2a4312236134c87f76ccba1bc938569d5388cd075d743e7b1df1d2c33e127
MD5 177217d032ee6e8581db246af514b323
BLAKE2b-256 e8cb330df5046770885eab04dfe40e77d2ad044707f21a777603620b3e2b9c76

See more details on using hashes here.

Provenance

The following attestation bundles were made for urika-0.3.2-py3-none-any.whl:

Publisher: workflow.yml on xkiwilabs/Urika

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page