Metadata-Version: 2.4
Name: hubzoid
Version: 2.0.3
Summary: An open-source framework for production AI agents.
Author-email: HubZoid <hello@hubzoid.com>
Maintainer-email: HubZoid <hello@hubzoid.com>
License: 
                                         Apache License
                                   Version 2.0, January 2004
                                http://www.apache.org/licenses/
        
           TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
        
           1. Definitions.
        
              "License" shall mean the terms and conditions for use, reproduction,
              and distribution as defined by Sections 1 through 9 of this document.
        
              "Licensor" shall mean the copyright owner or entity authorized by
              the copyright owner that is granting the License.
        
              "Legal Entity" shall mean the union of the acting entity and all
              other entities that control, are controlled by, or are under common
              control with that entity. For the purposes of this definition,
              "control" means (i) the power, direct or indirect, to cause the
              direction or management of such entity, whether by contract or
              otherwise, or (ii) ownership of fifty percent (50%) or more of the
              outstanding shares, or (iii) beneficial ownership of such entity.
        
              "You" (or "Your") shall mean an individual or Legal Entity
              exercising permissions granted by this License.
        
              "Source" form shall mean the preferred form for making modifications,
              including but not limited to software source code, documentation
              source, and configuration files.
        
              "Object" form shall mean any form resulting from mechanical
              transformation or translation of a Source form, including but
              not limited to compiled object code, generated documentation,
              and conversions to other media types.
        
              "Work" shall mean the work of authorship, whether in Source or
              Object form, made available under the License, as indicated by a
              copyright notice that is included in or attached to the work
              (an example is provided in the Appendix below).
        
              "Derivative Works" shall mean any work, whether in Source or Object
              form, that is based on (or derived from) the Work and for which the
              editorial revisions, annotations, elaborations, or other modifications
              represent, as a whole, an original work of authorship. For the purposes
              of this License, Derivative Works shall not include works that remain
              separable from, or merely link (or bind by name) to the interfaces of,
              the Work and Derivative Works thereof.
        
              "Contribution" shall mean any work of authorship, including
              the original version of the Work and any modifications or additions
              to that Work or Derivative Works thereof, that is intentionally
              submitted to Licensor for inclusion in the Work by the copyright owner
              or by an individual or Legal Entity authorized to submit on behalf of
              the copyright owner. For the purposes of this definition, "submitted"
              means any form of electronic, verbal, or written communication sent
              to the Licensor or its representatives, including but not limited to
              communication on electronic mailing lists, source code control systems,
              and issue tracking systems that are managed by, or on behalf of, the
              Licensor for the purpose of discussing and improving the Work, but
              excluding communication that is conspicuously marked or otherwise
              designated in writing by the copyright owner as "Not a Contribution."
        
              "Contributor" shall mean Licensor and any individual or Legal Entity
              on behalf of whom a Contribution has been received by Licensor and
              subsequently incorporated within the Work.
        
           2. Grant of Copyright License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              copyright license to reproduce, prepare Derivative Works of,
              publicly display, publicly perform, sublicense, and distribute the
              Work and such Derivative Works in Source or Object form.
        
           3. Grant of Patent License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              (except as stated in this section) patent license to make, have made,
              use, offer to sell, sell, import, and otherwise transfer the Work,
              where such license applies only to those patent claims licensable
              by such Contributor that are necessarily infringed by their
              Contribution(s) alone or by combination of their Contribution(s)
              with the Work to which such Contribution(s) was submitted. If You
              institute patent litigation against any entity (including a
              cross-claim or counterclaim in a lawsuit) alleging that the Work
              or a Contribution incorporated within the Work constitutes direct
              or contributory patent infringement, then any patent licenses
              granted to You under this License for that Work shall terminate
              as of the date such litigation is filed.
        
           4. Redistribution. You may reproduce and distribute copies of the
              Work or Derivative Works thereof in any medium, with or without
              modifications, and in Source or Object form, provided that You
              meet the following conditions:
        
              (a) You must give any other recipients of the Work or
                  Derivative Works a copy of this License; and
        
              (b) You must cause any modified files to carry prominent notices
                  stating that You changed the files; and
        
              (c) You must retain, in the Source form of any Derivative Works
                  that You distribute, all copyright, patent, trademark, and
                  attribution notices from the Source form of the Work,
                  excluding those notices that do not pertain to any part of
                  the Derivative Works; and
        
              (d) If the Work includes a "NOTICE" text file as part of its
                  distribution, then any Derivative Works that You distribute must
                  include a readable copy of the attribution notices contained
                  within such NOTICE file, excluding those notices that do not
                  pertain to any part of the Derivative Works, in at least one
                  of the following places: within a NOTICE text file distributed
                  as part of the Derivative Works; within the Source form or
                  documentation, if provided along with the Derivative Works; or,
                  within a display generated by the Derivative Works, if and
                  wherever such third-party notices normally appear. The contents
                  of the NOTICE file are for informational purposes only and
                  do not modify the License. You may add Your own attribution
                  notices within Derivative Works that You distribute, alongside
                  or as an addendum to the NOTICE text from the Work, provided
                  that such additional attribution notices cannot be construed
                  as modifying the License.
        
              You may add Your own copyright statement to Your modifications and
              may provide additional or different license terms and conditions
              for use, reproduction, or distribution of Your modifications, or
              for any such Derivative Works as a whole, provided Your use,
              reproduction, and distribution of the Work otherwise complies with
              the conditions stated in this License.
        
           5. Submission of Contributions. Unless You explicitly state otherwise,
              any Contribution intentionally submitted for inclusion in the Work
              by You to the Licensor shall be under the terms and conditions of
              this License, without any additional terms or conditions.
              Notwithstanding the above, nothing herein shall supersede or modify
              the terms of any separate license agreement you may have executed
              with Licensor regarding such Contributions.
        
           6. Trademarks. This License does not grant permission to use the trade
              names, trademarks, service marks, or product names of the Licensor,
              except as required for reasonable and customary use in describing the
              origin of the Work and reproducing the content of the NOTICE file.
        
           7. Disclaimer of Warranty. Unless required by applicable law or
              agreed to in writing, Licensor provides the Work (and each
              Contributor provides its Contributions) on an "AS IS" BASIS,
              WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
              implied, including, without limitation, any warranties or conditions
              of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
              PARTICULAR PURPOSE. You are solely responsible for determining the
              appropriateness of using or redistributing the Work and assume any
              risks associated with Your exercise of permissions under this License.
        
           8. Limitation of Liability. In no event and under no legal theory,
              whether in tort (including negligence), contract, or otherwise,
              unless required by applicable law (such as deliberate and grossly
              negligent acts) or agreed to in writing, shall any Contributor be
              liable to You for damages, including any direct, indirect, special,
              incidental, or consequential damages of any character arising as a
              result of this License or out of the use or inability to use the
              Work (including but not limited to damages for loss of goodwill,
              work stoppage, computer failure or malfunction, or any and all
              other commercial damages or losses), even if such Contributor
              has been advised of the possibility of such damages.
        
           9. Accepting Warranty or Additional Liability. While redistributing
              the Work or Derivative Works thereof, You may choose to offer,
              and charge a fee for, acceptance of support, warranty, indemnity,
              or other liability obligations and/or rights consistent with this
              License. However, in accepting such obligations, You may act only
              on Your own behalf and on Your sole responsibility, not on behalf
              of any other Contributor, and only if You agree to indemnify,
              defend, and hold each Contributor harmless for any liability
              incurred by, or claims asserted against, such Contributor by reason
              of your accepting any such warranty or additional liability.
        
           END OF TERMS AND CONDITIONS
        
           APPENDIX: How to apply the Apache License to your work.
        
              To apply the Apache License to your work, attach the following
              boilerplate notice, with the fields enclosed by brackets "[]"
              replaced with your own identifying information. (Don't include
              the brackets!)  The text should be enclosed in the appropriate
              comment syntax for the file format. We also recommend that a
              file or class name and description of purpose be included on the
              same "printed page" as the copyright notice for easier
              identification within third-party archives.
        
           Copyright [yyyy] [name of copyright owner]
        
           Licensed under the Apache License, Version 2.0 (the "License");
           you may not use this file except in compliance with the License.
           You may obtain a copy of the License at
        
               http://www.apache.org/licenses/LICENSE-2.0
        
           Unless required by applicable law or agreed to in writing, software
           distributed under the License is distributed on an "AS IS" BASIS,
           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
           See the License for the specific language governing permissions and
           limitations under the License.
        
