deepthread


Namedeepthread JSON
Version 0.1.6 PyPI version JSON
download
home_pageNone
SummaryRich threads for AI agents
upload_time2024-03-20 16:30:41
maintainerNone
docs_urlNone
authorPatrick Barker
requires_python<4.0,>=3.10
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- PROJECT LOGO -->
<br />
<p align="center">
  <!-- <a href="https://github.com/agentsea/skillpacks">
    <img src="https://project-logo.png" alt="Logo" width="80">
  </a> -->

  <h1 align="center">deepthread</h1>

  <p align="center">
    Rich chat threads for AI agents
    <br />
    <a href="https://github.com/agentsea/deepthread"><strong>Explore the docs »</strong></a>
    <br />
    <br />
    <a href="https://github.com/agentsea/deepthread">View Demo</a>
    ·
    <a href="https://github.com/agentsea/deepthread/issues">Report Bug</a>
    ·
    <a href="https://github.com/agentsea/deepthread/issues">Request Feature</a>
  </p>
  <br>
</p>

Deepthread enables robust chat experiences with AI agents. It offers a Python backend for managing thread state as well as a React chat interface.

We support [Agentscript](https://github.com/agentsea/agentscript) for beautiful UI experiences.

## Backend

### Installation

```
pip install deepthread
```

### Usage

#### Role Threads

Create a role based thread

```python
from deepthread import Thread

thread = Thread()
thread.post("user", "Hello, Thread!")

# output in openai chat schema format
print(thread.to_oai())
```

## Frontend

### Installation

```
npm i @agentsea/deepthread
```

## Develop

To test

```sh
make test
```

To publish

```sh
make publish
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "deepthread",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Patrick Barker",
    "author_email": "patrickbarkerco@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c7/52/5e5017f9f4bd519c9a98bb9a90f4a73b16757f75df61f72893e719750569/deepthread-0.1.6.tar.gz",
    "platform": null,
    "description": "<!-- PROJECT LOGO -->\n<br />\n<p align=\"center\">\n  <!-- <a href=\"https://github.com/agentsea/skillpacks\">\n    <img src=\"https://project-logo.png\" alt=\"Logo\" width=\"80\">\n  </a> -->\n\n  <h1 align=\"center\">deepthread</h1>\n\n  <p align=\"center\">\n    Rich chat threads for AI agents\n    <br />\n    <a href=\"https://github.com/agentsea/deepthread\"><strong>Explore the docs \u00bb</strong></a>\n    <br />\n    <br />\n    <a href=\"https://github.com/agentsea/deepthread\">View Demo</a>\n    \u00b7\n    <a href=\"https://github.com/agentsea/deepthread/issues\">Report Bug</a>\n    \u00b7\n    <a href=\"https://github.com/agentsea/deepthread/issues\">Request Feature</a>\n  </p>\n  <br>\n</p>\n\nDeepthread enables robust chat experiences with AI agents. It offers a Python backend for managing thread state as well as a React chat interface.\n\nWe support [Agentscript](https://github.com/agentsea/agentscript) for beautiful UI experiences.\n\n## Backend\n\n### Installation\n\n```\npip install deepthread\n```\n\n### Usage\n\n#### Role Threads\n\nCreate a role based thread\n\n```python\nfrom deepthread import Thread\n\nthread = Thread()\nthread.post(\"user\", \"Hello, Thread!\")\n\n# output in openai chat schema format\nprint(thread.to_oai())\n```\n\n## Frontend\n\n### Installation\n\n```\nnpm i @agentsea/deepthread\n```\n\n## Develop\n\nTo test\n\n```sh\nmake test\n```\n\nTo publish\n\n```sh\nmake publish\n```\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Rich threads for AI agents",
    "version": "0.1.6",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5a8a2fcdcecc2f9e31e604ed63535a828474923874d5ed7e8648b04978cdbd3",
                "md5": "baa24381e121f9ff99747bb2c700afb2",
                "sha256": "80ec90f63d528a98f17599266f2e60a86576bd50bc8d656048ed2b47df75b8fc"
            },
            "downloads": -1,
            "filename": "deepthread-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "baa24381e121f9ff99747bb2c700afb2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 6090,
            "upload_time": "2024-03-20T16:30:39",
            "upload_time_iso_8601": "2024-03-20T16:30:39.592783Z",
            "url": "https://files.pythonhosted.org/packages/e5/a8/a2fcdcecc2f9e31e604ed63535a828474923874d5ed7e8648b04978cdbd3/deepthread-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7525e5017f9f4bd519c9a98bb9a90f4a73b16757f75df61f72893e719750569",
                "md5": "d4d8197f5c69640fb4eb25f48bba8f0d",
                "sha256": "758bad51cb12fc5541cca6aa49950e7bd8f3a3e4ba3352e3b6b2dc7a3811d012"
            },
            "downloads": -1,
            "filename": "deepthread-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "d4d8197f5c69640fb4eb25f48bba8f0d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 4834,
            "upload_time": "2024-03-20T16:30:41",
            "upload_time_iso_8601": "2024-03-20T16:30:41.018725Z",
            "url": "https://files.pythonhosted.org/packages/c7/52/5e5017f9f4bd519c9a98bb9a90f4a73b16757f75df61f72893e719750569/deepthread-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-20 16:30:41",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "deepthread"
}
        
Elapsed time: 0.30180s