> ## Documentation Index
> Fetch the complete documentation index at: https://usefused.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# harnest.application

> Public Python signatures, fields, and methods.

[All Python modules](https://usefused.com/docs/harnest/reference/api/overview.md) · [Import and compatibility guidance](https://usefused.com/docs/harnest/build/python-imports.md)

## Exports

| Name | Kind |
| - | - |
| [`CompiledApplication`](#compiledapplication) | Class |

## CompiledApplication

The framework-neutral object exported by every generated artifact.

```python theme={null}
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
```

Fields (`—` 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` | `—` |

> [accordion] 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` | `...` |
>
> ```python theme={null}
> from harnest.application import CompiledApplication
>
> application = CompiledApplication(name=..., framework=..., mode=..., target=...)
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.