Project-URL: Homepage, https://github.com/hubzoid/hubzoid
Project-URL: Repository, https://github.com/hubzoid/hubzoid
Project-URL: Issues, https://github.com/hubzoid/hubzoid/issues
Project-URL: Changelog, https://github.com/hubzoid/hubzoid/releases
Keywords: agents,ai,llm,openai,anthropic,claude,openrouter,markdown,agents.md,mcp
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: openai-agents[litellm]<0.18,>=0.17.3
Requires-Dist: litellm<1.96,>=1.95.0
Requires-Dist: claude-agent-sdk<0.3,>=0.2.159
Requires-Dist: fastmcp<4,>=3.4.7
Requires-Dist: starlette<2,>=0.47
Requires-Dist: websockets<18,>=15
Requires-Dist: PyYAML<7,>=6.0.3
Requires-Dist: python-dotenv<2,>=1.2
Requires-Dist: composio<0.16,>=0.15
Requires-Dist: opentelemetry-proto<2,>=1.44
Requires-Dist: typer<1,>=0.26.8
Requires-Dist: jinja2<4,>=3.1.6
Requires-Dist: slack-bolt<2,>=1.30
Requires-Dist: casbin<2,>=1.43
Requires-Dist: dbos==3.1.0
Requires-Dist: croniter<7,>=6.2
Requires-Dist: pwdlib[argon2,bcrypt]<0.4,>=0.3.1
Requires-Dist: python-multipart<0.1,>=0.0.32
Requires-Dist: openai<2.30,>=2.29.0
Requires-Dist: mcp<1.28,>=1.27.2
Requires-Dist: tiktoken<0.14,>=0.13
Requires-Dist: fastapi<0.137,>=0.136.3
Requires-Dist: uvicorn[standard]<0.52,>=0.51
Requires-Dist: httpx<0.29,>=0.28.1
Requires-Dist: pydantic<2.14,>=2.13.4
Requires-Dist: cryptography<49,>=48
Requires-Dist: rich<14,>=13.9
Requires-Dist: pypdf<6.8,>=6.7.5
Requires-Dist: Pillow<12.3,>=12.2
Requires-Dist: openapi-spec-validator<0.8,>=0.7.2
Requires-Dist: defusedxml<0.8,>=0.7.1
Requires-Dist: markdown<3.11,>=3.10.2
Requires-Dist: SQLAlchemy<2.1,>=2.0.50
Requires-Dist: alembic<1.19,>=1.18.4
Requires-Dist: boto3<1.43,>=1.42.62
Requires-Dist: authlib<1.8,>=1.7.2
Requires-Dist: githubkit[auth-app]<0.17,>=0.16.1
Requires-Dist: dkimpy<1.2,>=1.1.8
Requires-Dist: imapclient<3.2,>=3.1.0
Requires-Dist: itsdangerous<2.3,>=2.2
Requires-Dist: qrcode<9,>=8.2
Provides-Extra: postgres
Requires-Dist: psycopg[binary]<4,>=3.3; extra == "postgres"
Provides-Extra: sandbox
Requires-Dist: docker<8,>=7.1; extra == "sandbox"
Provides-Extra: saml
Requires-Dist: pysaml2<7.6,>=7.5.5; extra == "saml"
Requires-Dist: pyopenssl<26.3,>=26.2; extra == "saml"
Requires-Dist: scim2-models<0.13,>=0.12.2; extra == "saml"
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
Requires-Dist: pytest-split>=0.10; extra == "dev"
Requires-Dist: pytest-timeout>=2.3; extra == "dev"
Requires-Dist: pytest-xdist<4,>=3.6; extra == "dev"
Requires-Dist: setuptools>=68; extra == "dev"
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Requires-Dist: reportlab>=4.0; extra == "dev"
Requires-Dist: scim2-tester<0.6,>=0.5.2; extra == "dev"
Dynamic: license-file

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hubzoid/hubzoid/72ac7bf1610c8a335b9b3ac3b536de8fdb6770f1/assets/mark-dark.svg">
    <img alt="Hubzoid" src="https://raw.githubusercontent.com/hubzoid/hubzoid/72ac7bf1610c8a335b9b3ac3b536de8fdb6770f1/assets/mark-light.svg" width="240">
  </picture>
