This workspace contains multiple Python packages related to the LLMOS Bridge project. It is structured as a Poetry-managed monorepo where each package lives under packages/ and the root serves as a lightweight workspace for shared tooling and convenient CLI entry points.
Whether you're a newcomer or returning contributor, this document will help you get up and running quickly: installing dependencies, running packages, and understanding the development workflow.
LLMOS-Bridge/ # workspace root ├─ packages/ # individual Python projects │ ├─ llmos-bridge/ # main daemon package │ ├─ langchain-llmos/ # support library for LangChain │ └─ ... # more packages may be added ├─ root_pkg/ # tiny helper package for workspace CLI ├─ docs/ # documentation source files ├─ examples/ # usage examples and demos ├─ scripts/ # utility scripts (setup, testing, etc.) ├─ Makefile # convenient shortcuts for common tasks ├─ pyproject.toml # workspace-level dependencies & config └─ README.md # this file
Before diving in, install the following tools:
ash git clone https://github.com/llmos-bridge/LLMOS-Bridge.git cd LLMOS-Bridge
The workspace root is configured as a tooling-only Poetry project. It installs a minimal wrapper package ( oot_pkg) and declares path dependencies on each subpackage so their requirements are available in the root environment.
powershell poetry install
This will:
You can activate the environment manually with poetry shell or just use poetry run for one-off invocations.
If you only need to work on one package, change directory and install there:
powershell cd packages/llmos-bridge poetry install # installs llmos-bridge and its dependencies
This keeps the workspace env separate and is useful for isolated package work.
The root environment provides a convenient llmos-bridge command that forwards into the main package. You can run it from the workspace root without changing directories:
`powershell
poetry run llmos-bridge --help
poetry run llmos-bridge daemon start poetry run llmos-bridge daemon status poetry run llmos-bridge daemon stop
posrun = poetry run llmos-bridge modules list llmos-bridge plans submit path\to\plan.json llmos-bridge app validate path\to\config.app.yaml `
The wrapper works because oot_pkg imports the real CLI from packages/llmos-bridge at runtime.
Alternatively, operate inside a package directory if you prefer:
powershell cd packages/llmos-bridge poetry run llmos-bridge daemon start
This approach is equivalent but keeps the environment scoped to that package.
Use the Makefile at the root for shortcuts (see section below) or type them directly with poetry run.
Run the full test suite from the workspace root:
ash poetry run pytest
This will discover tests in all packages/*/tests directories. You can also target an individual package by cd-ing into it first.
Linting, formatting, and type checks are configured via uff and mypy in the root pyproject.toml; run them with poetry run ruff and poetry run mypy, or integrate with your editor.
A Makefile at the root provides quick aliases to common operations, e.g.
`makefile daemon-start: poetry run llmos-bridge daemon start
daemon-status: poetry run llmos-bridge daemon status
`
Just run make daemon-start instead of typing the full command. On Windows, you can achieve the same with a PowerShell script or functions in your profile.
To contribute a new package to the monorepo:
oml [tool.poetry.dependencies] my-package = { path = "packages/my-package", develop = true } Welcome aboard! Feel free to expand this README with additional sections as the project grows, such as deployment instructions, coding standards, or contributor guidelines.
11 commits
4 commits
Python
92.3%
TypeScript
7.6%
This workspace contains multiple Python packages related to the LLMOS Bridge project. It is structured as a Poetry-managed monorepo where each package lives under packages/ and the root serves as a lightweight workspace for shared tooling and convenient CLI entry points.
Whether you're a newcomer or returning contributor, this document will help you get up and running quickly: installing dependencies, running packages, and understanding the development workflow.
LLMOS-Bridge/ # workspace root ├─ packages/ # individual Python projects │ ├─ llmos-bridge/ # main daemon package │ ├─ langchain-llmos/ # support library for LangChain │ └─ ... # more packages may be added ├─ root_pkg/ # tiny helper package for workspace CLI ├─ docs/ # documentation source files ├─ examples/ # usage examples and demos ├─ scripts/ # utility scripts (setup, testing, etc.) ├─ Makefile # convenient shortcuts for common tasks ├─ pyproject.toml # workspace-level dependencies & config └─ README.md # this file
Before diving in, install the following tools:
ash git clone https://github.com/llmos-bridge/LLMOS-Bridge.git cd LLMOS-Bridge
The workspace root is configured as a tooling-only Poetry project. It installs a minimal wrapper package ( oot_pkg) and declares path dependencies on each subpackage so their requirements are available in the root environment.
powershell poetry install
This will:
You can activate the environment manually with poetry shell or just use poetry run for one-off invocations.
If you only need to work on one package, change directory and install there:
powershell cd packages/llmos-bridge poetry install # installs llmos-bridge and its dependencies
This keeps the workspace env separate and is useful for isolated package work.
The root environment provides a convenient llmos-bridge command that forwards into the main package. You can run it from the workspace root without changing directories:
`powershell
poetry run llmos-bridge --help
poetry run llmos-bridge daemon start poetry run llmos-bridge daemon status poetry run llmos-bridge daemon stop
posrun = poetry run llmos-bridge modules list llmos-bridge plans submit path\to\plan.json llmos-bridge app validate path\to\config.app.yaml `
The wrapper works because oot_pkg imports the real CLI from packages/llmos-bridge at runtime.
Alternatively, operate inside a package directory if you prefer:
powershell cd packages/llmos-bridge poetry run llmos-bridge daemon start
This approach is equivalent but keeps the environment scoped to that package.
Use the Makefile at the root for shortcuts (see section below) or type them directly with poetry run.
Run the full test suite from the workspace root:
ash poetry run pytest
This will discover tests in all packages/*/tests directories. You can also target an individual package by cd-ing into it first.
Linting, formatting, and type checks are configured via uff and mypy in the root pyproject.toml; run them with poetry run ruff and poetry run mypy, or integrate with your editor.
A Makefile at the root provides quick aliases to common operations, e.g.
`makefile daemon-start: poetry run llmos-bridge daemon start
daemon-status: poetry run llmos-bridge daemon status
`
Just run make daemon-start instead of typing the full command. On Windows, you can achieve the same with a PowerShell script or functions in your profile.
To contribute a new package to the monorepo:
oml [tool.poetry.dependencies] my-package = { path = "packages/my-package", develop = true } Welcome aboard! Feel free to expand this README with additional sections as the project grows, such as deployment instructions, coding standards, or contributor guidelines.
11 commits
4 commits
Python
92.3%
TypeScript
7.6%