amico-hal

Crates.ioamico-hal
lib.rsamico-hal
version0.0.2
created_at2025-03-15 05:56:48.925979+00
updated_at2025-06-06 07:47:07.802333+00
descriptionThe HAL of the Amico AI Agent Framework
homepage
repositoryhttps://github.com/AIMOverse/amico
max_upload_size
id1593344
size42,800
Archer (takasaki404)

documentation

README

Amico HAL

This crate is a part of the Amico project, a powerful and flexible AI agent framework.

What does this crate do

This crate provides the Hardware Abstraction Layer (HAL) for the Amico AI Agent Framework, including the following features:

  1. Cross-platform audio interfaces for playback and recording;
  2. OS-specific implementations for native platforms;
  3. WebAssembly (WASM) support for web-based applications.

Directory Structure

The crate is organized as follows:

Core Components

  • interface/: Defines the core traits and interfaces that abstract hardware functionality.
    • audio.rs: Provides traits for audio playback and recording capabilities.

Platform Implementations

  • os/: Contains native operating system implementations.

    • common/: Shared functionality across different operating systems.
    • linux/: Linux-specific implementations.
  • wasm/: WebAssembly implementation for web browsers.

Features

  • os-common: Enables the common OS-specific audio functionality using cpal, hound, lame, and rodio libraries (enabled by default).

Documents

License

This crate is released under the MIT License

Commit count: 400

cargo fmt