A single interface for working with any AI model. Complete with built-in observability and cost tracking.
Project description
Astral AI
Astral is an open-source framework for AI engineers that abstracts away the complexity and friction of working across multiple model providers.
Explore the docs »
View Demo
·
Home Page
·
Request Feature
Table of Contents
About The Project
Astral is an open-source framework for AI engineers that abstracts away the complexity and friction of working across multiple model providers.
Why Astral?
Astral comes from Late Latin, meaning of, relating to, or coming from the stars. The stars have long symbolized discovery, exploration, and the interconnected systems that shape our universe.
AI capabilities such as completions, embeddings, image and video generation, real-time audio, and speech-to-text are essential building blocks of the next industrial revolution. But today, these capabilities remain fragmented, locked behind provider-specific implementations that slow innovation.
Astral changes that. By seamlessly integrating these powerful resources into a cohesive, universal framework, Astral enables engineers to build at the speed of discovery. We empower innovators to transcend today's limitations, guiding them toward a new frontier of human-AI interaction—unlocking infinite possibilities.
Our Vision
Astral provides a type-safe, unified interface that developers can use to integrate across providers and resources, including completions, embeddings, real-time audio, and speech-to-text, without being locked into any single provider. By eliminating provider-specific inconsistencies, Astral enables engineers to build, scale, and iterate on AI-driven applications with greater speed and efficiency.
Looking ahead, we envision building enterprise solutions on top of Astral's core open-source SDK, including prompt versioning, template management, workflow automation, and evaluation frameworks that work across providers and organizations.
Our goal is to become the go-to framework for building AI applications, from agentic systems to enterprise workflows, while remaining a thin, high-performance layer that avoids the inefficiencies of heavier frameworks.
Getting Started
This section shows you how to get a local copy up and running. For a more structured overview, see our docs here: Astral Documentation
Prerequisites
- Requires Python >=3.12
- Authentication credentials for whatever model providers you're interested in using (i.e API key for OpenAI, API key for Anthropic, etc)
🌌 Join the Astral Community!
Before diving in, make sure to:
-
⭐️ Star the Repository!
Show your support by starring the repo—it helps new builders discover us and expands our community! -
💬 Join our Discord Community:
Hop into our vibrant Discord community to connect with fellow contributors, brainstorm ideas, ask questions, or just hang out! It's the best place to stay updated on everything Astral. -
🐦 Follow me on X:
Stay updated with the latest news and updates by following me on X.Thanks for helping shape the future of Astral—we can't wait to see what you build!
🚀 Getting Started Contributing
Ready to build something awesome? Follow these steps:
-
🍴 Fork and Clone:
Begin by forking the repository to your GitHub account and cloning your fork locally:# First, fork the repository on GitHub, then clone your fork git clone https://github.com/chrismaresca/Astral-AI.git cd Astral-AI
-
⚙️ Set Up Development Environment:
We utilize UV—a high-performance Python package and project manager built with Rust—to simplify setup.# Execute the following command to create a virtual environment and install all dependencies. uv sync
-
📚 Refer to Quick Start Guide:
Access our developer quick start guide here: Quick Start
🔍 Examples
Dive into our demos and guides to get a hands-on experience: Demos
🛤️ Roadmap
See our vision for the future of AI engineering: Future Vision 🌌
See the open issues for a full list of proposed features (and known issues) 📝.
If you found a bug or have a feature request? Check out our Found an issue? section to learn how to contribute.
🤝 Contributing
Your contributions are what make Astral shine! For more information, see the CONTRIBUTING.md file.
🐛 Found an issue?
If you have found an issue with our documentation, please create an issue.
If it's a quick fix, such as a misspelled word or a broken link, feel free to skip creating an issue. Go ahead and create a pull request with the solution. 🚀
Or you can contact Chris directly if you prefer.
License
Distributed under the MIT License. See the LICENSE file for more information.
Contact
Inspiration
- Building Effective Agents – Anthropic - Insights on creating autonomous AI systems that can effectively solve complex tasks
- Aligning Language Models To Follow Instructions – OpenAI - Best practices for crafting effective prompts
- Linear – In artfully blending software and design - Inspiration for thoughtful product design and user experience
- Steve Jobs on Changing the World - "When you grow up you tend to get told the world is the way it is... life changes when you realize one simple truth: Everything around you that you call life was made up by people that were no smarter than you."
- My approach to software development has been profoundly shaped by the philosophical and poetic insights of Charles Bukowski:
- Style - Charles Bukowski - "Style is the answer to everything..."
- So You Want To Be a Writer - Charles Bukowski - On authentic creation and finding your voice
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
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 astral_ai-0.2.5.tar.gz.
File metadata
- Download URL: astral_ai-0.2.5.tar.gz
- Upload date:
- Size: 488.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a632634c0de9cef9860ae1c4b5c2202590b006a3433b3b02f81e03d9f63e6d1
|
|
| MD5 |
36661adc0620dda832447502102a8320
|
|
| BLAKE2b-256 |
d5006be02d8429720aab784113fd5edefe5b4c6b915aacbf4c93d2bbda06b151
|
File details
Details for the file astral_ai-0.2.5-py3-none-any.whl.
File metadata
- Download URL: astral_ai-0.2.5-py3-none-any.whl
- Upload date:
- Size: 146.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69e67b06dd0144aa8bfdf0e1c2a305f190d496857caeecb513e72b1b4f5fab58
|
|
| MD5 |
767dde660ec0b20ca77c951724be663d
|
|
| BLAKE2b-256 |
4dcf5f7d2b27059a33a59965c931eb69e3f6c89579676df8769847cf68ff1389
|