{"id":32930008,"url":"https://github.com/withceleste/celeste-python","last_synced_at":"2026-02-24T12:15:52.002Z","repository":{"id":321305916,"uuid":"1085158231","full_name":"withceleste/celeste-python","owner":"withceleste","description":"Open source, type-safe primitives for multi-modal AI. All capabilities, all providers, one interface 🌟","archived":false,"fork":false,"pushed_at":"2026-01-23T17:34:20.000Z","size":813,"stargazers_count":134,"open_issues_count":8,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-24T07:47:39.143Z","etag":null,"topics":["ai","async","developer-tools","multimodal","python","sdk","streaming","type-safe"],"latest_commit_sha":null,"homepage":"https://withceleste.ai/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/withceleste.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG_V1.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-28T16:58:00.000Z","updated_at":"2026-01-24T04:59:44.000Z","dependencies_parsed_at":"2025-10-29T00:39:49.687Z","dependency_job_id":null,"html_url":"https://github.com/withceleste/celeste-python","commit_stats":null,"previous_names":["withceleste/celeste-python"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/withceleste/celeste-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withceleste%2Fceleste-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withceleste%2Fceleste-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withceleste%2Fceleste-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withceleste%2Fceleste-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/withceleste","download_url":"https://codeload.github.com/withceleste/celeste-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withceleste%2Fceleste-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","async","developer-tools","multimodal","python","sdk","streaming","type-safe"],"created_at":"2025-11-11T13:00:58.536Z","updated_at":"2026-01-29T11:30:23.949Z","avatar_url":"https://github.com/withceleste.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Celeste AI\n\n\u003cimg src=\"https://raw.githubusercontent.com/withceleste/celeste-python/main/logo.svg\" width=\"64\" height=\"64\" alt=\"Celeste Logo\"\u003e\n\n**The primitive layer for multi-modal AI**\n\nAll modalities. All providers. One interface.\n\nPrimitives, not frameworks.\n\n\n\n[![Python](https://img.shields.io/badge/Python-3.12+-blue?style=for-the-badge)](https://www.python.org/)\n[![License](https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge)](LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/celeste-ai?style=for-the-badge)](https://pypi.org/project/celeste-ai/)\n\n\u003ca href=\"https://github.com/withceleste/celeste-python\" target=\"_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/github/stars/withceleste/celeste-python.svg?style=social\u0026label=Star\" alt=\"GitHub stars\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/celeste-ai\" target=\"_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/pypi/dm/celeste-ai.svg\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.linkedin.com/company/withceleste\" target=\"_parent\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/LinkedIn-Follow%20%40withceleste-0077B5?style=social\u0026logo=linkedin\u0026logoColor=white\" alt=\"Follow @withceleste on LinkedIn\"/\u003e\n\u003c/a\u003e\n\n[Quick Start](#-quick-start) • [Request Provider](https://github.com/withceleste/celeste-python/issues/new)\n\n\u003c/div\u003e\n\n\u003e 🚀 This is the v1 Beta release. We're validating the new architecture before the stable v1.0 release. Feedback welcome!\n\n# Celeste AI\n\nType-safe, modality/provider-agnostic primitives.\n\n- **Unified Interface:** One API for OpenAI, Anthropic, Gemini, Mistral, and 14+ others.\n- **True Multi-Modal:** Text, Image, Audio, Video, Embeddings, Search —all first-class citizens.\n- **Type-Safe by Design:** Full Pydantic validation and IDE autocomplete.\n- **Zero Lock-In:** Switch providers instantly by changing a single config string.\n- **Primitives, Not Frameworks:** No agents, no chains, no magic. Just clean I/O.\n- **Lightweight Architecture:** No vendor SDKs. Pure, fast HTTP.\n\n## 🚀 Quick Start\n```python\nimport celeste\n\n# One SDK. Every modality. Any provider.\ntext   = await celeste.text.generate(\"Explain quantum computing\", model=\"claude-opus-4-5\")\nimage  = await celeste.images.generate(\"A serene mountain lake at dawn\", model=\"flux-2-pro\")\nspeech = await celeste.audio.speak(\"Welcome to the future\", model=\"eleven_v3\")\nvideo  = await celeste.videos.analyze(video_file, prompt=\"Summarize this clip\", model=\"gemini-3-pro\")\nembeddings = await celeste.text.embed([\"lorep ipsum\", \"dolor sit amet\"], model=\"gemini-embedding-001\")\n```\n\n\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n## 15+ providers. Zero lock-in.\n\n\n\n\n\n\u003cimg src=\"https://www.google.com/favicon.ico\" width=\"32\" height=\"32\" alt=\"Google\" title=\"Google\"\u003e\n\u003cimg src=\"https://www.google.com/s2/favicons?domain=openai.com\u0026sz=64\" width=\"32\" height=\"32\" alt=\"OpenAI\" title=\"OpenAI\"\u003e\n\u003cimg src=\"https://mistral.ai/favicon.ico\" width=\"32\" height=\"32\" alt=\"Mistral\" title=\"Mistral\"\u003e\n\u003cimg src=\"https://www.anthropic.com/favicon.ico\" width=\"32\" height=\"32\" alt=\"Anthropic\" title=\"Anthropic\"\u003e\n\u003cimg src=\"https://cohere.com/favicon.ico\" width=\"32\" height=\"32\" alt=\"Cohere\" title=\"Cohere\"\u003e\n\u003cimg src=\"https://x.ai/favicon.ico\" width=\"32\" height=\"32\" alt=\"xAI\" title=\"xAI\"\u003e\n\u003cimg src=\"https://www.google.com/s2/favicons?domain=deepseek.com\u0026sz=32\" width=\"32\" height=\"32\" alt=\"DeepSeek\" title=\"DeepSeek\"\u003e\n\u003cimg src=\"https://ollama.com/public/apple-touch-icon.png\" width=\"32\" height=\"32\" alt=\"Ollama\" title=\"Ollama\"\u003e\n\u003cimg src=\"https://www.google.com/s2/favicons?domain=groq.com\u0026sz=32\" width=\"32\" height=\"32\" alt=\"Groq\" title=\"Groq\"\u003e\n\u003cimg src=\"https://www.google.com/s2/favicons?domain=elevenlabs.io\u0026sz=32\" width=\"32\" height=\"32\" alt=\"ElevenLabs\" title=\"ElevenLabs\"\u003e\n\u003cimg src=\"https://www.google.com/s2/favicons?domain=seed.bytedance.com\u0026sz=32\" width=\"32\" height=\"32\" alt=\"BytePlus\" title=\"BytePlus\"\u003e\n\u003cimg src=\"https://www.google.com/s2/favicons?domain=blackforestlabs.ai\u0026sz=32\" width=\"32\" height=\"32\" alt=\"Black Forest Labs\" title=\"Black Forest Labs\"\u003e\n\n\n**and many more**\n\n**Missing a provider?** [Request it](https://github.com/withceleste/celeste-python/issues/new) – ⚡ **we ship fast**.\n\n\u003c/div\u003e\n\n---\n\n\n## Operations by Domain\n\n| Action | Text | Images | Audio | Video |\n| :--- | :---: | :---: | :---: | :---: |\n| **Generate** | ✓ | ✓ | ○ | ✓ |\n| **Edit** | — | ✓ | — | — |\n| **Analyze** | — | ✓ | ✓ | ✓ |\n| **Upscale** | — | ○ | — | ○ |\n| **Speak** | — | — | ✓ | — |\n| **Transcribe** | — | — | ✓ | — |\n| **Embed** | ✓ | ○ | — | ○ |\n\n\u003csub\u003e✓ Available · ○ Planned\u003c/sub\u003e\n\n\n## 🔄 Switch providers in one line\n\n```python\nfrom pydantic import BaseModel\n\nclass User(BaseModel):\n    name: str\n    age: int\n\n# Model IDs\nanthropic_model_id = \"claude-4-5-sonnet\"\ngoogle_model_id = \"gemini-2.5-flash\"\n```\n\n```python\n# ❌ Anthropic Way\nfrom anthropic import Anthropic\nimport json\n\nclient = Anthropic()\nresponse = client.messages.create(\n    model=anthropic_model_id,\n    messages=[\n        {\"role\": \"user\",\n         \"content\": \"Extract user info: John is 30\"}\n    ],\n    output_format={\n        \"type\": \"json_schema\",\n        \"schema\": User.model_json_schema()\n    }\n)\nuser_data = json.loads(response.content[0].text)\n```\n\n```python\n# ❌ Google Gemini Way\nfrom google import genai\nfrom google.genai import types\n\nclient = genai.Client()\nresponse = await client.aio.models.generate_content(\n    model=gemini_model_id,\n    contents=\"Extract user info: John is 30\",\n    config=types.GenerateContentConfig(\n        response_mime_type=\"application/json\",\n        response_schema=User\n    )\n)\nuser = response.parsed\n```\n\n```python\n# ✅ Celeste Way\nimport celeste\n\nresponse = await celeste.text.generate(\n    \"Extract user info: John is 30\",\n    model=google_model_id,  # \u003c--- Choose any model from any provider\n    output_schema=User,  # \u003c--- Unified parameter working across all providers\n)\nuser = response.content  # Already parsed as User instance\n```\n\n\n## ⚙️ Advanced: Create Client\nFor explicit configuration or client reuse, use `create_client` with modality + operation. This is modality-first: you choose the output type and operation explicitly.\n\n```python\nfrom celeste import create_client, Modality, Operation, Provider\n\nclient = create_client(\n    modality=Modality.TEXT,\n    operation=Operation.GENERATE,\n    provider=Provider.OLLAMA,\n    model=\"llama3.2\",\n)\nresponse = await client.generate(\"Extract user info: John is 30\", output_schema=User)\n```\n\n\u003e `capability` is still supported but deprecated. Prefer `modality` + `operation`.\n\n---\n## 🪶 Install\n```bash\nuv add celeste-ai\n# or\npip install celeste-ai\n```\n\n---\n## 🔧 Type-Safe by Design\n\n```python\n# Full IDE autocomplete\nimport celeste\n\nresponse = await celeste.text.generate(\n    \"Explain AI\",\n    model=\"gpt-4o-mini\",\n    temperature=0.7,    # ✅ Validated (0.0-2.0)\n    max_tokens=100,     # ✅ Validated (int)\n)\n\n# Typed response\nprint(response.content)              # str (IDE knows the type)\nprint(response.usage.input_tokens)   # int\nprint(response.metadata[\"model\"])     # str\n```\n\nCatch errors **before** production.\n\n---\n\n## 🤝 Contributing\n\nWe welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md).\n\n**Request a provider:** [GitHub Issues](https://github.com/withceleste/celeste-python/issues/new)\n**Report bugs:** [GitHub Issues](https://github.com/withceleste/celeste-python/issues)\n\n---\n\n## 📄 License\n\nMIT license – see [LICENSE](LICENSE) for details.\n\n\n\n\u003cdiv align=\"center\"\u003e\n\n**[Get Started](https://withceleste.ai/docs/quickstart)** • **[Documentation](https://withceleste.ai/docs)** • **[GitHub](https://github.com/withceleste/celeste-python)**\n\nMade with ❤️ by developers tired of framework lock-in\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithceleste%2Fceleste-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwithceleste%2Fceleste-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithceleste%2Fceleste-python/lists"}