autobyteus


Nameautobyteus JSON
Version 1.1.2 PyPI version JSON
download
home_pagehttps://github.com/AutoByteus/autobyteus
SummaryMulti-Agent framework
upload_time2025-07-16 17:38:59
maintainerNone
docs_urlNone
authorRyan Zheng
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements beautifulsoup4 openai requests tiktoken google-api-python-client google-generativeai mistralai boto3 botocore anthropic certifi Jinja2 ollama mistral_common mistralai aiohttp autobyteus-llm-client brui-core mcp numpy
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Autobyteus

Autobyteus is an open-source, application-first agentic framework for Python. It is designed to help developers build, test, and deploy complex, stateful, and extensible AI agents by providing a robust architecture and a powerful set of tools.

## Architecture

Autobyteus is built with a modular, event-driven architecture designed for extensibility and clear separation of concerns. The key components are:

-   **Agent Core**: The heart of the system. Each agent is a stateful, autonomous entity that runs as a background process in its own thread, managed by a dedicated `AgentWorker`. This design makes every agent a truly independent entity capable of handling long-running tasks.
-   **Context & Configuration**: Agent behavior is defined through a static configuration (`AgentConfig`) and its dynamic state is managed in `AgentRuntimeState`. These are bundled into a comprehensive `AgentContext` that is passed to all components, providing a single source of truth.
-   **Event-Driven System**: Agents operate on an internal `asyncio` event loop. User messages, tool results, and internal signals are handled as events, which are processed by dedicated `EventHandlers`. This decouples logic and makes the system highly extensible.
-   **Pluggable Processors & Hooks**: The framework provides extension points to inject custom logic. `InputProcessors` and `LLMResponseProcessors` modify data in the main processing pipeline, while `PhaseHooks` allow custom code to run on specific agent lifecycle transitions (e.g., from `BOOTSTRAPPING` to `IDLE`).
-   **Context-Aware Tooling**: Tools are first-class citizens that receive the agent's full `AgentContext` during execution. This allows tools to be deeply integrated with the agent's state, configuration, and workspace, enabling more intelligent and powerful actions.
-   **Tool Approval Flow**: The framework has native support for human-in-the-loop workflows. By setting `auto_execute_tools=False` in the agent's configuration, the agent will pause before executing a tool, emit an event requesting permission, and wait for external approval before proceeding.
-   **MCP Integration**: The framework has native support for the Model Context Protocol (MCP). This allows agents to discover and use tools from external, language-agnostic tool servers, making the ecosystem extremely flexible and ready for enterprise integration.

## Features

- **Context-Aware Workflows**: Each step in the development process interacts with large language models to provide relevant assistance.
- **Lifecycle Integration**: Supports the entire software development lifecycle, starting from requirement engineering.
- **Memory Management**: Custom memory management system supporting different memory providers and embeddings.

## Knowledge Base

A significant part of Autobyteus is our custom-designed knowledge base focused on software and application development. The knowledge base is structured to support the entire development process, with particular emphasis on requirement engineering, which is crucial for successful project outcomes.

## Requirements

-   **Python Version**: Python 3.11 is the recommended and tested version for this project. Using newer versions of Python may result in dependency conflicts when installing the required packages. For a stable and tested environment, please use Python 3.11.

## Getting Started

### Installation

1. **For users:**
   To install Autobyteus, run:
   ```
   pip install .
   ```

2. **For developers:**
   To install Autobyteus with development dependencies, run:
   ```
   pip install -r requirements-dev.txt
   ```

3. **Platform-specific dependencies:**
   To install platform-specific dependencies, run:
   ```
   python setup.py install_platform_deps
   ```

### Building the Library

To build Autobyteus as a distributable package, follow these steps:

1. Ensure you have the latest version of `setuptools` and `wheel` installed:
   ```
   pip install --upgrade setuptools wheel
   ```

2. Build the distribution packages:
   ```
   python setup.py sdist bdist_wheel
   ```

   This will create a `dist` directory containing the built distributions.

3. (Optional) To create a source distribution only:
   ```
   python setup.py sdist
   ```

4. (Optional) To create a wheel distribution only:
   ```
   python setup.py bdist_wheel
   ```

