Skip to main content
All Python modules · Import and compatibility guidance

Exports

BundleError

Base error for invalid filesystem agent bundles.

BundleConventionError

A bundle path does not follow the filesystem convention.

BundleImportError

A discovered resource module could not be imported.

BundleExportError

A discovered module does not export its file-stem resource.

BundleDuplicateError

Two explicit or discovered resources have the same identity.

BundleSkillError

A discovered progressive skill is invalid or cannot be loaded.

BundleEvalError

A discovered ADK evaluation file is invalid.

EvalSuite

Validated evaluation files associated with one agent folder.
Fields (— means no declared default):

compile_agent

Compile a filesystem definition into its framework-native target. source may be the agent directory or its agent.py file. Authored modules import the compiler-provided namespace explicitly, for example from harnest.agent import Agent. The Harnest compiler/runtime provides that namespace; it does not belong in the agent’s requirements file.

compile_app

Compile a filesystem definition and return its provider application.

compile_application

Compile one managed definition or advanced framework application.

compile_artifact

Build an artifact; source-run callers bypass compile-only bundle declarations.

bundle_agent

Discover sibling resources and build an ADK root agent. Pass __file__ from an agent folder’s agent.py. Public Python files below tools/, subagents/, and mcp/ are imported in sorted path order and must export an object named after their file stem. Directory-first plugins/ contribute MCP clients and skills without an aggregation import.

discover_evals

Return validated, sorted ADK eval paths without building the agent.