Exports
| Name | Kind |
|---|---|
CompiledApplication | Class |
CompiledApplication
The framework-neutral object exported by every generated artifact.CompiledApplication(
name: str,
framework: str,
mode: str,
target: Any,
native_app: Any | None = None,
managed_definition: Any | None = None,
native_extensions: Sequence[Any] = (),
native_checkpointer: Any | None = None,
kind: str = 'agent',
bridge: _AdvancedAgentDefinition | None = None,
lifecycle_extensions: Sequence[Any] = (),
session_store: SessionStore | ADKStore | None = None,
checkpointer: CheckpointAuthority | None = None,
asset_store: AssetStore | None = None,
asset_stores: Mapping[str, AssetStore] = ...,
credential_provider: CredentialProvider | None = None,
http_routes: Sequence[HTTPRouteExtension] = (),
output_policy: OutputPolicy = OutputPolicy(subagent_messages=False, tool_activity=True, thinking=False, decision_results=False, agent_metadata=AgentMetadataMode.NORMALIZED, persist_raw_agent_metadata=False),
telemetry_exporters: Sequence[Any] = (),
input_schema: PydanticModel | None = None,
output_schema: PydanticModel | None = None,
checkpoint_metadata: dict[str, str] | None = None,
context_values: Sequence[ContextValue] = (),
tasks: Sequence[Any] = (),
crons: Sequence[Any] = (),
extensions: Sequence[Any] = (),
harnest_version: str | None = None,
framework_distribution: str | None = None,
framework_version: str | None = None,
custom_stores: Mapping[str, CustomStorage] = ...,
task_store: TaskStore | None = None,
cron_store: CronStore | None = None,
memory_store: MemoryStore | None = None,
skill_registry: SkillRegistry = ...,
sandbox_registry: SandboxRegistry = ...,
) -> None
— means no declared default):
| Field | Type | Default |
|---|---|---|
name | str | — |
framework | str | — |
mode | str | — |
target | Any | — |
native_app | Any | None | None |
managed_definition | Any | None | None |
native_extensions | Sequence[Any] | () |
native_checkpointer | Any | None | None |
kind | str | 'agent' |
bridge | _AdvancedAgentDefinition | None | None |
lifecycle_extensions | Sequence[Any] | () |
session_store | SessionStore | ADKStore | None | None |
checkpointer | CheckpointAuthority | None | None |
asset_store | AssetStore | None | None |
asset_stores | Mapping[str, AssetStore] | dict() |
credential_provider | CredentialProvider | None | None |
http_routes | Sequence[HTTPRouteExtension] | () |
output_policy | OutputPolicy | OutputPolicy(subagent_messages=False, tool_activity=True, thinking=False, decision_results=False, agent_metadata=AgentMetadataMode.NORMALIZED, persist_raw_agent_metadata=False) |
telemetry_exporters | Sequence[Any] | () |
input_schema | PydanticModel | None | None |
output_schema | PydanticModel | None | None |
checkpoint_metadata | dict[str, str] | None | None |
context_values | Sequence[ContextValue] | () |
tasks | Sequence[Any] | () |
crons | Sequence[Any] | () |
extensions | Sequence[Any] | () |
harnest_version | str | None | None |
framework_distribution | str | None | None |
framework_version | str | None | None |
custom_stores | Mapping[str, CustomStorage] | dict() |
task_store | TaskStore | None | None |
cron_store | CronStore | None | None |
memory_store | MemoryStore | None | None |
skill_registry | SkillRegistry | SkillRegistry() |
sandbox_registry | SandboxRegistry | SandboxRegistry() |
runtime_capabilities | RuntimeCapabilities | — |
storage_registry | StorageRegistry | — |
lifecycle_coverage | LifecycleCoverage | — |
Parameters and example
Parameters and example
| Parameter | Type | Default |
|---|---|---|
name | str | Required |
framework | str | Required |
mode | str | Required |
target | Any | Required |
native_app | Any | None | None |
managed_definition | Any | None | None |
native_extensions | Sequence[Any] | () |
native_checkpointer | Any | None | None |
kind | str | 'agent' |
bridge | _AdvancedAgentDefinition | None | None |
lifecycle_extensions | Sequence[Any] | () |
session_store | SessionStore | ADKStore | None | None |
checkpointer | CheckpointAuthority | None | None |
asset_store | AssetStore | None | None |
asset_stores | Mapping[str, AssetStore] | ... |
credential_provider | CredentialProvider | None | None |
http_routes | Sequence[HTTPRouteExtension] | () |
output_policy | OutputPolicy | OutputPolicy(subagent_messages=False, tool_activity=True, thinking=False, decision_results=False, agent_metadata=AgentMetadataMode.NORMALIZED, persist_raw_agent_metadata=False) |
telemetry_exporters | Sequence[Any] | () |
input_schema | PydanticModel | None | None |
output_schema | PydanticModel | None | None |
checkpoint_metadata | dict[str, str] | None | None |
context_values | Sequence[ContextValue] | () |
tasks | Sequence[Any] | () |
crons | Sequence[Any] | () |
extensions | Sequence[Any] | () |
harnest_version | str | None | None |
framework_distribution | str | None | None |
framework_version | str | None | None |
custom_stores | Mapping[str, CustomStorage] | ... |
task_store | TaskStore | None | None |
cron_store | CronStore | None | None |
memory_store | MemoryStore | None | None |
skill_registry | SkillRegistry | ... |
sandbox_registry | SandboxRegistry | ... |
from harnest.application import CompiledApplication
application = CompiledApplication(name=..., framework=..., mode=..., target=...)