mirror of
https://github.com/hanzoai/aci.git
synced 2026-11-02 06:37:09 +00:00
1.6 KiB
1.6 KiB
name, type, agent
| name | type | agent |
|---|---|---|
| repo | repo | CodeActAgent |
This repository contains the Agent-Computer Interface (ACI) for Hanzo, providing essential tools and interfaces for AI agents to interact with computer systems for software development tasks. The core functionality is implemented in Python and includes code editing, linting, and utility functions.
General Setup:
Before pushing any changes, ensure all checks pass:
- Run pre-commit hooks:
pre-commit run --files hanzo_aci/**/* tests/**/* --config ./dev_config/python/.pre-commit-config.yaml - Run tests:
poetry run pytest
The pre-commit hooks include:
- Code formatting with Ruff
- Type checking with MyPy
- YAML validation
- Trailing whitespace and EOF fixes
- pyproject.toml validation and formatting
Repository Structure
Core Code:
- Located in the
hanzo_acidirectoryeditor/: Code editing functionalitylinter/: Code linting capabilities (tree-sitter based)utils/: Utility functions (shell commands, diff generation, logging)
Testing:
- Located in the
testsdirectorytests/unit/: Unit teststests/integration/: Integration tests- Run tests with:
poetry run pytest
Configuration:
dev_config/python/: Development configuration files.pre-commit-config.yaml: Pre-commit hook configurationruff.toml: Ruff linter configurationmypy.ini: MyPy type checker configuration
CI/CD:
- GitHub Actions workflows in
.github/workflows/lint.yml: Code linting checkspy-unit-tests.yml: Unit testspy-intg-tests.yml: Integration testspypi-release.yml: Package publishing to PyPI