├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ └── bug_report.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── codecov.yml │ ├── mkdocs.yml │ └── python-publish.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs ├── api │ ├── addons │ │ ├── index.md │ │ ├── qdrant_vector.md │ │ └── text_splitter.md │ ├── commander │ │ ├── commander.md │ │ ├── index.md │ │ └── node_edge.md │ ├── index.md │ └── utils │ │ ├── context.md │ │ ├── dispatcher.md │ │ ├── index.md │ │ ├── llm_async_converters.md │ │ ├── prompt_template.md │ │ └── tool.md ├── getting_started.md ├── guide │ └── commander │ │ ├── callback.md │ │ ├── commander.md │ │ ├── framework.md │ │ ├── handler.md │ │ ├── job.md │ │ ├── node_edge.md │ │ └── tasknode.md ├── index.md └── introduction.md ├── examples ├── README.md ├── openai_chat_with_tools.py ├── openai_chat_with_tools_within_loop.py ├── openai_group_talk.py └── requirements.txt ├── mkdocs.yml ├── pyproject.toml ├── src └── agere │ ├── __init__.py │ ├── _version.py │ ├── addons │ ├── __init__.py │ ├── _text_splitter_base.py │ ├── qdrant_vector.py │ └── text_splitter.py │ ├── commander │ ├── __init__.py │ ├── _commander.py │ ├── _exceptions.py │ ├── _null_logger.py │ └── edge.py │ └── utils │ ├── __init__.py │ ├── _context_model_base.py │ ├── _exceptions.py │ ├── _tool_base.py │ ├── context.py │ ├── context_models │ ├── __init__.py │ └── openai_context_model.py │ ├── dispatcher.py │ ├── llm_async_converters.py │ ├── prompt_template.py │ ├── tool.py │ └── tool_models │ ├── __init__.py │ ├── custom_tool_model.py │ ├── custom_tool_prompt.py │ └── openai_tool_model.py └── tests ├── __init__.py ├── addons ├── __init__.py ├── test_qdrant_vector.py └── test_text_splitter.py ├── commander ├── __init__.py ├── test_callback.py ├── test_commander.py ├── test_edge.py ├── test_handler.py ├── test_job.py └── test_tasknode.py ├── requirements.txt └── utils ├── __init__.py ├── conftest.py ├── fixtures ├── custom_llm_response_fixture.py ├── openai_response_fixture.py ├── tool_fixtures.py └── tools_manager_fixtures.py ├── test_context.py ├── test_dispatcher.py ├── test_llm_async_converters.py ├── test_prompt_template.py └── test_tool.py /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/.github/workflows/codecov.yml -------------------------------------------------------------------------------- /.github/workflows/mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/.github/workflows/mkdocs.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/README.md -------------------------------------------------------------------------------- /docs/api/addons/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/api/addons/index.md -------------------------------------------------------------------------------- /docs/api/addons/qdrant_vector.md: -------------------------------------------------------------------------------- 1 | ::: agere.addons.qdrant_vector 2 | -------------------------------------------------------------------------------- /docs/api/addons/text_splitter.md: -------------------------------------------------------------------------------- 1 | ::: agere.addons.text_splitter 2 | -------------------------------------------------------------------------------- /docs/api/commander/commander.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/api/commander/commander.md -------------------------------------------------------------------------------- /docs/api/commander/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/api/commander/index.md -------------------------------------------------------------------------------- /docs/api/commander/node_edge.md: -------------------------------------------------------------------------------- 1 | ::: agere.commander.node_edge 2 | -------------------------------------------------------------------------------- /docs/api/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/api/index.md -------------------------------------------------------------------------------- /docs/api/utils/context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/api/utils/context.md -------------------------------------------------------------------------------- /docs/api/utils/dispatcher.md: -------------------------------------------------------------------------------- 1 | ::: agere.utils.dispatcher 2 | -------------------------------------------------------------------------------- /docs/api/utils/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/api/utils/index.md -------------------------------------------------------------------------------- /docs/api/utils/llm_async_converters.md: -------------------------------------------------------------------------------- 1 | ::: agere.utils.llm_async_converters 2 | -------------------------------------------------------------------------------- /docs/api/utils/prompt_template.md: -------------------------------------------------------------------------------- 1 | ::: agere.utils.prompt_template 2 | -------------------------------------------------------------------------------- /docs/api/utils/tool.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/api/utils/tool.md -------------------------------------------------------------------------------- /docs/getting_started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/getting_started.md -------------------------------------------------------------------------------- /docs/guide/commander/callback.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/guide/commander/callback.md -------------------------------------------------------------------------------- /docs/guide/commander/commander.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/guide/commander/commander.md -------------------------------------------------------------------------------- /docs/guide/commander/framework.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/guide/commander/framework.md -------------------------------------------------------------------------------- /docs/guide/commander/handler.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/guide/commander/handler.md -------------------------------------------------------------------------------- /docs/guide/commander/job.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/guide/commander/job.md -------------------------------------------------------------------------------- /docs/guide/commander/node_edge.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/guide/commander/node_edge.md -------------------------------------------------------------------------------- /docs/guide/commander/tasknode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/guide/commander/tasknode.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/docs/introduction.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/openai_chat_with_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/examples/openai_chat_with_tools.py -------------------------------------------------------------------------------- /examples/openai_chat_with_tools_within_loop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/examples/openai_chat_with_tools_within_loop.py -------------------------------------------------------------------------------- /examples/openai_group_talk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/examples/openai_group_talk.py -------------------------------------------------------------------------------- /examples/requirements.txt: -------------------------------------------------------------------------------- 1 | openai>=1.2.3,<2 2 | -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/agere/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/__init__.py -------------------------------------------------------------------------------- /src/agere/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/_version.py -------------------------------------------------------------------------------- /src/agere/addons/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/agere/addons/_text_splitter_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/addons/_text_splitter_base.py -------------------------------------------------------------------------------- /src/agere/addons/qdrant_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/addons/qdrant_vector.py -------------------------------------------------------------------------------- /src/agere/addons/text_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/addons/text_splitter.py -------------------------------------------------------------------------------- /src/agere/commander/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/commander/__init__.py -------------------------------------------------------------------------------- /src/agere/commander/_commander.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/commander/_commander.py -------------------------------------------------------------------------------- /src/agere/commander/_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/commander/_exceptions.py -------------------------------------------------------------------------------- /src/agere/commander/_null_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/commander/_null_logger.py -------------------------------------------------------------------------------- /src/agere/commander/edge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/commander/edge.py -------------------------------------------------------------------------------- /src/agere/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/__init__.py -------------------------------------------------------------------------------- /src/agere/utils/_context_model_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/_context_model_base.py -------------------------------------------------------------------------------- /src/agere/utils/_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/_exceptions.py -------------------------------------------------------------------------------- /src/agere/utils/_tool_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/_tool_base.py -------------------------------------------------------------------------------- /src/agere/utils/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/context.py -------------------------------------------------------------------------------- /src/agere/utils/context_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/context_models/__init__.py -------------------------------------------------------------------------------- /src/agere/utils/context_models/openai_context_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/context_models/openai_context_model.py -------------------------------------------------------------------------------- /src/agere/utils/dispatcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/dispatcher.py -------------------------------------------------------------------------------- /src/agere/utils/llm_async_converters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/llm_async_converters.py -------------------------------------------------------------------------------- /src/agere/utils/prompt_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/prompt_template.py -------------------------------------------------------------------------------- /src/agere/utils/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/tool.py -------------------------------------------------------------------------------- /src/agere/utils/tool_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/tool_models/__init__.py -------------------------------------------------------------------------------- /src/agere/utils/tool_models/custom_tool_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/tool_models/custom_tool_model.py -------------------------------------------------------------------------------- /src/agere/utils/tool_models/custom_tool_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/tool_models/custom_tool_prompt.py -------------------------------------------------------------------------------- /src/agere/utils/tool_models/openai_tool_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/src/agere/utils/tool_models/openai_tool_model.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/addons/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/addons/test_qdrant_vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/addons/test_qdrant_vector.py -------------------------------------------------------------------------------- /tests/addons/test_text_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/addons/test_text_splitter.py -------------------------------------------------------------------------------- /tests/commander/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/commander/test_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/commander/test_callback.py -------------------------------------------------------------------------------- /tests/commander/test_commander.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/commander/test_commander.py -------------------------------------------------------------------------------- /tests/commander/test_edge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/commander/test_edge.py -------------------------------------------------------------------------------- /tests/commander/test_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/commander/test_handler.py -------------------------------------------------------------------------------- /tests/commander/test_job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/commander/test_job.py -------------------------------------------------------------------------------- /tests/commander/test_tasknode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/commander/test_tasknode.py -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- 1 | qdrant-client>=1.9.1,<2 2 | fastembed>=0.2.7,<1 3 | -------------------------------------------------------------------------------- /tests/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/utils/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/conftest.py -------------------------------------------------------------------------------- /tests/utils/fixtures/custom_llm_response_fixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/fixtures/custom_llm_response_fixture.py -------------------------------------------------------------------------------- /tests/utils/fixtures/openai_response_fixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/fixtures/openai_response_fixture.py -------------------------------------------------------------------------------- /tests/utils/fixtures/tool_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/fixtures/tool_fixtures.py -------------------------------------------------------------------------------- /tests/utils/fixtures/tools_manager_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/fixtures/tools_manager_fixtures.py -------------------------------------------------------------------------------- /tests/utils/test_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/test_context.py -------------------------------------------------------------------------------- /tests/utils/test_dispatcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/test_dispatcher.py -------------------------------------------------------------------------------- /tests/utils/test_llm_async_converters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/test_llm_async_converters.py -------------------------------------------------------------------------------- /tests/utils/test_prompt_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/test_prompt_template.py -------------------------------------------------------------------------------- /tests/utils/test_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happyapplehorse/agere/HEAD/tests/utils/test_tool.py --------------------------------------------------------------------------------