# RepositoryMarketplaceSource

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/models/RepositoryMarketplaceSource)

GitHub or Git repository used as a marketplace source.

`ref` selects an optional branch or tag. Commit SHA checkout is not part of
the shallow-clone flow.

## Signature

```python
RepositoryMarketplaceSource(
    self,
    *,
    source_type: Literal['github', 'git'],
    value: str,
    ref: str | None,
)
```

## Constructors

```python
__init__(
    self,
    *,
    source_type: Literal['github', 'git'],
    value: str,
    ref: str | None,
) -> None
```

| Name | Type |
|------|------|
| `source_type` | `Literal['github', 'git']` |
| `value` | `str` |
| `ref` | `str \| None` |


## Properties

- `source_type`
- `value`
- `ref`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/caaa7e7c12d214afa5cf0a1afed8eb6232aa6f7b/libs/code/deepagents_code/plugins/models.py#L27)