Skip to main content

Arcana OS

The OS that gives your agents a soul.

License: Apache 2.0 Python 3.11+ Docs


Arcana OS is a multi-agent system where each AI agent is assigned a tarot card archetype that defines its personality, behaviour, and defaults. The card is not cosmetic — it generates the agent's system prompt and sets its temperature. Blend a primary card with modifier cards to tune the mix.

The project ships as two packages — a Python library you build agents with, and a CLI that wraps it for everyday use — plus arcana-os, a meta-package that installs both.

uv tool install arcana-os

arcana init
arcana providers add -p ollama -m hermes-3 -n local
arcana agent create --name researcher --card hermit --model local
arcana run "what are the tradeoffs between RAG and fine-tuning?" --agent researcher --stream

The two packages

arcana-core — the Python library

The real product. Card-configured agents that run through a model gateway.

from arcana import Agent, Card
from arcana.models import ConnectionStore, ModelGateway

async with ModelGateway(ConnectionStore()) as gw:
    agent = Agent(
        name="researcher",
        card=Card.HERMIT,               # IX · The Hermit — Researcher / Deep Analyst
        modifier_cards=[Card.EMPRESS],  # blend in the Empress's warmth
        gateway=gw,
        model="ollama/hermes-3",
    )
    result = await agent.run("summarize recent advances in RAG")

It includes the card engine and all 22 Major Arcana, the model gateway with adapters for Ollama, Anthropic, and OpenAI-compatible providers, agent + session persistence, and a federated memory layer (tiered SQLite / vector stores, an Obsidian-vault folder connector, and a wikilink knowledge graph). See the arcana-core README for the full module map.

arcana-cli — the command line

A thin Typer wrapper around the library: init, status, providers, agent, run, chat, cards, and soul. Create and manage agents, connect models, hold an interactive memory-backed chat session, and run prompts without writing Python. See the arcana-cli README for every command.


The 22 Major Arcana

# Card Archetype Temp
0 The Fool Explorer / Autonomous Agent 0.95
I The Magician Executor / Tool Master 0.50
II The High Priestess Archivist / Pattern Reader 0.40
III The Empress Creator / Generative Agent 0.85
IV The Emperor Orchestrator / System Agent 0.30
V The Hierophant Advisor / Domain Expert 0.30
VI The Lovers Collaborator / Communication 0.70
VII The Chariot Driver / Goal Agent 0.40
VIII Strength Coach / Long-Game Agent 0.60
IX The Hermit Researcher / Deep Analyst 0.35
X Wheel of Fortune Scheduler / Probabilistic 0.65
XI Justice Auditor / Evaluation Agent 0.20
XII The Hanged Man Reframer / Perspective 0.80
XIII Death Transformer / Refactor Agent 0.40
XIV Temperance Integrator / Synthesis 0.55
XV The Devil Shadow / Constraint Breaker 0.75
XVI The Tower Disruptor / Breakthrough 0.85
XVII The Star Companion / Wellbeing Agent 0.70
XVIII The Moon Interpreter / Ambiguity 0.80
XIX The Sun Amplifier / Output Agent 0.75
XX Judgement Reviewer / Reflection 0.45
XXI The World Meta-Agent (reserved) 0.50

Installation

The quickest way — no Python or uv required first (the installer bootstraps both):

curl -LsSf https://arcanaos.cloud/install.sh | sh

Already have uv? Install directly:

# As a CLI tool (installs core + CLI)
uv tool install arcana-os

# As a library
uv add arcana-core

Requirements: Python 3.11+ (the curl installer fetches a managed one for you). For local models, Ollama with your preferred model.


Roadmap

Card-configured agents now run with persistent sessions and the federated memory layer wired into the run path — recalling and extracting memory across sessions, in both arcana run and the interactive arcana chat. Still ahead: a tool/MCP gateway and The World, a meta-agent (card XXI) that routes work across agents.


License

Apache License 2.0. Arcana OS is open source and will stay that way; the Apache license also lets us offer a hosted edition in the future.

Metadata

Release files for arcana-os 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arcana-os 0.2.0
File Size Uploaded Provenance Actions
arcana_os-0.2.0.tar.gz 488.0 kB With provenance Details for arcana_os-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arcana-os 0.2.0
File Interpreter ABI Platform Actions
arcana_os-0.2.0-py3-none-any.whl Python 3 none any Details for arcana_os-0.2.0-py3-none-any.whl

Total release size: 496.1 kB

Release files / arcana_os-0.2.0.tar.gz

Download URL arcana_os-0.2.0.tar.gz
Size 488.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2597e42f684b757048074014d66b181e52f85a8569dde560e02c6de9d4e83544
BLAKE2b-256 checksum
How to use checksums
5b5e64a47a91ac60b507d21f89e30140b682c130f586a471f41661c112769a9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.

Transparency log

Release files / arcana_os-0.2.0-py3-none-any.whl

Download URL arcana_os-0.2.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73cc21cc95ca46c629fa5772af50f5642581d323251d5d24462566986817b44e
BLAKE2b-256 checksum
How to use checksums
59b32fc25d5b8d613a5a57895fe5d71a818af299db2ec2de12deecfa973d9936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.

Transparency log

Security for arcana-os 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for arcana_os-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page