</p>

<h3 align="center">One brain for your internal agents.</h3>
<p align="center">Build agents around your knowledge and your way of working. Start on your laptop. Bring them to your team.</p>
<p align="center">
  <a href="https://hubzoid.com/docs">Documentation</a> ·
  <a href="https://github.com/hubzoid/hubzoid/blob/main/docs/quickstart.md">Quickstart</a> ·
  <a href="https://hubzoid.com">Website</a> ·
  <a href="https://github.com/hubzoid/hubzoid/blob/main/CONTRIBUTING.md">Contribute</a>
</p>
<p align="center">
  <a href="https://pypi.org/project/hubzoid/"><img src="https://img.shields.io/pypi/v/hubzoid?color=B5471F" alt="PyPI version"></a>
  <a href="https://github.com/hubzoid/hubzoid/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-0B0B0C" alt="Apache License 2.0"></a>
</p>

**Hubzoid turns a folder of your knowledge, rules and tools into an agent you can
use yourself and share with your team.** Ask it questions in chat, run repeatable
workflows, or connect your own assistant through MCP. The rules live in files you
can read, edit and version.

<p align="center">
  <img alt="Your agent folder becomes a shared Hub for chat, workflows and your assistant through MCP." src="https://raw.githubusercontent.com/hubzoid/hubzoid/72ac7bf1610c8a335b9b3ac3b536de8fdb6770f1/assets/shared-hub-light.svg" width="680">
</p>

## Start in two minutes

You need Python 3.11 or 3.12, and Claude Code or Codex signed in on this
machine (or a model API key).

```bash
python3.12 -m venv .venv
source .venv/bin/activate
pip install hubzoid
hubzoid init my-hub
hubzoid run my-hub
```

The web app opens at **http://127.0.0.1:3080**. Ask:

> A customer wants a refund 40 days after delivery. What can we offer?

`my-hub` is a small starter for Kestrel & Oak, a fictional shop. It has every
folder Hubzoid reads, three house rules in `knowledge/house-rules.md`, and a
check in `evals/`. The assistant answers from the rules and names the file.

`init` uses the Claude Code or Codex you are signed in to. Without one, it offers
to save a model API key in the hub's private `.env`. Subscription limits or
provider charges apply. [Choose a runtime](https://github.com/hubzoid/hubzoid/blob/main/docs/providers.md)

## Make it yours

1. Open `my-hub/knowledge/house-rules.md` and change the refund window from 30
   days to 45. Or ask Claude Code or Codex to make the change and show you the diff.
2. Stop `hubzoid run` and start it again.
3. Ask the same question. The answer now follows your rule.

Then replace the sample with your own material: your rules and notes in
`knowledge/`, your job for the assistant in `AGENTS.md`, your checks in
`evals/`. Only what is in the files is shared. A correction in chat is not saved
on its own. [Authoring a hub](https://github.com/hubzoid/hubzoid/blob/main/docs/authoring-a-hub.md)

<details>
<summary>Prefer to set up with Claude Code or Codex?</summary>

Paste this into your coding assistant:

```text
Help me set up a Hubzoid agent using the quickstart:
https://github.com/hubzoid/hubzoid/blob/main/docs/quickstart.md

Use a new folder and a Python 3.11 or 3.12 virtual environment.
Help me choose an available runtime without pasting secrets into chat.
Run the starter and show me one answer from its house rules.
Then help me turn it into an agent for one task, using material I choose.
Show me each file change before you make it.
```

Your coding assistant helps you write the hub. Its conversation with you is not
saved into the hub.

</details>

## Use a ready-to-use hub

Complete agents built on Hubzoid, each in its own repo. Clone one and follow its
README.

| Hub | What it does | You need |
|---|---|---|
| [Software Factory](https://github.com/hubzoid/software-factory-hub) | Turns issues into reviewed draft pull requests, with people on the judgment calls | Docker, a GitHub repo, Claude Code or Codex |
| [Order & Invoice Desk](https://github.com/hubzoid/order-desk-hub) | Organizes orders and invoices from your inbox, every line tied to its source | An inbox, Claude Code or Codex. An ERP is optional |
| [Customer Desk](https://github.com/hubzoid/customer-desk-hub) | Drafts customer replies from your knowledge and systems. A person approves each one | A helpdesk, Claude Code or Codex. A labelled sample is included |
| [GitZoid](https://github.com/hubzoid/gitzoid-hub) | Pull request reviews and answers about your code | Claude Code or Codex. A GitHub token for your own repos |

```bash
git clone https://github.com/hubzoid/software-factory-hub software-factory
```

Each hub's README has a setup prompt for Claude Code or Codex, too.

## One hub, three ways to use it

| You want to | Use |
|---|---|
| Ask about your work and get a useful answer | **Chat**, with your hub's knowledge and permitted tools |
| Repeat a report or check, with saved inputs and results | **Workflows**, on demand or on a schedule. [Reports and sharing](https://github.com/hubzoid/hubzoid/blob/main/docs/reports-and-email.md) |
| Bring the same capabilities into your own assistant | **MCP**, with your own access. [Connect your assistant](https://github.com/hubzoid/hubzoid/blob/main/docs/mcp-server.md) |

For Claude Code, paste the connection command `hubzoid run` prints, then open
`/mcp` in Claude Code and approve the connection.

## Share with your team

Local mode is private to your machine. To share, turn on sign-in and set the
public address in `my-hub/.env`:

```dotenv
HUBZOID_AUTH=true
HUBZOID_PUBLIC_URL=https://hub.example.com
```

Then create the first administrator and start the hub:

```bash
hubzoid admin create you@example.com my-hub --owner
hubzoid run my-hub
```

Open the one-time sign-in link it prints, set a password, and add teammates in
**Settings → People & access**. Give each person the agents and capabilities they
need. Shared knowledge does not mean shared credentials or access to another
person's private results.

For a public deployment, use HTTPS and persistent storage.
[Team setup](https://github.com/hubzoid/hubzoid/blob/main/docs/ADMINISTRATION.md) ·
[Deployment](https://github.com/hubzoid/hubzoid/blob/main/docs/DEPLOYING.md) ·
[Backup and restore](https://github.com/hubzoid/hubzoid/blob/main/docs/BACKUP.md)

## Go further

| Next step | Guide |
|---|---|
| Add knowledge, skills, tools or specialist agents | [Authoring a hub](https://github.com/hubzoid/hubzoid/blob/main/docs/authoring-a-hub.md) |
| Connect business systems | [MCP connectors](https://github.com/hubzoid/hubzoid/blob/main/docs/mcp.md) |
| Write repeatable work | [Python workflows](https://github.com/hubzoid/hubzoid/blob/main/docs/workflows.md), [Markdown tasks](https://github.com/hubzoid/hubzoid/blob/main/docs/schedule.md) |
| Check answer quality and inspect runs | [Evals](https://github.com/hubzoid/hubzoid/blob/main/docs/evals.md), [observability](https://github.com/hubzoid/hubzoid/blob/main/docs/OBSERVABILITY.md) |
| Put the chat inside your own app | [Embedding the chat](https://github.com/hubzoid/hubzoid/blob/main/docs/embedding.md) |
| Use Slack or other channels | [Slack](https://github.com/hubzoid/hubzoid/blob/main/docs/slack.md), [other channels](https://github.com/hubzoid/hubzoid/blob/main/docs/inbound-surfaces.md) |
| Keep answering when a Claude login hits its limit | [Claude failover](https://github.com/hubzoid/hubzoid/blob/main/docs/DEPLOYING.md#claude-credential-failover) |
| Run on Windows, with uv, or from source | [Quickstart](https://github.com/hubzoid/hubzoid/blob/main/docs/quickstart.md) |

[All guides](https://github.com/hubzoid/hubzoid/blob/main/docs/README.md) ·
[Website documentation](https://hubzoid.com/docs) ·
[Release notes](https://github.com/hubzoid/hubzoid/blob/main/CHANGELOG.md) ·
[Upgrading](https://github.com/hubzoid/hubzoid/blob/main/docs/UPGRADING.md)

The chat and its Settings come with `pip install hubzoid`: no separate UI or
Node install. Hubzoid 2 no longer includes Open WebUI. Deployments that need it
stay on 1.x (`pip install "hubzoid<2"`). Python 3.12 workflows need SQLite 3.42
or later, or PostgreSQL. `hubzoid doctor my-hub` checks this.

Hubzoid is **Apache-2.0**, including team controls. Dependencies and brand assets
keep their own terms. [Licensing](https://github.com/hubzoid/hubzoid/blob/main/LICENSING.md).
To contribute, start with the [contributing guide](https://github.com/hubzoid/hubzoid/blob/main/CONTRIBUTING.md).
Need help with your company's agents? [Build with us](https://hubzoid.com/build-with-us)
uses the same open-source product.
