Agent-first AI creation library: one consistent interface from idea to deployed AI system.
Project description
aire
Agent-first AI creation library (Apache-2.0, Python 3.11+) — one consistent interface from a local prototype to a deployed system: models, data, RAG, agents, tools, workflows, evaluation, safety, observability, and deployment.
Status: Alpha (
0.3.x). APIs can change. Some surfaces (vision, audio, foundation helpers) are intentionally stubby — check return flags /.describe()rather than assuming production-ready multimodal or pretrained weights.
from aire import AI
assistant = (
AI.project("knowledge_assistant")
.documents("./docs")
.model("mock:echo") # or openai:gpt-4o-mini, ollama:llama3.2, anthropic:claude-sonnet-4-5
.vector_store("local:default")
.citations(True)
)
assistant.index()
answer = assistant.ask("What does the documentation say about authentication?")
print(answer.text)
print(answer.citations)
Works offline out of the box (mock:echo + local:hashing) — no API keys,
no network. Swap providers with a one-string change.
Install
pip install aire-ai
# import name stays `aire`:
# from aire import AI
#
# or from source
pip install -e ".[dev]"
Note: The PyPI distribution is named
aire-aibecause the nameaireis already taken by an unrelated package. The Python import remainsaire.
Optional extras: serve, ml, vision, training, eval, docs, provider-named extras, and
all. See pyproject.toml.
Requires Python 3.11+.
Quick start (offline)
from aire import AI
model = AI.models.use_sync("mock:echo")
result = model.generate_sync("hello, aire")
print(result.text)
# Knowledge assistant / RAG without credentials
assistant = AI.project("demo").documents("./docs").model("mock:echo")
assistant.index()
print(assistant.ask("Summarize the project.").text)
CLI:
aire doctor
aire run "hello, aire"
Runnable samples live under examples/.
Core ideas
| Idea | What it means |
|---|---|
| Agent-first | Discoverable components (.describe()), tools as contracts, deterministic agent runtime |
| Provider-independent | provider:name refs (openai:…, anthropic:…, ollama:…, mock:echo) via plugins |
| Offline-capable | Full local loop with mock:echo / local:hashing |
| Structured errors | AireError subclasses with stable code, context, retryable |
| Composable facade | AI.models, AI.rag, AI.agents, AI.workflows, AI.eval, AI.deploy, … |
Honesty about stubs
aire prefers honest stubs over silent fakes:
- Vision / audio — pipelines may return
stub=Truewhen no real media provider is configured. - Foundation / training helpers — config-driven toy stacks and hooks; not pretrained weight downloads by default.
- Some builtins / toolkits — still thin; read
.describe()and docs before relying on them in production.
See docs/ (especially honesty / guide pages as they land) and GAPS.md
for the rebuild backlog.
Documentation
| Resource | Link |
|---|---|
| Docs home | docs/ |
| Changelog | CHANGELOG.md |
| Contributing | CONTRIBUTING.md |
| Security | SECURITY.md |
| Code of conduct | CODE_OF_CONDUCT.md |
| Cite | CITATION.cff |
Development
make install # pip install -e ".[dev]"
make lint # ruff check + format --check
make typecheck # mypy
make test # pytest -q
make all # lint + typecheck + test
pre-commit install
CI runs on Python 3.11–3.13. See Contributing.
Providers
First-party provider entry points: openai, anthropic, ollama, huggingface,
mock, echo. Additional OpenAI-compatible aliases and vector stores are
available via integrations — see docs and aire.integrations.
License
Apache License 2.0 — see LICENSE.
Project details
Release history Release notifications | RSS feed
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 aire_ai-0.3.5.tar.gz.
File metadata
- Download URL: aire_ai-0.3.5.tar.gz
- Upload date:
- Size: 322.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
646944c0cfef122decc2dc23db7a8ee8848952e0a2885b588adbb0b09ee147e9
|
|
| MD5 |
f8648d9d35375cb07ceb5b2d11a46108
|
|
| BLAKE2b-256 |
df0bc8fc37e5131d025ccbc862899a8aa37ab127da8e39a07a697fdade38d793
|
Provenance
The following attestation bundles were made for aire_ai-0.3.5.tar.gz:
Publisher:
release.yml on desenyon/aire
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aire_ai-0.3.5.tar.gz -
Subject digest:
646944c0cfef122decc2dc23db7a8ee8848952e0a2885b588adbb0b09ee147e9 - Sigstore transparency entry: 2285077334
- Sigstore integration time:
-
Permalink:
desenyon/aire@57f861bea9463fcb8fac29c03aed937f2efc73f4 -
Branch / Tag:
refs/tags/v0.3.5 - Owner: https://github.com/desenyon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@57f861bea9463fcb8fac29c03aed937f2efc73f4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aire_ai-0.3.5-py3-none-any.whl.
File metadata
- Download URL: aire_ai-0.3.5-py3-none-any.whl
- Upload date:
- Size: 371.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f31498336527d59c0cbc7a3a13cbe4a12a785f984cba6e788b945cfa8fc1825
|
|
| MD5 |
1177f744aa2b56e38cc8efb563363578
|
|
| BLAKE2b-256 |
3fe290ce9a709ceb96e5bc14fc158d349721ff5f1dbc915611b042e64c6cf8e0
|
Provenance
The following attestation bundles were made for aire_ai-0.3.5-py3-none-any.whl:
Publisher:
release.yml on desenyon/aire
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aire_ai-0.3.5-py3-none-any.whl -
Subject digest:
5f31498336527d59c0cbc7a3a13cbe4a12a785f984cba6e788b945cfa8fc1825 - Sigstore transparency entry: 2285077420
- Sigstore integration time:
-
Permalink:
desenyon/aire@57f861bea9463fcb8fac29c03aed937f2efc73f4 -
Branch / Tag:
refs/tags/v0.3.5 - Owner: https://github.com/desenyon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@57f861bea9463fcb8fac29c03aed937f2efc73f4 -
Trigger Event:
push
-
Statement type: