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

# Get Default Store • AI Agent SDK

> get_default_store: Return the process-wide canonical schedule store.

# get\_default\_store

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**scheduler**](../modules/scheduler) module.

Return the process-wide canonical schedule store.

Lazily constructs a :class:`ConfigYamlScheduleStore` (persisting to
`~/.praisonai/config.yaml`) on first use, migrating any pre-existing
`jobs.json` data.  All consumers share this single instance so a job
authored on any surface is polled by the gateway ticker.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_default_store() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `ConfigYamlScheduleStore`
* `store.migrate_from_json`
* `debug`
* `logging.getLogger`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/scheduler/__init__.py#L49">
  `praisonaiagents/scheduler/__init__.py` at line 49
</Card>
