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.1.tar.gz (25.9 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.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arcana_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 25.9 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.1.tar.gz
Algorithm Hash digest
SHA256 715c2f5ad401c8fa3f1482e41b3e7ebe590595dadc63a6ccf8a5a319b79d0940
MD5 7d09d0a5f9f74255c2a02b2808e2ba86
BLAKE2b-256 d37e6283179d7ad5cf0febd0ef06e9d883b5645d0988b2471000a1001f8c86b4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: arcana_cli-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 915e3e742cadead7a8693ca803f9cc9bdfde496e3accd2f1ea170c23c7ace929
MD5 a851f328e83d652b0ba4b9f30735ef07
BLAKE2b-256 da3185c60e2ef863df36a53e93a04e7f0d182b3618a21d46d33126394b4e9395

See more details on using hashes here.

Provenance

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