Skip to main content

Skye AI

A GenAI library for AWS Lambda that deploys as a 0.56 MB zip. Standard library only: no container, no layer, no dependency to vendor. The size limits are in budgets.toml and the CI fails any change that exceeds them.

PyPI Python 3.11+ License: MIT Documentation Lambda zip: 0.56 MB Built with Kiro

Measured on skyeai 0.1.1 (2026-11-11) Value Limit the CI enforces
Lambda zip, library and handler (examples/serverless/lambda_zip) 0.56 MB 1 MB (AWS: 50 MB)
Installed size of the core 1.8 MB 2 MB
Third-party dependencies of the core 0 0
import skye in a fresh interpreter about 60 ms 100 ms

Provider calls go over REST with the standard library, and AWS requests are signed with SigV4 in the standard library, so Bedrock needs nothing beyond the Lambda Python runtime. Every extra is optional and loaded only when used.

Quick start (60 seconds)

pip install skyeai
export OPENAI_API_KEY=sk-...
import skye
from skye import UserMessage

client = skye.provider("openai")  # the key from OPENAI_API_KEY
response = client.complete(messages=[UserMessage(content="Hello!")], model="gpt-4o-mini")
print(response.content)

The same line works for "anthropic", "bedrock", "azure" and "google", each with its standard key variable.

On AWS Lambda

examples/serverless/lambda_zip is a complete function: handler.py calls Bedrock with the function's role, and build.sh packs it with Skye into function.zip, 0.56 MB. Deploy it with aws lambda create-function --runtime python3.12 --handler handler.handler --zip-file fileb://function.zip; the steps are in its README.

Works today

Component What you can use
models OpenAI, Anthropic, Bedrock, Azure OpenAI, Google; streaming and async; structured output into dataclasses; embeddings; images in messages; token count and cost
router aliases over several models, routing strategies, fallbacks, retries, cooldown; its state in any store
store memory, file, DynamoDB, Valkey/Redis, PostgreSQL, Lambda durable functions; one extra per driver
tools function calling with local functions and remote APIs; a built-in MCP client
prompts templates and few-shot examples; prompts and routers written in .skye files
auth API keys, SigV4, credential sources and secret managers
CLI skye check, fmt, render, new for .skye files

Roadmap

Agents, memory, safety filters (guard), policies, observability, a tool gateway, teams and flows are specified in .kiro/specs/ and have no released code yet. Their state: Status and roadmap.

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; the source of every page is in docs/.

You want to Page
Install and make a first call Get started
Call a provider, stream, get structured output Models guides
Route across models with fallbacks Routing guides
Write prompts and routers in .skye The .skye language, reference
Keep state across invocations Choose a store backend
Deploy on AWS Lambda Deploy on AWS Lambda
Look up a class or a function Python API, CLI
Understand the design Architecture, Serverless first
See what is planned Status and 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.2.0

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.2.0
File Size Uploaded Provenance Actions
skyeai-0.2.0.tar.gz 1.3 MB Without provenance Details for skyeai-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / skyeai-0.2.0.tar.gz

Download URL skyeai-0.2.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
40742ff9b23510ad294e743724b5a03540f6fba6b07f62be5ed7ba8ad6c80b59
BLAKE2b-256 checksum
How to use checksums
851def469885bb5f6e26ce6cb71fc8d09725029f8dcf767924cba820abc1af75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL skyeai-0.2.0-py3-none-any.whl
Size 557.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a8bed758caaead7acb26b90652fc2c3f4b69e634fa39083c230eda24c2bd687
BLAKE2b-256 checksum
How to use checksums
9b6d074a4904dc69b679364955596fb44f30f558395a01c3dfbe40756416509b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for skyeai 0.2.0

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