CLI reference¶
Use the built-in help for the authoritative command list:
For subcommand-specific help:
ursa mcp-server --help
ursa exec --help
ursa rag-ingest --help
ursa rag-query --help
ursa self --help
Common top-level commands¶
URSA configs can be layered with environment variables and CLI flags.
ursa --config config.yaml
ursa --print-config
ursa --config config.yaml --name my-agent --group default
ursa --config config.yaml --use-web
Main subcommands¶
Current URSA installations include subcommands for:
- running the MCP server,
- managing groups,
- managing persistent agents,
- sharing/importing agents,
- managing persistent RAG collections,
- inspecting and managing the URSA installation,
- non-interactive execution.
Use ursa --help to confirm the exact set in your installed version.
Self management¶
Installation status is available for every installation method:
It reports the URSA version and the running Python version and executable. For uv tool installations, it also reports the selected URSA extras and any additional packages installed in the tool environment.
When URSA was installed with uv tool install, it can update itself while
preserving the installation recipe:
Use modify to change the recipe. Options can add extras or additional
packages, select an exact release or Git ref, and clear the existing extras
and additional packages:
ursa self modify --extra dashboard
ursa self modify --with some-package
ursa self modify --version 1.2.3
ursa self modify --ref main
ursa self modify --clean --extra fm
Run ursa self modify --help for the complete option list. For pip, Conda,
and other installations, use the same package manager that installed URSA;
self update and self modify will reject installations not managed by uv.
Python callback API¶
ursa.cli.callbacks.HITLLogEventHandler
¶
Bases: CallbackRenderingMixin, AsyncCallbackHandler
Render structured agent/tool progress events to the REPL console.
Source code in src/ursa/cli/callbacks.py
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 | |