Skip to main content

Overview

Shared Python packages consumed by Foundry-built AI agents.

foundry-agent-packages is a uv-workspace monorepo of the libraries that composition roots like strands-base-agent install and extend. Each package is independently versioned and ships as a wheel attached to a GitHub Release; adopters host the wheels in their own internal index. This repo is library code — back-compat and clear API boundaries matter because every change flows downstream to real agents.

Packages​

PackagePurposeDepends on
foundry-agent-coreDI container, protocols, types, exceptions, lifecycle, masking/redaction(none)
foundry-agent-configYAML loader with env-var overrides (double-underscore nesting), bounded input controls(none)
foundry-agent-fastapiCORS / error / logging middleware, request/response models, mappers, health routerfoundry-agent-core
foundry-strands-agentAWS Strands SDK adapter — StrandsAgentBackend, factory, orchestrator, tool loader, chat historianfoundry-agent-core, foundry-agent-config
foundry-aws-utilitiesDynamoDB, S3, and Bedrock Knowledge Base MCP servers(none)
foundry-authOIDC authentication — authorization-code + PKCE flow, session storage, FastAPI router factoryfoundry-agent-core
foundry-agent-core ←── foundry-agent-fastapi
↑ ↑
│ └──────── foundry-auth
├──────────────── foundry-strands-agent
│ ↑
│ │
foundry-agent-config ───────────┘

foundry-aws-utilities (standalone - no dependents here)

Security posture​

Command-injection sinks (STIG V-222604) are gated by Ruff S102/S307/S602–S607 plus a narrow bandit -t B602,B603,B605,B607 set — both run by just lint locally, and the bandit set again independently in CI. bandit's broader rule set runs ad-hoc; vulture (just dead-code) and deptry are installed for advisory use only.

Where to go next​

  • Quickstart — install the workspace, run just check, build a wheel
  • Local development — daily workflow, per-package recipes, consuming local packages from another repo
  • Packages — one-line summary of each package and a link to its README
  • Adopting these packages — how to consume the wheels from a downstream repo