# matrx_ai.providers.data_sync — Module Overview


## IMPORTANT: Do not edit auto-generated sections.

> This document is partially auto-generated. Sections tagged `<!-- AUTO:id -->` are refreshed by the generator.
> Everything else is yours to edit freely and will never be overwritten.

<!-- AUTO:meta -->
## About This Document

This file is **partially auto-generated**. Sections wrapped in `<!-- AUTO:id -->` tags
are overwritten each time the generator runs. Everything else is yours to edit freely.

| Field | Value |
|-------|-------|
| Module | `matrx_ai/providers/data_sync` |
| Last generated | 2026-04-07 11:38 |
| Output file | `matrx_ai/providers/data_sync/MODULE_README.md` |
| Signature mode | `signatures` |

**To refresh auto-sections:**
```bash
python utils/code_context/generate_module_readme.py matrx_ai/providers/data_sync --mode signatures
```

**To add permanent notes:** Write anywhere outside the `<!-- AUTO:... -->` blocks.
<!-- /AUTO:meta -->

<!-- HUMAN-EDITABLE: This section is yours. Agents & Humans can edit this section freely — it will not be overwritten. -->

## Architecture

> **Fill this in.** Describe the execution flow and layer map for this module.
> See `utils/code_context/MODULE_README_SPEC.md` for the recommended format.
>
> Suggested structure:
>
> ### Layers
> | File | Role |
> |------|------|
> | `entry.py` | Public entry point — receives requests, returns results |
> | `engine.py` | Core dispatch logic |
> | `models.py` | Shared data types |
>
> ### Call Flow (happy path)
> ```
> entry_function() → engine.dispatch() → implementation()
> ```


<!-- AUTO:tree -->
## Directory Tree

> Auto-generated. 9 files across 1 directories.

```
matrx_ai/providers/data_sync/
├── MODULE_README.md
├── __init__.py
├── cerebras_model_sync.py
├── google_model_sync.py
├── groq_model_sync.py
├── model_sync.py
├── openai_model_sync.py
├── together_model_sync.py
├── xai_model_sync.py
# excluded: 1 .md
```
<!-- /AUTO:tree -->

<!-- AUTO:signatures -->
## API Signatures

> Auto-generated via `output_mode="signatures"`. ~5-10% token cost vs full source.
> For full source, open the individual files directly.

```
---
Filepath: matrx_ai/providers/data_sync/xai_model_sync.py  [python]

  def _dump(obj) -> dict
  async def list_xai_models() -> list[dict]


---
Filepath: matrx_ai/providers/data_sync/openai_model_sync.py  [python]

  def _dump(obj) -> dict
  async def list_openai_models() -> list[dict]


---
Filepath: matrx_ai/providers/data_sync/together_model_sync.py  [python]

  def _dump(obj) -> dict
  async def list_together_models() -> list[dict]


---
Filepath: matrx_ai/providers/data_sync/cerebras_model_sync.py  [python]

  def _dump(obj) -> dict
  async def list_cerebras_models() -> list[dict]


---
Filepath: matrx_ai/providers/data_sync/__init__.py  [python]



---
Filepath: matrx_ai/providers/data_sync/model_sync.py  [python]

  def _dump(obj) -> dict
  async def list_anthropic_models() -> list[dict]
  async def get_anthropic_model(model_id: str) -> dict
  async def sync_all_providers() -> dict[str, list[dict]]
  async def _safe_fetch(name: str, coro) -> tuple[str, list[dict]]
  def _safe_sync_fetch(name: str, fn) -> tuple[str, list[dict]]


---
Filepath: matrx_ai/providers/data_sync/groq_model_sync.py  [python]

  def _dump(obj) -> dict
  async def list_groq_models() -> list[dict]


---
Filepath: matrx_ai/providers/data_sync/google_model_sync.py  [python]

  def _dump(obj) -> dict
  def list_google_models() -> list[dict]
```
<!-- /AUTO:signatures -->

<!-- AUTO:dependencies -->
## Dependencies

**External packages:** matrx_utils
**Internal modules:** matrx_ai.local_data, matrx_ai.providers
<!-- /AUTO:dependencies -->

<!-- AUTO:config -->
## Generation Config

> Auto-managed. Contains the exact parameters used to generate this README.
> Used by parent modules to auto-refresh this file when it is stale.
> Do not edit manually — changes will be overwritten on the next run.

```json
{
  "subdirectory": "matrx_ai/providers/data_sync",
  "mode": "signatures",
  "scope": null,
  "project_noise": null,
  "include_call_graph": false,
  "entry_points": null,
  "call_graph_exclude": [
    "tests"
  ],
  "signatures_exclude": [
    "tests",
    "db",
    "local_data",
    "docs"
  ]
}
```
<!-- /AUTO:config -->
