Open source, type-safe primitives for multi-modal AI. All capabilities, all providers, one interface
Project description
Celeste AI
The primitive layer for multi-modal AI
All capabilities. All providers. One interface.
Primitives, not frameworks.
🚀 Quick Start
from celeste import create_client, Capability, Provider
# Create client
client = create_client(
capability=Capability.TEXT_GENERATION,
provider=Provider.ANTHROPIC,
api_key="your-api-key", # Or loads automatically from environment
)
# Generate
response = await client.generate(prompt="Explain quantum computing")
print(response.content)
Install:
uv add "celeste-ai[text-generation]" # Text only
uv add "celeste-ai[image-generation]" # Image generation
uv add "celeste-ai[all]" # Everything
🎨 Multi-Modal Example
# Same API, different modalities
text_client = create_client(Capability.TEXT_GENERATION, Provider.ANTHROPIC)
image_client = create_client(Capability.IMAGE_GENERATION, Provider.OPENAI)
video_client = create_client(Capability.VIDEO_GENERATION, Provider.GOOGLE)
text = await text_client.generate(prompt="Write a haiku about AI")
image = await image_client.generate(prompt="A sunset over mountains")
video = await video_client.generate(prompt="Waves crashing on a beach")
No special cases. No separate libraries. One consistent interface.
🔧 Type-Safe by Design
# Full IDE autocomplete
response = await client.generate(
prompt="Explain AI",
temperature=0.7, # ✅ Validated (0.0-2.0)
max_tokens=100, # ✅ Validated (int)
)
# Typed response
print(response.content) # str (IDE knows the type)
print(response.usage.input_tokens) # int
print(response.metadata["model"]) # str
Catch errors before production.
🤝 Contributing
We welcome contributions! See CONTRIBUTING.md.
Request a provider: GitHub Issues Report bugs: GitHub Issues
📄 License
Apache 2.0 license – see LICENSE for details.
Get Started • Documentation • GitHub
Made with ❤️ by developers tired of framework lock-in
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file celeste_ai-0.2.2.tar.gz.
File metadata
- Download URL: celeste_ai-0.2.2.tar.gz
- Upload date:
- Size: 86.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a282724c82ab90765614f5208f9f4836ab4b3da28a9ef24b3ab24a2920db81
|
|
| MD5 |
7075750c9301ca12423708c9eb2bc451
|
|
| BLAKE2b-256 |
231661a7a8e9d4c836a60924266f0846f0c7f7b4693b85f1f5c55c90e3150415
|
Provenance
The following attestation bundles were made for celeste_ai-0.2.2.tar.gz:
Publisher:
publish.yml on withceleste/celeste-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
celeste_ai-0.2.2.tar.gz -
Subject digest:
97a282724c82ab90765614f5208f9f4836ab4b3da28a9ef24b3ab24a2920db81 - Sigstore transparency entry: 699977671
- Sigstore integration time:
-
Permalink:
withceleste/celeste-python@642a5f0b1e8341651c80f9ef7089fe87b379ab46 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/withceleste
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@642a5f0b1e8341651c80f9ef7089fe87b379ab46 -
Trigger Event:
push
-
Statement type:
File details
Details for the file celeste_ai-0.2.2-py3-none-any.whl.
File metadata
- Download URL: celeste_ai-0.2.2-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a33cc86a9566d5198d3ef81b9dffdd9ac9aa6193b9e9794d764144f939b0df0
|
|
| MD5 |
d7fbcbaa0ca96e073445808c113c00a0
|
|
| BLAKE2b-256 |
038b4d7fd1e6210ae0eb13030b966fa244ac66deb05d63caec1c2128c17e5746
|
Provenance
The following attestation bundles were made for celeste_ai-0.2.2-py3-none-any.whl:
Publisher:
publish.yml on withceleste/celeste-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
celeste_ai-0.2.2-py3-none-any.whl -
Subject digest:
9a33cc86a9566d5198d3ef81b9dffdd9ac9aa6193b9e9794d764144f939b0df0 - Sigstore transparency entry: 699977676
- Sigstore integration time:
-
Permalink:
withceleste/celeste-python@642a5f0b1e8341651c80f9ef7089fe87b379ab46 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/withceleste
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@642a5f0b1e8341651c80f9ef7089fe87b379ab46 -
Trigger Event:
push
-
Statement type: