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.0.tar.gz (25.3 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.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arcana_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 25.3 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.0.tar.gz
Algorithm Hash digest
SHA256 9c18a0ca9c641d2e521c7e5652eb52f6a1d05c00458531d8701594a199f55392
MD5 3d0c076e947d3993ff78981d73a8b088
BLAKE2b-256 41af5489f92887adaeed7b5af447a42c5d751cab310fe263ef938fe718b9fc07

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcana_cli-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: arcana_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 216cd53d24047da77af8dd228bcec7cc412806c3fba04b8b1e44f3a3896b41a4
MD5 a6e799ab62a848e6dc92be9b258db16d
BLAKE2b-256 dfe3dc5438023bf176b4112cdf360c33ae8ab1318292c2a6d0eabff8807d86ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcana_cli-0.1.0-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