ailets

Ailets: Building blocks for realtime AI apps

Ailets are components that make AI services interchangeable. Based on WebAssembly, the components can be used from any programming language and run anywhere.

Problems with existing solutions

There are a number of AI frameworks, but they have limitations.

First, the code is not language independent. If a framework is written in Python, it can’t be used from JavaScript or Ruby.

We solve this problem by using WebAssembly, which is already widely supported.

Second, the frameworks are designed for top-level abstractions such as chains or agents. The low-level abstraction layers are not intended for independent use.

We provide the lowest possible abstraction that generalizes the specifics of AI vendors.

Quote from you

Ailets now is like C in the 1970s, portable and not Cobol.

How to get started

User playground on the command line

# One-time setup
OPENAI_API_KEY=sk-.....
ailets() {
  docker run --rm -e OPENAI_API_KEY=$OPENAI_API_KEY olpa/ailets "$@"
}

# Sample usage

echo "Hello!" | ailets gpt4o --prompt -
# Output: Hello! How can I assist you today?

ailets gpt4o --prompt "Hello!" --tool get_user_name
# Output: Hello, ailets! How can I assist you today?

ailets gpt4o --prompt "What is it?" --prompt @https://rdi.berkeley.edu/llm-agents-hackathon/assets/img/llm_agents_hackathon_banner.png
# Output: The image is an announcement or promotional banner for the "LLM
# Agents MOOC Hackathon," hosted by Berkeley's Center for Responsible, De
# centralized Intelligence. It likely pertains to a hackathon focused on
# leveraging Large Language Models (LLMs) and their integration into vari
# ous applications. The event may encourage collaboration and innovation
# in the field of artificial intelligence and machine learning, while als
# o emphasizing responsible and decentralized practices in technology.

ailets dalle --prompt "linux logo"
# Output: ![image](https://oaidalleapiprodscus.blob.core.windows.net/....)

Customer quote

I’ve used ailets in my startup and got a billion dollars in funding. Thank you!

Closing and call to action

Read the technical thoughts

Developers:

Sponsors:

The Ailets project is unique, tames AI agents, ambitious, and requires a lot of work. I need to raise funds.

FAQ

Contact

Author: Oleg Parashchenko, olpa@ https://uucode.com/

Contact: via email or Ailets Discord

Website: Ailets home, github repository

License: MIT