# GithubPluginSource

> **Class** in `deepagents_code`

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

A plugin sourced from a GitHub repository.

## Signature

```python
GithubPluginSource(
    self,
    *,
    source_type: Literal['github'],
    repo: str,
    ref: str | None = None,
    path: str | None = None,
)
```

## Constructors

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

| Name | Type |
|------|------|
| `source_type` | `Literal['github']` |
| `repo` | `str` |
| `ref` | `str \| None` |
| `path` | `str \| None` |


## Properties

- `source_type`
- `repo`
- `ref`
- `path`

---

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