Quickstart
Get the workspace installed and verified in under five minutes. This page is for contributors to this repo. If you want to consume the published wheels from a downstream agent, see Adopting these packages.
Prerequisites
Install
-
Clone the repository:
git clone <repo-url>cd foundry-agent-packages -
Install the workspace + pre-commit hooks:
just setupThis runs
uv sync(installs every workspace package in editable mode plus the dev dependency group) andpre-commit install(pre-commit).
Verify
Run the full local gate:
just check # full gate: ruff lint + ruff format check + basedpyright + tests
just test # pytest looped per package, with a summary table
Both should be clean against develop. A successful run looks like:
just check— no findings; basedpyright reports0 errors, 0 warnings, 0 informations, followed by a per-package summary table with every packagePASSand meeting its 70% coverage gatejust test— the same suite; skips and warnings are expected, failures are not
If just check fails on a clean clone, the most likely cause is a stale
uv.lock against a newer dev-deps floor; re-run just setup.
Build a wheel
just build foundry-agent-core # one package
just build-all # every package
uv build resolves the workspace root even when run from inside a package
directory, so wheels always land in the repo-root dist/ - never under
packages/<pkg>/dist/. Per-package version bumps go through
scripts/bump_version.py:
just version-patch foundry-agent-core # 0.2.4 → 0.2.5
just version-minor foundry-agent-config
just version-set foundry-agent-fastapi 0.3.0
Confirm a built wheel actually installs and imports:
uv pip install dist/foundry_agent_core-*.whl
uv run --no-sync python -c "import foundry_agent_core; print(foundry_agent_core.__file__)"
It prints where the module was imported from: a path under .venv's
site-packages is the wheel. --no-sync matters: a plain uv run first
re-syncs the workspace, which swaps the wheel back out for the editable
source, so the import would never touch the wheel. Run just setup afterwards to restore the editable install.
Where to go next
- Local development — daily workflow, per-package
justrecipes, consuming a local package from a sibling repo