The built packages will be in the `dist` directory and can be installed using pip or distributed as needed.

### Usage

(Add basic commands and examples to get users started)

### Contributing

(Add guidelines for contributing to the project)

## License

This project is licensed under the MIT License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AutoByteus/autobyteus",
    "name": "autobyteus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Ryan Zheng",
    "author_email": "ryan.zheng.work@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/69/99/e0b4ae997b5837d5fcd912af6de957ca456de0ff655fbcd1ba79cf8a4955/autobyteus-1.1.2.tar.gz",
    "platform": null,
    "description": "# Autobyteus\n\nAutobyteus is an open-source, application-first agentic framework for Python. It is designed to help developers build, test, and deploy complex, stateful, and extensible AI agents by providing a robust architecture and a powerful set of tools.\n\n## Architecture\n\nAutobyteus is built with a modular, event-driven architecture designed for extensibility and clear separation of concerns. The key components are:\n\n-   **Agent Core**: The heart of the system. Each agent is a stateful, autonomous entity that runs as a background process in its own thread, managed by a dedicated `AgentWorker`. This design makes every agent a truly independent entity capable of handling long-running tasks.\n-   **Context & Configuration**: Agent behavior is defined through a static configuration (`AgentConfig`) and its dynamic state is managed in `AgentRuntimeState`. These are bundled into a comprehensive `AgentContext` that is passed to all components, providing a single source of truth.\n-   **Event-Driven System**: Agents operate on an internal `asyncio` event loop. User messages, tool results, and internal signals are handled as events, which are processed by dedicated `EventHandlers`. This decouples logic and makes the system highly extensible.\n-   **Pluggable Processors & Hooks**: The framework provides extension points to inject custom logic. `InputProcessors` and `LLMResponseProcessors` modify data in the main processing pipeline, while `PhaseHooks` allow custom code to run on specific agent lifecycle transitions (e.g., from `BOOTSTRAPPING` to `IDLE`).\n-   **Context-Aware Tooling**: Tools are first-class citizens that receive the agent's full `AgentContext` during execution. This allows tools to be deeply integrated with the agent's state, configuration, and workspace, enabling more intelligent and powerful actions.\n-   **Tool Approval Flow**: The framework has native support for human-in-the-loop workflows. By setting `auto_execute_tools=False` in the agent's configuration, the agent will pause before executing a tool, emit an event requesting permission, and wait for external approval before proceeding.\n-   **MCP Integration**: The framework has native support for the Model Context Protocol (MCP). This allows agents to discover and use tools from external, language-agnostic tool servers, making the ecosystem extremely flexible and ready for enterprise integration.\n\n## Features\n\n- **Context-Aware Workflows**: Each step in the development process interacts with large language models to provide relevant assistance.\n- **Lifecycle Integration**: Supports the entire software development lifecycle, starting from requirement engineering.\n- **Memory Management**: Custom memory management system supporting different memory providers and embeddings.\n\n## Knowledge Base\n\nA significant part of Autobyteus is our custom-designed knowledge base focused on software and application development. The knowledge base is structured to support the entire development process, with particular emphasis on requirement engineering, which is crucial for successful project outcomes.\n\n## Requirements\n\n-   **Python Version**: Python 3.11 is the recommended and tested version for this project. Using newer versions of Python may result in dependency conflicts when installing the required packages. For a stable and tested environment, please use Python 3.11.\n\n## Getting Started\n\n### Installation\n\n1. **For users:**\n   To install Autobyteus, run:\n   ```\n   pip install .\n   ```\n\n2. **For developers:**\n   To install Autobyteus with development dependencies, run:\n   ```\n   pip install -r requirements-dev.txt\n   ```\n\n3. **Platform-specific dependencies:**\n   To install platform-specific dependencies, run:\n   ```\n   python setup.py install_platform_deps\n   ```\n\n### Building the Library\n\nTo build Autobyteus as a distributable package, follow these steps:\n\n1. Ensure you have the latest version of `setuptools` and `wheel` installed:\n   ```\n   pip install --upgrade setuptools wheel\n   ```\n\n2. Build the distribution packages:\n   ```\n   python setup.py sdist bdist_wheel\n   ```\n\n   This will create a `dist` directory containing the built distributions.\n\n3. (Optional) To create a source distribution only:\n   ```\n   python setup.py sdist\n   ```\n\n4. (Optional) To create a wheel distribution only:\n   ```\n   python setup.py bdist_wheel\n   ```\n\nThe built packages will be in the `dist` directory and can be installed using pip or distributed as needed.\n\n### Usage\n\n(Add basic commands and examples to get users started)\n\n### Contributing\n\n(Add guidelines for contributing to the project)\n\n## License\n\nThis project is licensed under the MIT License.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Multi-Agent framework",
    "version": "1.1.2",
    "project_urls": {
        "Homepage": "https://github.com/AutoByteus/autobyteus"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "02c0c7abdc83a0f87e30d6c8e052caddf23bc651047a0827da196b0825c31b34",
                "md5": "b3465117d046b5cf4fc760735e47cfef",
                "sha256": "b134d2f744cf181dab4f9b62931c31b23d3bde9a792c7cd5835e925154bdbc1f"
            },
            "downloads": -1,
            "filename": "autobyteus-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b3465117d046b5cf4fc760735e47cfef",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 350030,
            "upload_time": "2025-07-16T17:38:57",
            "upload_time_iso_8601": "2025-07-16T17:38:57.680600Z",
            "url": "https://files.pythonhosted.org/packages/02/c0/c7abdc83a0f87e30d6c8e052caddf23bc651047a0827da196b0825c31b34/autobyteus-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6999e0b4ae997b5837d5fcd912af6de957ca456de0ff655fbcd1ba79cf8a4955",
                "md5": "e0b3e0b9372cb6a51b4c24dbcdfa3120",
                "sha256": "7b3e391a21f2a5c596078084158f290bdad655388f5fd3fac1e6cfeb3e478bb2"
            },
            "downloads": -1,
            "filename": "autobyteus-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e0b3e0b9372cb6a51b4c24dbcdfa3120",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 216433,
            "upload_time": "2025-07-16T17:38:59",
            "upload_time_iso_8601": "2025-07-16T17:38:59.590338Z",
            "url": "https://files.pythonhosted.org/packages/69/99/e0b4ae997b5837d5fcd912af6de957ca456de0ff655fbcd1ba79cf8a4955/autobyteus-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-16 17:38:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AutoByteus",
    "github_project": "autobyteus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    ">=",
                    "4.12.2"
                ]
            ]
        },
        {
            "name": "openai",
            "specs": []
        },
        {
            "name": "requests",
            "specs": []
        },
        {
            "name": "tiktoken",
            "specs": [
                [
                    "==",
                    "0.7.0"
                ]
            ]
        },
        {
            "name": "google-api-python-client",
            "specs": []
        },
        {
            "name": "google-generativeai",
            "specs": []
        },
        {
            "name": "mistralai",
            "specs": []
        },
        {
            "name": "boto3",
            "specs": []
        },
        {
            "name": "botocore",
            "specs": []
        },
        {
            "name": "anthropic",
            "specs": [
                [
                    "==",
                    "0.37.1"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2025.4.26"
                ]
            ]
        },
        {
            "name": "Jinja2",
            "specs": []
        },
        {
            "name": "ollama",
            "specs": []
        },
        {
            "name": "mistral_common",
            "specs": [
                [
                    "==",
                    "1.6.3"
                ]
            ]
        },
        {
            "name": "mistralai",
            "specs": [
                [
                    "==",
                    "1.5.2"
                ]
            ]
        },
        {
            "name": "aiohttp",
            "specs": []
        },
        {
            "name": "autobyteus-llm-client",
            "specs": [
                [
                    "==",
                    "1.1.1"
                ]
            ]
        },
        {
            "name": "brui-core",
            "specs": [
                [
                    "==",
                    "1.0.8"
                ]
            ]
        },
        {
            "name": "mcp",
            "specs": [
                [
                    "==",
                    "1.9.1"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "2.2.5"
                ]
            ]
        }
    ],
    "lcname": "autobyteus"
}
        
Elapsed time: 0.87904s