From b564248de252774aed8ca0d26dfcee421e7983b8 Mon Sep 17 00:00:00 2001 From: AIOSAI Date: Fri, 27 Feb 2026 08:04:44 -0800 Subject: [PATCH] feat: initial repository scaffold - README with project overview - pyproject.toml with trinity-pattern dependency - src/aipass/ package with version - Basic CI workflow (Python 3.10-3.13, ruff, pytest) - MIT license Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ .gitignore | 25 +++++++++++++++++++++++++ CLAUDE.md | 6 ++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 21 +++++++++++++++++++++ pyproject.toml | 26 ++++++++++++++++++++++++++ src/aipass/__init__.py | 1 + src/aipass/py.typed | 0 tests/__init__.py | 0 tests/test_version.py | 5 +++++ 10 files changed, 138 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .gitignore create mode 100644 CLAUDE.md create mode 100644 LICENSE create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 src/aipass/__init__.py create mode 100644 src/aipass/py.typed create mode 100644 tests/__init__.py create mode 100644 tests/test_version.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..3540b03e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12", "3.13"] + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e ".[dev]" + + - name: Lint + run: ruff check src/ tests/ + + - name: Test + run: pytest diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..de6abdd0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# Python +__pycache__/ +*.py[cod] +*.egg-info/ +dist/ +build/ +*.egg + +# Virtual environments +venv/ +.venv/ + +# Environment +.env + +# Tools +.ruff_cache/ + +# Docs +site/ + +# IDE +.idea/ +.vscode/ +*.swp diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..527a0c13 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,6 @@ +# AIPass Framework + +Orchestration for autonomous AI agent ecosystems. + +- Uses `src/` layout. Run tests: `pytest`. Lint: `ruff check`. +- Trinity Pattern is the memory dependency. diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..635af441 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025-2026 AIPass contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 00000000..567845ce --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# AIPass Framework + + + +Orchestration framework for autonomous AI agent ecosystems. + +## What is this? + +AIPass provides routing, workflow management, inter-agent messaging, and monitoring for autonomous AI agent ecosystems. It coordinates multiple agents working together across branches, plans, and tasks. [Trinity Pattern](https://github.com/AIOSAI/Trinity-Pattern) serves as the memory layer. + +## Install + +```bash +pip install aipass +``` + +> **Note:** This package is not yet published to PyPI. This repo is in early development. + +## License + +MIT diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..fca81599 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,26 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "aipass" +version = "0.1.0-dev" +description = "Orchestration framework for autonomous AI agent ecosystems" +readme = "README.md" +license = "MIT" +requires-python = ">=3.10" +authors = [ + { name = "AIPass", email = "aipass.system@gmail.com" }, +] +dependencies = [ + "trinity-pattern>=1.0.0", +] + +[project.optional-dependencies] +dev = [ + "pytest", + "ruff", +] + +[tool.ruff] +line-length = 120 diff --git a/src/aipass/__init__.py b/src/aipass/__init__.py new file mode 100644 index 00000000..607f7a49 --- /dev/null +++ b/src/aipass/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1.0-dev" diff --git a/src/aipass/py.typed b/src/aipass/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/test_version.py b/tests/test_version.py new file mode 100644 index 00000000..ab93753a --- /dev/null +++ b/tests/test_version.py @@ -0,0 +1,5 @@ +from aipass import __version__ + + +def test_version(): + assert __version__ == "0.1.0-dev"