Skip to main content

The OS that gives your agents a soul — CLI

Project description

arcana-cli

License: Apache 2.0 Python 3.11+

arcana-cli

The arcana command-line interface for Arcana OS. A thin Typer wrapper around arcana-core.

uv tool install arcana-cli # or pip install arcana-cli
# or inside the monorepo:
uv sync --all-packages --all-extras

Commands

arcana init

Initialise Arcana OS. Creates ~/.arcana/ with the default directory layout, config.json, and world.json.

arcana init

arcana status

Show system status: home directory, agent count, and model connection count.

arcana status

arcana connect

Manage model connections.

arcana connect model                                   # interactive
arcana connect model -p ollama -m hermes-3 -n local
arcana connect model -p anthropic -m claude-sonnet-4-6 -n claude -k sk-...
arcana connect list
Subcommand Description
model Add a model connection (interactive or via flags)
list List configured connections
connect model flag Description
--provider / -p ollama, anthropic, openai, openai_compat, or custom
--model-id / -m Model ID (e.g. hermes-3, claude-sonnet-4-6)
--name / -n Connection name
--endpoint / -e Custom base URL
--api-key / -k API key (stored in the OS keyring, never in plaintext)

arcana agent

Manage agents.

arcana agent create                          # interactive card picker
arcana agent create --name scout --card the-fool --model local
arcana agent list
arcana agent show my-agent
arcana agent edit my-agent --card hermit --tags research,deep
arcana agent delete my-agent
arcana agent delete my-agent --yes           # skip confirmation

arcana agent create without flags walks you through a card picker showing all 22 Major Arcana with their archetype and default temperature, lets you toggle optional modifier cards, and prints a blend-compatibility summary before saving. The World is reserved and cannot be assigned.

Subcommand Description
create Create a new agent (interactive or via flags)
list List all agents
show <name> Show full config for an agent
edit <name> Update name, description, card, model, or tags
delete <name> Delete an agent

The --model flag refers to a connection name created with arcana connect model.


arcana run

Run a prompt against a specific agent. --agent is required.

arcana run "Summarise the latest on LLM evals" --agent researcher
arcana run "Refactor this module" --agent my-agent --stream
Flag Default Description
--agent / -a — (required) Target agent by name or UUID
--stream / -s off Stream output token by token

The agent is rebuilt from its stored record and run through a ModelGateway using its configured connection.


arcana cards

Browse the card definitions.

arcana cards            # list all 22 Major Arcana
arcana cards show hermit
Subcommand Description
(default) List all 22 Major Arcana
show <name> Show one card's archetype, temperature, and details

Runtime layout

All state lives under ~/.arcana/, created by arcana init:

~/.arcana/
├── config.json
├── world.json
├── agents/{id}/        ← agent.json + sessions/
├── connections/        ← models.json
└── cards/{core,custom}/

Secrets (API keys) are stored in the OS keyring, never in these files.


Development

# Type check
uv run pyright packages/arcana-cli/arcana_cli

# Tests
uv run pytest packages/arcana-cli/tests/ -v

Roadmap

This is the Phase 1a MVP command set. Phase 1b adds the commands whose backends land later — arcana memory, arcana world, arcana spread, arcana connect mcp, and an interactive arcana chat REPL.

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

arcana_cli-0.1.2.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

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

arcana_cli-0.1.2-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file arcana_cli-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for arcana_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7edbb70c412e098c6b00f2918f35ad16a7c35e6501bf61064e8825ed1e4a3bd7
MD5 6c44f5106678086917f67814c0ee6635
BLAKE2b-256 5cf0e47d2989d623d0c8495a9df480c062e894089b8f85ba86a7d108ec603495

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcana_cli-0.1.2.tar.gz:

Publisher: release.yml on priscilapower/arcana-os

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

File details

Details for the file arcana_cli-0.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for arcana_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b30a7de35316e1dd96a8b92df76ffd13f5c9f16423f411fe81ba66e86cc5288
MD5 abdc12ece292c953cc001c5d63a10919
BLAKE2b-256 aff98b1c6db472886ad18c5eb78010068290f0ffba23bd89aed93f5355d52fe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcana_cli-0.1.2-py3-none-any.whl:

Publisher: release.yml on priscilapower/arcana-os

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