arcana-ai
Version, currently 0.1.02 versions
- 0.2.0latestJul 27, 2026
- 0.1.0not indexedJul 27, 2026
github.com/trans/arcana-ai
AI service library for Arcana (and other applications)
Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
arcana-ai:
github: trans/arcana-ai
version: ~> 0.1.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
arcana-ai
Provider-agnostic AI client library for Crystal. Chat, image, TTS, SFX, and embedding providers behind a common interface.
Extracted from arcana so it can be used without pulling in the bus/server. Usable standalone as an AI client library, or as a dependency of arcana itself.
Providers
- Chat: OpenAI (endpoint-configurable — also drives Grok, DeepSeek), Anthropic (native Messages API), Gemini (native API)
- Image: OpenAI (DALL-E / gpt-image-1), Runware (FLUX)
- TTS: OpenAI (gpt-4o-mini-tts), ElevenLabs
- SFX: ElevenLabs
- Embed: OpenAI, Voyage (with query/document input types)
Installation
Add to your shard.yml:
dependencies:
arcana-ai:
github: trans/arcana-ai
version: ~> 0.1.0
Then shards install.
Usage
require "arcana-ai"
chat = Arcana::AI::Chat::Anthropic.new(api_key: ENV["ANTHROPIC_API_KEY"])
request = Arcana::AI::Chat::Request.new(
messages: [Arcana::AI::Chat::Message.new("user", "Hello!")],
model: "claude-sonnet-4-6",
max_tokens: 200,
)
response = chat.complete(request)
puts response.content
Via the registry:
provider = Arcana::AI::Registry.create_chat("anthropic", {
"api_key" => JSON::Any.new(ENV["ANTHROPIC_API_KEY"]),
})
Development
crystal spec
License
MIT
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Jul 27, 2026
- Commit
62744579533e- Indexed
- not yet
Dependents
Repository
github.com/trans/arcana-ai
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 2