Skip to main content

Skye AI

Modular GenAI library with optional extras

Skye AI provides a foundational layer for building AI agents and intelligent applications with a Clean Architecture approach. The base package includes only interfaces and models, while all implementations are available as optional extras.

PyPI Python 3.11+ License: MIT Documentation Install size: 1.1 MB Built with Kiro

Features

  • 🎯 Provider-agnostic - Unified interface for OpenAI, Anthropic, AWS Bedrock, Azure, and more
  • 🧩 Modular architecture - Install only what you need via optional extras
  • 🔒 Type-safe - Complete type hints, with validated dataclasses
  • ⚡ Async-first - Both sync and async APIs throughout
  • 🔄 Load balancing - Multiple routing strategies with automatic fallbacks
  • 📊 Observability - Built-in telemetry, logging, and tracing
  • 🛡️ Safety filters - Input/output validation and moderation
  • 💾 Memory systems - Episodic and semantic memory support

Install

pip install skyeai            # the base: messages, completion, errors, config, Ports (standard library only)
pip install skyeai[memory]    # add only what you need: tokens, auth, memory, postgres, mcp, ...

Every extra is optional and loaded lazily. All extras and install options: getting started.

Quick start

One call creates the client of a provider, in the style of boto3.client:

import skye
from skye import UserMessage

# AWS credentials come from the usual sources: environment variables, ~/.aws or the instance role
client = skye.provider("bedrock", region="us-east-1")
response = client.complete(
    messages=[UserMessage(content="Hello!")],
    model="us.anthropic.claude-sonnet-4-5-20250929-v1:0",
)
print(response.content)

The same line works for every provider ("openai", "anthropic", "bedrock", "azure", "google", "cohere"); for embeddings add provider_type="embedding". To balance several models with fallbacks, use the router: router overview.

Examples

Runnable examples are in examples/, one folder per topic:

Folder What it shows
examples/basic quick start, async and streaming, configuration, completion requests
examples/providers OpenAI, Anthropic, Azure, Bedrock, Google, embeddings, multimodal, structured output, function calling, your own adapter
examples/routing the router: strategies, .skye configuration, fallbacks, health and usage
examples/capabilities local functions, remote APIs, function calling, the MCP client
examples/advanced multimodal, structured output, function calling, streaming, prompt engineering, your own provider
examples/prompts templates, few-shot examples, roles, multimodal prompts
examples/serverless a handler that creates its client once, and a router with external state

Every example is run offline against a fake network by tests/examples, so it cannot drift from the library.

Documentation

The documentation is online at skye.readthedocs.io, with one section per component. The same pages are in docs/ in the repository.

Topic Page
Getting started, install, quick start getting started
Architecture and layers architecture
Core interfaces and configuration interfaces, configuration
Providers, embeddings, multimodal, streaming provider guide
Function calling and capabilities function calling
Routing, .skye files, health, fallbacks router overview, routing guide
Lazy loading and serverless deployment deployment
Size and load budgets budgets
Codename glossary glossary
Development: setup, tests, code quality development
Roadmap roadmap

How the project is specified: the requirements, the design and the decisions are in .kiro/steering/ (10-requirements.md, 11-design.md, 12-decisions.md) and the per-component specs in .kiro/specs/.

Contributing

See CONTRIBUTING.md. Fork, create a branch, make your changes with tests, run the code quality checks, and open a pull request.

Everyone taking part in the project follows the Code of Conduct.

License

MIT License - see LICENSE file for details.

Support

Acknowledgments

Skye AI is inspired by:

  • LangChain - For pioneering LLM application frameworks
  • LiteLLM - For provider abstraction patterns
  • Clean Architecture - For architectural principles
  • Cedar - For the policy model (principal, action, resource, context; default deny; forbid overrides permit)

Metadata

Release files for skyeai 0.1.1

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

Source distribution (sdist)

Source distribution for skyeai 0.1.1
File Size Uploaded Provenance Actions
skyeai-0.1.1.tar.gz 1.1 MB Without provenance Details for skyeai-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skyeai 0.1.1
File Interpreter ABI Platform Actions
skyeai-0.1.1-py3-none-any.whl Python 3 none any Details for skyeai-0.1.1-py3-none-any.whl

Total release size: 1.6 MB

Release files / skyeai-0.1.1.tar.gz

Download URL skyeai-0.1.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
5b37313c7555ac26ede29eed6d475b5fb44e93214837263565322f6d17d9871b
BLAKE2b-256 checksum
How to use checksums
45f3cd9793e86fcae849e8a83d9eeb86f53f8d870e539018c38a5dfb5549e4b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / skyeai-0.1.1-py3-none-any.whl

Download URL skyeai-0.1.1-py3-none-any.whl
Size 490.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46ee106657c19d96c9a32184e9b9494eca8fd444005d01e4f8fac3e6e9474563
BLAKE2b-256 checksum
How to use checksums
50d5ca24c58e0a87f4268627a7d5e908e6f7d15433cdaad8f138302aa11d980c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for skyeai 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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