Skip to main content

An Agent-Computer Interface (ACI) designed for software development agents OpenHands.

Project description

Agent-Computer Interface (ACI) for OpenHands

⚠️ DEPRECATION NOTICE: This repository is now archived. The file editor tool has been migrated to the OpenHands Agent SDK under openhands/tools/str_replace_editor.

An Agent-Computer Interface (ACI) designed for software development agents OpenHands. This package provides essential tools and interfaces for AI agents to interact with computer systems for software development tasks.

Features

  • Code Editor Interface: Sophisticated editing capabilities through the editor module

    • File creation and modification
    • Code editing
    • Configuration management
  • Code Linting: Built-in linting capabilities via the linter module

    • Tree-sitter based code analysis
    • Python-specific linting support
  • Utility Functions: Helper modules for common operations

    • Shell command execution utilities
    • Diff generation and analysis
    • Logging functionality

Installation

pip install openhands-aci

Or using Poetry:

poetry add openhands-aci

Project Structure

openhands_aci/
├── editor/           # Code editing functionality
├── linter/           # Code linting capabilities
└── utils/            # Utility functions

Development

  1. Clone the repository:
git clone https://github.com/All-Hands-AI/openhands-aci.git
cd openhands-aci
  1. Install development dependencies:
poetry install --extras llama
  1. Configure pre-commit-hooks
make install-pre-commit-hooks
  1. Run tests:
poetry run pytest

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openhands_aci-0.3.3.tar.gz (78.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openhands_aci-0.3.3-py3-none-any.whl (95.6 kB view details)

Uploaded Python 3

File details

Details for the file openhands_aci-0.3.3.tar.gz.

File metadata

  • Download URL: openhands_aci-0.3.3.tar.gz
  • Upload date:
  • Size: 78.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure

File hashes

Hashes for openhands_aci-0.3.3.tar.gz
Algorithm Hash digest
SHA256 567fc65bb881e3ea56c987f4251c8f703d3c88fae99402b46ea7dcc48d85adb2
MD5 5dcaac77b2b83e06cac8f0eaf91dc32f
BLAKE2b-256 c202f82be4fd3b079bd12d53cc3083811535ed01e1b528b02f9571b9e5e04f9e

See more details on using hashes here.

File details

Details for the file openhands_aci-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: openhands_aci-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 95.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure

File hashes

Hashes for openhands_aci-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35795a4d6f5939290f74b26190d5b4cd7477b06ffb7c7f0b505166739461d651
MD5 3ab97c8e11b13a71d65992b389f3a74e
BLAKE2b-256 82507821e227e3d613741f233d07526da7e3dc558bc8e4143c016c110e2222d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page