Skip to main content
Alira

Alira

模块化的 AI Agent 底座与运行时

Python License

快速开始 · 模块文档 · 问题反馈

Alira 为构建 AI Agent 应用提供模型调用、上下文管理、工具接入与消息存储能力。 通过模块组合所需功能,让同一套运行时适应不同的应用场景。

项目处于早期开发阶段,接口与功能仍在演进。

主要能力

  • 模块化运行:按需选择启动模块,自动加载前置模块并安装所需依赖。
  • Agent 编排:基于 Apixis 的事件与图执行能力,组织 Agent 的执行流程。
  • 工具接入:支持函数工具与 MCP,扩展 Agent 可调用的能力。
  • 消息与存储:提供上下文管理、消息持久化与可选的 SQLite 向量检索。

快速开始

需要 Python 3.12+ 和 uv。从源码启动:

git clone https://github.com/JJJJSTIYYYY/alira.git
cd alira
uv sync --locked
uv run alira --web

默认可访问 http://localhost:2712/health 检查服务状态。 Web 模块的依赖会在加载时自动安装。

只启动内核可运行 uv run alira;查看可用模块与启动参数可运行 uv run alira --help。

PyPI 发行包名为 alira-harness,Python 导入名和命令均为 alira。

文档

模块开发与依赖管理:了解模块声明、依赖关系和生命周期。

社区

QQ群 · Discord

欢迎通过 Issues 反馈问题、讨论想法,或提交 Pull Request。

许可证

GNU GPL v3.0

Metadata

Release files for alira-harness 3.0.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 alira-harness 3.0.0
File Size Uploaded Provenance Actions
alira_harness-3.0.0.tar.gz 1.9 MB Without provenance Details for alira_harness-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alira-harness 3.0.0
File Interpreter ABI Platform Actions
alira_harness-3.0.0-py3-none-any.whl Python 3 none any Details for alira_harness-3.0.0-py3-none-any.whl

Total release size: 2.0 MB

Release files / alira_harness-3.0.0.tar.gz

Download URL alira_harness-3.0.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7e791d2261fa11cee89a68726652a638debffc9550d78199e0b50b998ee161f9
BLAKE2b-256 checksum
How to use checksums
3ec6981ab324a8b59e6c8d59356ea952b88d11d533cd278b75dace09f74b529d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / alira_harness-3.0.0-py3-none-any.whl

Download URL alira_harness-3.0.0-py3-none-any.whl
Size 137.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b04965ded3504368b5cde542d3f5372fe79d6a9f37671a97786ccc15cedb1644
BLAKE2b-256 checksum
How to use checksums
febe704288dff65ea5dc1d38a4829b45d304df83b601af1e181371a703204abf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for alira-harness 3.0.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.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files No provenance

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