agenta 0.13.0a0__tar.gz → 0.13.0a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of agenta might be problematic. Click here for more details.
- {agenta-0.13.0a0 → agenta-0.13.0a1}/PKG-INFO +46 -96
- {agenta-0.13.0a0 → agenta-0.13.0a1}/README.md +45 -95
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/__init__.py +1 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/client.py +169 -50
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/core/api_error.py +3 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/core/datetime_utils.py +3 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/core/jsonable_encoder.py +9 -3
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/__init__.py +12 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/apps/__init__.py +0 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/apps/client.py +88 -26
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/bases/__init__.py +0 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/bases/client.py +8 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/configs/__init__.py +0 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/configs/client.py +58 -14
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/containers/client.py +46 -14
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/environments/__init__.py +0 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/environments/client.py +18 -6
- agenta-0.13.0a1/agenta/client/backend/resources/evaluations/__init__.py +1 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/evaluations/client.py +86 -26
- agenta-0.13.0a1/agenta/client/backend/resources/evaluators/__init__.py +1 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/evaluators/client.py +57 -17
- agenta-0.13.0a1/agenta/client/backend/resources/observability/__init__.py +1 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/observability/client.py +100 -30
- agenta-0.13.0a1/agenta/client/backend/resources/testsets/__init__.py +1 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/testsets/client.py +56 -16
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/variants/client.py +92 -26
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/variants/types/__init__.py +3 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/aggregated_result.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/aggregated_result_evaluator_config.py +3 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/app.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/app_variant_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/app_variant_revision.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/base_output.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/body_import_testset.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/config_db.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/create_app_output.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/create_span.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/create_trace_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/docker_env_vars.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/environment_output.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/environment_output_extended.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/environment_revision.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/error.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_scenario.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_scenario_input.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_scenario_output.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_scenario_result.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_scenario_score_update.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_type.py +3 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_webhook.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluator.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluator_config.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/feedback.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/get_config_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/http_validation_error.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/human_evaluation.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/human_evaluation_scenario.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/human_evaluation_scenario_input.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/human_evaluation_scenario_output.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/human_evaluation_scenario_update.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/human_evaluation_update.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/image.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/invite_request.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/list_api_keys_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/llm_run_rate_limit.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/llm_tokens.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/new_human_evaluation.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/new_testset.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/organization.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/organization_output.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/result.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/simple_evaluation_output.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/span.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/span_detail.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/span_variant.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/template.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/template_image_info.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/test_set_output_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/test_set_simple_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/trace_detail.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/uri.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/validation_error.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/variant_action.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/variant_action_enum.py +3 -1
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/with_pagination.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/workspace_member_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/workspace_permission.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/workspace_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/workspace_role_response.py +10 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/__init__.py +1 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/agenta_decorator.py +11 -3
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/tracing/llm_tracing.py +31 -18
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/types.py +38 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/pyproject.toml +1 -1
- agenta-0.13.0a0/agenta/client/backend/resources/evaluations/__init__.py +0 -2
- agenta-0.13.0a0/agenta/client/backend/resources/evaluators/__init__.py +0 -2
- agenta-0.13.0a0/agenta/client/backend/resources/observability/__init__.py +0 -2
- agenta-0.13.0a0/agenta/client/backend/resources/testsets/__init__.py +0 -2
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/cli/evaluation_commands.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/cli/helper.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/cli/main.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/cli/telemetry.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/cli/variant_commands.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/cli/variant_configs.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/Readme.md +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/api.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/api_models.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/core/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/core/client_wrapper.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/core/remove_none_from_dict.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/errors/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/errors/unprocessable_entity_error.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/containers/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/containers/types/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/containers/types/container_templates_response.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/variants/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/resources/variants/types/add_variant_from_base_and_config_response.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/__init__.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/evaluation_status_enum.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/permission.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/score.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/span_kind.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/span_status_code.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/validation_error_loc_item.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/backend/types/workspace_role.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/client.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/client/exceptions.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/config.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/config.toml +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/docker/docker-assets/Dockerfile.cloud.template +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/docker/docker-assets/Dockerfile.template +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/docker/docker-assets/README.md +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/docker/docker-assets/entrypoint.sh +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/docker/docker-assets/lambda_function.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/docker/docker-assets/main.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/docker/docker_utils.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/agenta_init.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/context.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/router.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/tracing/context_manager.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/tracing/decorators.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/tracing/logger.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/tracing/tasks_manager.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/utils/globals.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/utils/helper/openai_cost.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/sdk/utils/preinit.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/compose_email/README.md +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/compose_email/app.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/compose_email/env.example +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/compose_email/requirements.txt +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/compose_email/template.toml +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/extract_data_to_json/README.md +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/extract_data_to_json/app.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/extract_data_to_json/env.example +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/extract_data_to_json/requirements.txt +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/extract_data_to_json/template.toml +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/simple_prompt/README.md +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/simple_prompt/app.py +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/simple_prompt/env.example +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/simple_prompt/requirements.txt +0 -0
- {agenta-0.13.0a0 → agenta-0.13.0a1}/agenta/templates/simple_prompt/template.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: agenta
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.0a1
|
|
4
4
|
Summary: The SDK for agenta is an open-source LLMOps platform.
|
|
5
5
|
Home-page: https://agenta.ai
|
|
6
6
|
Keywords: LLMOps,LLM,evaluation,prompt engineering
|
|
@@ -36,8 +36,8 @@ Description-Content-Type: text/markdown
|
|
|
36
36
|
<a href="https://agenta.ai/">
|
|
37
37
|
<div align="center" >
|
|
38
38
|
<picture >
|
|
39
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/
|
|
40
|
-
<source media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/
|
|
39
|
+
<source width="500" media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/cdddf5ad-2352-4920-b1d9-ae7f8d9d7735" >
|
|
40
|
+
<source width="500" media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/ab75cbac-b807-496f-aab3-57463a33f726" >
|
|
41
41
|
<img alt="Shows the logo of agenta" src="https://github.com/Agenta-AI/agenta/assets/4510758/68e055d4-d7b8-4943-992f-761558c64253" >
|
|
42
42
|
</picture>
|
|
43
43
|
</div>
|
|
@@ -48,8 +48,8 @@ Description-Content-Type: text/markdown
|
|
|
48
48
|
<a href="https://docs.agenta.ai/">Documentation</a>
|
|
49
49
|
</h4>
|
|
50
50
|
<div align="center">
|
|
51
|
-
<strong>
|
|
52
|
-
The open-source
|
|
51
|
+
<strong> <h2> Collaborate on prompts, evaluate, and deploy LLM applications with confidence </h2></strong>
|
|
52
|
+
The open-source LLM developer platform for prompt-engineering, evaluation, human feedback, and deployment of complex LLM apps.
|
|
53
53
|
</div>
|
|
54
54
|
</br>
|
|
55
55
|
<p align="center">
|
|
@@ -68,7 +68,6 @@ Description-Content-Type: text/markdown
|
|
|
68
68
|
<a href="https://pypi.org/project/agenta/">
|
|
69
69
|
<img src="https://img.shields.io/pypi/dm/agenta" alt="PyPI - Downloads">
|
|
70
70
|
</a>
|
|
71
|
-
|
|
72
71
|
</br>
|
|
73
72
|
</p>
|
|
74
73
|
|
|
@@ -90,7 +89,7 @@ Description-Content-Type: text/markdown
|
|
|
90
89
|
|
|
91
90
|
<a href="https://cloud.agenta.ai">
|
|
92
91
|
<picture>
|
|
93
|
-
<img src="https://github.com/Agenta-AI/agenta/assets/4510758/
|
|
92
|
+
<img src="https://github.com/Agenta-AI/agenta/assets/4510758/d622f268-c295-42d4-a43c-548b611ff6f2" />
|
|
94
93
|
</picture>
|
|
95
94
|
</a>
|
|
96
95
|
|
|
@@ -100,8 +99,8 @@ Description-Content-Type: text/markdown
|
|
|
100
99
|
<br />
|
|
101
100
|
<div align="center" >
|
|
102
101
|
<picture >
|
|
103
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/cf6d4713-4558-4c6c-9e1b-ee4eab261f4c" >
|
|
104
|
-
<source media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/ae9cf11f-8ef9-4b67-98c7-4a40341fa87a" >
|
|
102
|
+
<source width="800" media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/cf6d4713-4558-4c6c-9e1b-ee4eab261f4c" >
|
|
103
|
+
<source width="800" media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/ae9cf11f-8ef9-4b67-98c7-4a40341fa87a" >
|
|
105
104
|
<img alt="Mockup agenta" src="https://github.com/Agenta-AI/agenta/assets/4510758/ae9cf11f-8ef9-4b67-98c7-4a40341fa87a" >
|
|
106
105
|
</picture>
|
|
107
106
|
</div>
|
|
@@ -113,126 +112,75 @@ Description-Content-Type: text/markdown
|
|
|
113
112
|
---
|
|
114
113
|
|
|
115
114
|
<h3 align="center">
|
|
116
|
-
<a href="#ℹ️-about"><b>About</b></a> •
|
|
117
115
|
<a href="#quick-start"><b>Quick Start</b></a> •
|
|
118
|
-
<a href="https://docs.agenta.ai/installation"><b>Installation</b></a> •
|
|
119
116
|
<a href="#features"><b>Features</b></a> •
|
|
120
117
|
<a href="https://docs.agenta.ai"><b>Documentation</b></a> •
|
|
121
118
|
<a href="#enterprise-support"><b>Enterprise</b></a> •
|
|
122
|
-
<a href="https://
|
|
119
|
+
<a href="https://github.com/orgs/Agenta-AI/projects/13"><b>Roadmap</b></a> •
|
|
120
|
+
<a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-1zsafop5i-Y7~ZySbhRZvKVPV5DO_7IA"><b>Join Our Slack</b></a> •
|
|
123
121
|
<a href="#contributing"><b>Contributing</b></a>
|
|
124
122
|
</h3>
|
|
125
123
|
|
|
126
124
|
---
|
|
127
125
|
|
|
128
|
-
#
|
|
126
|
+
# ⭐️ Why Agenta?
|
|
127
|
+
|
|
128
|
+
Agenta is an end-to-end LLM developer platform. It provides the tools for **prompt engineering and management**, ⚖️ **evaluation**, **human annotation**, and :rocket: **deployment**. All without imposing any restrictions on your choice of framework, library, or model.
|
|
129
|
+
|
|
130
|
+
Agenta allows developers and product teams to collaborate in building production-grade LLM-powered applications in less time.
|
|
131
|
+
|
|
132
|
+
### With Agenta, you can:
|
|
129
133
|
|
|
130
|
-
|
|
134
|
+
- [🧪 **Experiment** and **compare** prompts](https://docs.agenta.ai/basic_guides/prompt_engineering) on [any LLM workflow](https://docs.agenta.ai/advanced_guides/custom_applications) (chain-of-prompts, Retrieval Augmented Generation (RAG), LLM agents...)
|
|
135
|
+
- ✍️ Collect and [**annotate golden test sets**](https://docs.agenta.ai/basic_guides/test_sets) for evaluation
|
|
136
|
+
- 📈 [**Evaluate** your application](https://docs.agenta.ai/basic_guides/automatic_evaluation) with pre-existing or [**custom evaluators**](https://docs.agenta.ai/advanced_guides/using_custom_evaluators)
|
|
137
|
+
- [🔍 **Annotate** and **A/B test**](https://docs.agenta.aibasic_guides/human_evaluation) your applications with **human feedback**
|
|
138
|
+
- [🤝 **Collaborate with product teams**](https://docs.agenta.ai/basic_guides/team_management) for prompt engineering and evaluation
|
|
139
|
+
- [🚀 **Deploy your application**](https://docs.agenta.ai/basic_guides/deployment) in one-click in the UI, through CLI, or through github workflows.
|
|
131
140
|
|
|
132
|
-
|
|
141
|
+
### Works with any LLM app workflow
|
|
133
142
|
|
|
134
|
-
|
|
143
|
+
Agenta enables prompt engineering and evaluation on any LLM app architecture:
|
|
144
|
+
- Chain of prompts
|
|
145
|
+
- RAG
|
|
146
|
+
- Agents
|
|
147
|
+
- ...
|
|
135
148
|
|
|
136
|
-
|
|
137
|
-
| ------------- | ------------- |
|
|
138
|
-
|1. [Create an application using a pre-built template from our UI](https://cloud.agenta.ai?utm_source=github&utm_medium=readme&utm_campaign=github)<br />2. Access a playground where you can test and compare different prompts and configurations side-by-side.<br /> 3. Systematically evaluate your application using pre-built or custom evaluators.<br /> 4. Deploy the application to production with one click. |1. [Add a few lines to any LLM application code to automatically create a playground for it](https://docs.agenta.ai/developer_guides/tutorials/first-app-with-langchain) <br />2. Experiment with prompts and configurations, and compare them side-by-side in the playground. <br />3. Systematically evaluate your application using pre-built or custom evaluators. <br />4. Deploy the application to production with one click. |
|
|
149
|
+
It works with any framework such as [Langchain](https://langchain.com), [LlamaIndex](https://www.llamaindex.ai/) and any LLM provider (openAI, Cohere, Mistral).
|
|
139
150
|
|
|
140
|
-
|
|
151
|
+
[Jump here to see how to use your own custom application with agenta](/advanced_guides/custom_applications)
|
|
141
152
|
|
|
142
153
|
# Quick Start
|
|
143
154
|
|
|
144
|
-
### [
|
|
145
|
-
### [
|
|
146
|
-
### [Create
|
|
155
|
+
### [Get started for free](https://cloud.agenta.ai?utm_source=github&utm_medium=readme&utm_campaign=github)
|
|
156
|
+
### [Explore the Docs](https://docs.agenta.ai)
|
|
157
|
+
### [Create your first application in one-minute](https://docs.agenta.ai/quickstart/getting-started-ui)
|
|
158
|
+
### [Create an application using Langchain](https://docs.agenta.ai/tutorials/first-app-with-langchain)
|
|
147
159
|
### [Self-host agenta](https://docs.agenta.ai/self-host/host-locally)
|
|
148
|
-
### [Read the Documentation](https://docs.agenta.ai)
|
|
149
160
|
### [Check the Cookbook](https://docs.agenta.ai/cookbook)
|
|
150
161
|
|
|
151
162
|
# Features
|
|
152
163
|
|
|
153
|
-
<h3>Playground 🪄 <br/></h3>
|
|
154
|
-
With just a few lines of code, define the parameters and prompts you wish to experiment with. You and your team can quickly experiment and test new variants on the web UI. <br/>
|
|
155
|
-
|
|
156
|
-
https://github.com/Agenta-AI/agenta/assets/4510758/8b736d2b-7c61-414c-b534-d95efc69134c
|
|
157
|
-
|
|
158
|
-
<h3>Version Evaluation 📊 <br/></h3>
|
|
159
|
-
Define test sets, then evaluate manually or programmatically your different variants.<br/>
|
|
160
|
-
|
|
161
|
-

|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
<h3>API Deployment 🚀<br/></h3>
|
|
165
|
-
When you are ready, deploy your LLM applications as APIs in one click.<br/>
|
|
166
|
-
|
|
167
|
-

|
|
168
|
-
|
|
169
|
-
## Why choose Agenta for building LLM-apps?
|
|
170
|
-
|
|
171
|
-
- 🔨 **Build quickly**: You need to iterate many times on different architectures and prompts to bring apps to production. We streamline this process and allow you to do this in days instead of weeks.
|
|
172
|
-
- 🏗️ **Build robust apps and reduce hallucination**: We provide you with the tools to systematically and easily evaluate your application to make sure you only serve robust apps to production.
|
|
173
|
-
- 👨💻 **Developer-centric**: We cater to complex LLM-apps and pipelines that require more than one simple prompt. We allow you to experiment and iterate on apps that have complex integration, business logic, and many prompts.
|
|
174
|
-
- 🌐 **Solution-Agnostic**: You have the freedom to use any libraries and models, be it Langchain, llma_index, or a custom-written alternative.
|
|
175
|
-
- 🔒 **Privacy-First**: We respect your privacy and do not proxy your data through third-party services. The platform and the data are hosted on your infrastructure.
|
|
176
|
-
|
|
177
|
-
## How Agenta works:
|
|
178
|
-
|
|
179
|
-
**1. Write your LLM-app code**
|
|
180
|
-
|
|
181
|
-
Write the code using any framework, library, or model you want. Add the `agenta.post` decorator and put the inputs and parameters in the function call just like in this example:
|
|
182
|
-
|
|
183
|
-
_Example simple application that generates baby names:_
|
|
184
|
-
|
|
185
|
-
```python
|
|
186
|
-
import agenta as ag
|
|
187
|
-
from langchain.chains import LLMChain
|
|
188
|
-
from langchain.llms import OpenAI
|
|
189
|
-
from langchain.prompts import PromptTemplate
|
|
190
|
-
|
|
191
|
-
default_prompt = "Give me five cool names for a baby from {country} with this gender {gender}!!!!"
|
|
192
|
-
ag.init()
|
|
193
|
-
ag.config(prompt_template=ag.TextParam(default_prompt),
|
|
194
|
-
temperature=ag.FloatParam(0.9))
|
|
195
|
-
|
|
196
|
-
@ag.entrypoint
|
|
197
|
-
def generate(
|
|
198
|
-
country: str,
|
|
199
|
-
gender: str,
|
|
200
|
-
) -> str:
|
|
201
|
-
llm = OpenAI(temperature=ag.config.temperature)
|
|
202
|
-
prompt = PromptTemplate(
|
|
203
|
-
input_variables=["country", "gender"],
|
|
204
|
-
template=ag.config.prompt_template,
|
|
205
|
-
)
|
|
206
|
-
chain = LLMChain(llm=llm, prompt=prompt)
|
|
207
|
-
output = chain.run(country=country, gender=gender)
|
|
208
|
-
|
|
209
|
-
return output
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
**2.Deploy your app using the Agenta CLI**
|
|
213
|
-
|
|
214
|
-
<img width="650" alt="Screenshot 2023-06-19 at 15 58 34" src="https://github.com/Agenta-AI/agenta/assets/4510758/eede3e78-0fe1-42a0-ad4e-d880ddb10bf0">
|
|
215
|
-
|
|
216
|
-
**3. Go to agenta at http://localhost**
|
|
217
|
-
|
|
218
|
-
Now your team can 🔄 iterate, 🧪 experiment, and ⚖️ evaluate different versions of your app (with your code!) in the web platform.</summary>
|
|
219
|
-
<br/>
|
|
220
|
-
|
|
221
|
-
<img width="900" alt="Screenshot 2023-06-25 at 21 08 53" src="https://github.com/Agenta-AI/agenta/assets/57623556/7e07a988-a36a-4fb5-99dd-9cc13a678434">
|
|
222
164
|
|
|
165
|
+
| Playground | Evaluation |
|
|
166
|
+
| ------- | ------- |
|
|
167
|
+
| Compare and version prompts for any LLM app, from single prompt to agents. <br/> <video src="https://github.com/Agenta-AI/agenta/assets/4510758/8b736d2b-7c61-414c-b534-d95efc69134c" controls="controls" style="max-width:100%;"> | Define test sets, then evaluate manually or programmatically your different variants.<br/> <video src="https://github.com/Agenta-AI/agenta/assets/4510758/8c6997c6-da87-46ad-a81f-e15e277263d2" controls="controls" style="max-width:100%;">|
|
|
168
|
+
| Human annotation | Deployment |
|
|
169
|
+
| Use Human annotator to A/B test and score your LLM apps. <br/> <img width="750" alt="Screenshot 2024-01-28 at 12 57 46" src="https://github.com/Agenta-AI/agenta/assets/4510758/bf62a697-bf19-4ba9-850e-742fbfb75424"> | When you are ready, deploy your LLM applications as APIs in one click.<br/> |
|
|
223
170
|
|
|
224
171
|
# Enterprise Support
|
|
225
172
|
Contact us here for enterprise support and early access to agenta self-managed enterprise with Kubernetes support. <br/><br/>
|
|
226
173
|
<a href="https://cal.com/mahmoud-mabrouk-ogzgey/demo"><img src="https://cal.com/book-with-cal-dark.svg" alt="Book us"></a>
|
|
227
174
|
|
|
228
175
|
# Disabling Anonymized Tracking
|
|
176
|
+
By default, Agenta automatically reports anonymized basic usage statistics. This helps us understand how Agenta is used and track its overall usage and growth. This data does not include any sensitive information.
|
|
229
177
|
|
|
230
|
-
To disable anonymized telemetry,
|
|
178
|
+
To disable anonymized telemetry, follow these steps:
|
|
231
179
|
|
|
232
180
|
- For web: Set `TELEMETRY_TRACKING_ENABLED` to `false` in your `agenta-web/.env` file.
|
|
233
181
|
- For CLI: Set `telemetry_tracking_enabled` to `false` in your `~/.agenta/config.toml` file.
|
|
234
182
|
|
|
235
|
-
After making this change, restart
|
|
183
|
+
After making this change, restart Agenta Compose.
|
|
236
184
|
|
|
237
185
|
# Contributing
|
|
238
186
|
|
|
@@ -245,7 +193,7 @@ Check out our [Contributing Guide](https://docs.agenta.ai/contributing/getting-s
|
|
|
245
193
|
## Contributors ✨
|
|
246
194
|
|
|
247
195
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
248
|
-
[](#contributors-)
|
|
249
197
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
250
198
|
|
|
251
199
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
@@ -305,6 +253,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
305
253
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/brockWith"><img src="https://avatars.githubusercontent.com/u/105627491?v=4?s=100" width="100px;" alt="brockWith"/><br /><sub><b>brockWith</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=brockWith" title="Code">💻</a></td>
|
|
306
254
|
<td align="center" valign="top" width="14.28%"><a href="http://denniszelada.wordpress.com/"><img src="https://avatars.githubusercontent.com/u/219311?v=4?s=100" width="100px;" alt="Dennis Zelada"/><br /><sub><b>Dennis Zelada</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=denniszelada" title="Code">💻</a></td>
|
|
307
255
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/romainrbr"><img src="https://avatars.githubusercontent.com/u/10381609?v=4?s=100" width="100px;" alt="Romain Brucker"/><br /><sub><b>Romain Brucker</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=romainrbr" title="Code">💻</a></td>
|
|
256
|
+
<td align="center" valign="top" width="14.28%"><a href="http://heonheo.com"><img src="https://avatars.githubusercontent.com/u/76820291?v=4?s=100" width="100px;" alt="Heon Heo"/><br /><sub><b>Heon Heo</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=HeonHeo23" title="Code">💻</a></td>
|
|
257
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Drewski2222"><img src="https://avatars.githubusercontent.com/u/39228951?v=4?s=100" width="100px;" alt="Drew Reisner"/><br /><sub><b>Drew Reisner</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=Drewski2222" title="Code">💻</a></td>
|
|
308
258
|
</tr>
|
|
309
259
|
</tbody>
|
|
310
260
|
</table>
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<a href="https://agenta.ai/">
|
|
3
3
|
<div align="center" >
|
|
4
4
|
<picture >
|
|
5
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/
|
|
6
|
-
<source media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/
|
|
5
|
+
<source width="500" media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/cdddf5ad-2352-4920-b1d9-ae7f8d9d7735" >
|
|
6
|
+
<source width="500" media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/ab75cbac-b807-496f-aab3-57463a33f726" >
|
|
7
7
|
<img alt="Shows the logo of agenta" src="https://github.com/Agenta-AI/agenta/assets/4510758/68e055d4-d7b8-4943-992f-761558c64253" >
|
|
8
8
|
</picture>
|
|
9
9
|
</div>
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
<a href="https://docs.agenta.ai/">Documentation</a>
|
|
15
15
|
</h4>
|
|
16
16
|
<div align="center">
|
|
17
|
-
<strong>
|
|
18
|
-
The open-source
|
|
17
|
+
<strong> <h2> Collaborate on prompts, evaluate, and deploy LLM applications with confidence </h2></strong>
|
|
18
|
+
The open-source LLM developer platform for prompt-engineering, evaluation, human feedback, and deployment of complex LLM apps.
|
|
19
19
|
</div>
|
|
20
20
|
</br>
|
|
21
21
|
<p align="center">
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
<a href="https://pypi.org/project/agenta/">
|
|
35
35
|
<img src="https://img.shields.io/pypi/dm/agenta" alt="PyPI - Downloads">
|
|
36
36
|
</a>
|
|
37
|
-
|
|
38
37
|
</br>
|
|
39
38
|
</p>
|
|
40
39
|
|
|
@@ -56,7 +55,7 @@
|
|
|
56
55
|
|
|
57
56
|
<a href="https://cloud.agenta.ai">
|
|
58
57
|
<picture>
|
|
59
|
-
<img src="https://github.com/Agenta-AI/agenta/assets/4510758/
|
|
58
|
+
<img src="https://github.com/Agenta-AI/agenta/assets/4510758/d622f268-c295-42d4-a43c-548b611ff6f2" />
|
|
60
59
|
</picture>
|
|
61
60
|
</a>
|
|
62
61
|
|
|
@@ -66,8 +65,8 @@
|
|
|
66
65
|
<br />
|
|
67
66
|
<div align="center" >
|
|
68
67
|
<picture >
|
|
69
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/cf6d4713-4558-4c6c-9e1b-ee4eab261f4c" >
|
|
70
|
-
<source media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/ae9cf11f-8ef9-4b67-98c7-4a40341fa87a" >
|
|
68
|
+
<source width="800" media="(prefers-color-scheme: dark)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/cf6d4713-4558-4c6c-9e1b-ee4eab261f4c" >
|
|
69
|
+
<source width="800" media="(prefers-color-scheme: light)" srcset="https://github.com/Agenta-AI/agenta/assets/4510758/ae9cf11f-8ef9-4b67-98c7-4a40341fa87a" >
|
|
71
70
|
<img alt="Mockup agenta" src="https://github.com/Agenta-AI/agenta/assets/4510758/ae9cf11f-8ef9-4b67-98c7-4a40341fa87a" >
|
|
72
71
|
</picture>
|
|
73
72
|
</div>
|
|
@@ -79,126 +78,75 @@
|
|
|
79
78
|
---
|
|
80
79
|
|
|
81
80
|
<h3 align="center">
|
|
82
|
-
<a href="#ℹ️-about"><b>About</b></a> •
|
|
83
81
|
<a href="#quick-start"><b>Quick Start</b></a> •
|
|
84
|
-
<a href="https://docs.agenta.ai/installation"><b>Installation</b></a> •
|
|
85
82
|
<a href="#features"><b>Features</b></a> •
|
|
86
83
|
<a href="https://docs.agenta.ai"><b>Documentation</b></a> •
|
|
87
84
|
<a href="#enterprise-support"><b>Enterprise</b></a> •
|
|
88
|
-
<a href="https://
|
|
85
|
+
<a href="https://github.com/orgs/Agenta-AI/projects/13"><b>Roadmap</b></a> •
|
|
86
|
+
<a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-1zsafop5i-Y7~ZySbhRZvKVPV5DO_7IA"><b>Join Our Slack</b></a> •
|
|
89
87
|
<a href="#contributing"><b>Contributing</b></a>
|
|
90
88
|
</h3>
|
|
91
89
|
|
|
92
90
|
---
|
|
93
91
|
|
|
94
|
-
#
|
|
92
|
+
# ⭐️ Why Agenta?
|
|
93
|
+
|
|
94
|
+
Agenta is an end-to-end LLM developer platform. It provides the tools for **prompt engineering and management**, ⚖️ **evaluation**, **human annotation**, and :rocket: **deployment**. All without imposing any restrictions on your choice of framework, library, or model.
|
|
95
|
+
|
|
96
|
+
Agenta allows developers and product teams to collaborate in building production-grade LLM-powered applications in less time.
|
|
97
|
+
|
|
98
|
+
### With Agenta, you can:
|
|
95
99
|
|
|
96
|
-
|
|
100
|
+
- [🧪 **Experiment** and **compare** prompts](https://docs.agenta.ai/basic_guides/prompt_engineering) on [any LLM workflow](https://docs.agenta.ai/advanced_guides/custom_applications) (chain-of-prompts, Retrieval Augmented Generation (RAG), LLM agents...)
|
|
101
|
+
- ✍️ Collect and [**annotate golden test sets**](https://docs.agenta.ai/basic_guides/test_sets) for evaluation
|
|
102
|
+
- 📈 [**Evaluate** your application](https://docs.agenta.ai/basic_guides/automatic_evaluation) with pre-existing or [**custom evaluators**](https://docs.agenta.ai/advanced_guides/using_custom_evaluators)
|
|
103
|
+
- [🔍 **Annotate** and **A/B test**](https://docs.agenta.aibasic_guides/human_evaluation) your applications with **human feedback**
|
|
104
|
+
- [🤝 **Collaborate with product teams**](https://docs.agenta.ai/basic_guides/team_management) for prompt engineering and evaluation
|
|
105
|
+
- [🚀 **Deploy your application**](https://docs.agenta.ai/basic_guides/deployment) in one-click in the UI, through CLI, or through github workflows.
|
|
97
106
|
|
|
98
|
-
|
|
107
|
+
### Works with any LLM app workflow
|
|
99
108
|
|
|
100
|
-
|
|
109
|
+
Agenta enables prompt engineering and evaluation on any LLM app architecture:
|
|
110
|
+
- Chain of prompts
|
|
111
|
+
- RAG
|
|
112
|
+
- Agents
|
|
113
|
+
- ...
|
|
101
114
|
|
|
102
|
-
|
|
103
|
-
| ------------- | ------------- |
|
|
104
|
-
|1. [Create an application using a pre-built template from our UI](https://cloud.agenta.ai?utm_source=github&utm_medium=readme&utm_campaign=github)<br />2. Access a playground where you can test and compare different prompts and configurations side-by-side.<br /> 3. Systematically evaluate your application using pre-built or custom evaluators.<br /> 4. Deploy the application to production with one click. |1. [Add a few lines to any LLM application code to automatically create a playground for it](https://docs.agenta.ai/developer_guides/tutorials/first-app-with-langchain) <br />2. Experiment with prompts and configurations, and compare them side-by-side in the playground. <br />3. Systematically evaluate your application using pre-built or custom evaluators. <br />4. Deploy the application to production with one click. |
|
|
115
|
+
It works with any framework such as [Langchain](https://langchain.com), [LlamaIndex](https://www.llamaindex.ai/) and any LLM provider (openAI, Cohere, Mistral).
|
|
105
116
|
|
|
106
|
-
|
|
117
|
+
[Jump here to see how to use your own custom application with agenta](/advanced_guides/custom_applications)
|
|
107
118
|
|
|
108
119
|
# Quick Start
|
|
109
120
|
|
|
110
|
-
### [
|
|
111
|
-
### [
|
|
112
|
-
### [Create
|
|
121
|
+
### [Get started for free](https://cloud.agenta.ai?utm_source=github&utm_medium=readme&utm_campaign=github)
|
|
122
|
+
### [Explore the Docs](https://docs.agenta.ai)
|
|
123
|
+
### [Create your first application in one-minute](https://docs.agenta.ai/quickstart/getting-started-ui)
|
|
124
|
+
### [Create an application using Langchain](https://docs.agenta.ai/tutorials/first-app-with-langchain)
|
|
113
125
|
### [Self-host agenta](https://docs.agenta.ai/self-host/host-locally)
|
|
114
|
-
### [Read the Documentation](https://docs.agenta.ai)
|
|
115
126
|
### [Check the Cookbook](https://docs.agenta.ai/cookbook)
|
|
116
127
|
|
|
117
128
|
# Features
|
|
118
129
|
|
|
119
|
-
<h3>Playground 🪄 <br/></h3>
|
|
120
|
-
With just a few lines of code, define the parameters and prompts you wish to experiment with. You and your team can quickly experiment and test new variants on the web UI. <br/>
|
|
121
|
-
|
|
122
|
-
https://github.com/Agenta-AI/agenta/assets/4510758/8b736d2b-7c61-414c-b534-d95efc69134c
|
|
123
|
-
|
|
124
|
-
<h3>Version Evaluation 📊 <br/></h3>
|
|
125
|
-
Define test sets, then evaluate manually or programmatically your different variants.<br/>
|
|
126
|
-
|
|
127
|
-

|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<h3>API Deployment 🚀<br/></h3>
|
|
131
|
-
When you are ready, deploy your LLM applications as APIs in one click.<br/>
|
|
132
|
-
|
|
133
|
-

|
|
134
|
-
|
|
135
|
-
## Why choose Agenta for building LLM-apps?
|
|
136
|
-
|
|
137
|
-
- 🔨 **Build quickly**: You need to iterate many times on different architectures and prompts to bring apps to production. We streamline this process and allow you to do this in days instead of weeks.
|
|
138
|
-
- 🏗️ **Build robust apps and reduce hallucination**: We provide you with the tools to systematically and easily evaluate your application to make sure you only serve robust apps to production.
|
|
139
|
-
- 👨💻 **Developer-centric**: We cater to complex LLM-apps and pipelines that require more than one simple prompt. We allow you to experiment and iterate on apps that have complex integration, business logic, and many prompts.
|
|
140
|
-
- 🌐 **Solution-Agnostic**: You have the freedom to use any libraries and models, be it Langchain, llma_index, or a custom-written alternative.
|
|
141
|
-
- 🔒 **Privacy-First**: We respect your privacy and do not proxy your data through third-party services. The platform and the data are hosted on your infrastructure.
|
|
142
|
-
|
|
143
|
-
## How Agenta works:
|
|
144
|
-
|
|
145
|
-
**1. Write your LLM-app code**
|
|
146
|
-
|
|
147
|
-
Write the code using any framework, library, or model you want. Add the `agenta.post` decorator and put the inputs and parameters in the function call just like in this example:
|
|
148
|
-
|
|
149
|
-
_Example simple application that generates baby names:_
|
|
150
|
-
|
|
151
|
-
```python
|
|
152
|
-
import agenta as ag
|
|
153
|
-
from langchain.chains import LLMChain
|
|
154
|
-
from langchain.llms import OpenAI
|
|
155
|
-
from langchain.prompts import PromptTemplate
|
|
156
|
-
|
|
157
|
-
default_prompt = "Give me five cool names for a baby from {country} with this gender {gender}!!!!"
|
|
158
|
-
ag.init()
|
|
159
|
-
ag.config(prompt_template=ag.TextParam(default_prompt),
|
|
160
|
-
temperature=ag.FloatParam(0.9))
|
|
161
|
-
|
|
162
|
-
@ag.entrypoint
|
|
163
|
-
def generate(
|
|
164
|
-
country: str,
|
|
165
|
-
gender: str,
|
|
166
|
-
) -> str:
|
|
167
|
-
llm = OpenAI(temperature=ag.config.temperature)
|
|
168
|
-
prompt = PromptTemplate(
|
|
169
|
-
input_variables=["country", "gender"],
|
|
170
|
-
template=ag.config.prompt_template,
|
|
171
|
-
)
|
|
172
|
-
chain = LLMChain(llm=llm, prompt=prompt)
|
|
173
|
-
output = chain.run(country=country, gender=gender)
|
|
174
|
-
|
|
175
|
-
return output
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
**2.Deploy your app using the Agenta CLI**
|
|
179
|
-
|
|
180
|
-
<img width="650" alt="Screenshot 2023-06-19 at 15 58 34" src="https://github.com/Agenta-AI/agenta/assets/4510758/eede3e78-0fe1-42a0-ad4e-d880ddb10bf0">
|
|
181
|
-
|
|
182
|
-
**3. Go to agenta at http://localhost**
|
|
183
|
-
|
|
184
|
-
Now your team can 🔄 iterate, 🧪 experiment, and ⚖️ evaluate different versions of your app (with your code!) in the web platform.</summary>
|
|
185
|
-
<br/>
|
|
186
|
-
|
|
187
|
-
<img width="900" alt="Screenshot 2023-06-25 at 21 08 53" src="https://github.com/Agenta-AI/agenta/assets/57623556/7e07a988-a36a-4fb5-99dd-9cc13a678434">
|
|
188
130
|
|
|
131
|
+
| Playground | Evaluation |
|
|
132
|
+
| ------- | ------- |
|
|
133
|
+
| Compare and version prompts for any LLM app, from single prompt to agents. <br/> <video src="https://github.com/Agenta-AI/agenta/assets/4510758/8b736d2b-7c61-414c-b534-d95efc69134c" controls="controls" style="max-width:100%;"> | Define test sets, then evaluate manually or programmatically your different variants.<br/> <video src="https://github.com/Agenta-AI/agenta/assets/4510758/8c6997c6-da87-46ad-a81f-e15e277263d2" controls="controls" style="max-width:100%;">|
|
|
134
|
+
| Human annotation | Deployment |
|
|
135
|
+
| Use Human annotator to A/B test and score your LLM apps. <br/> <img width="750" alt="Screenshot 2024-01-28 at 12 57 46" src="https://github.com/Agenta-AI/agenta/assets/4510758/bf62a697-bf19-4ba9-850e-742fbfb75424"> | When you are ready, deploy your LLM applications as APIs in one click.<br/> |
|
|
189
136
|
|
|
190
137
|
# Enterprise Support
|
|
191
138
|
Contact us here for enterprise support and early access to agenta self-managed enterprise with Kubernetes support. <br/><br/>
|
|
192
139
|
<a href="https://cal.com/mahmoud-mabrouk-ogzgey/demo"><img src="https://cal.com/book-with-cal-dark.svg" alt="Book us"></a>
|
|
193
140
|
|
|
194
141
|
# Disabling Anonymized Tracking
|
|
142
|
+
By default, Agenta automatically reports anonymized basic usage statistics. This helps us understand how Agenta is used and track its overall usage and growth. This data does not include any sensitive information.
|
|
195
143
|
|
|
196
|
-
To disable anonymized telemetry,
|
|
144
|
+
To disable anonymized telemetry, follow these steps:
|
|
197
145
|
|
|
198
146
|
- For web: Set `TELEMETRY_TRACKING_ENABLED` to `false` in your `agenta-web/.env` file.
|
|
199
147
|
- For CLI: Set `telemetry_tracking_enabled` to `false` in your `~/.agenta/config.toml` file.
|
|
200
148
|
|
|
201
|
-
After making this change, restart
|
|
149
|
+
After making this change, restart Agenta Compose.
|
|
202
150
|
|
|
203
151
|
# Contributing
|
|
204
152
|
|
|
@@ -211,7 +159,7 @@ Check out our [Contributing Guide](https://docs.agenta.ai/contributing/getting-s
|
|
|
211
159
|
## Contributors ✨
|
|
212
160
|
|
|
213
161
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
214
|
-
[](#contributors-)
|
|
215
163
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
216
164
|
|
|
217
165
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
@@ -271,6 +219,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
271
219
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/brockWith"><img src="https://avatars.githubusercontent.com/u/105627491?v=4?s=100" width="100px;" alt="brockWith"/><br /><sub><b>brockWith</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=brockWith" title="Code">💻</a></td>
|
|
272
220
|
<td align="center" valign="top" width="14.28%"><a href="http://denniszelada.wordpress.com/"><img src="https://avatars.githubusercontent.com/u/219311?v=4?s=100" width="100px;" alt="Dennis Zelada"/><br /><sub><b>Dennis Zelada</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=denniszelada" title="Code">💻</a></td>
|
|
273
221
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/romainrbr"><img src="https://avatars.githubusercontent.com/u/10381609?v=4?s=100" width="100px;" alt="Romain Brucker"/><br /><sub><b>Romain Brucker</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=romainrbr" title="Code">💻</a></td>
|
|
222
|
+
<td align="center" valign="top" width="14.28%"><a href="http://heonheo.com"><img src="https://avatars.githubusercontent.com/u/76820291?v=4?s=100" width="100px;" alt="Heon Heo"/><br /><sub><b>Heon Heo</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=HeonHeo23" title="Code">💻</a></td>
|
|
223
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Drewski2222"><img src="https://avatars.githubusercontent.com/u/39228951?v=4?s=100" width="100px;" alt="Drew Reisner"/><br /><sub><b>Drew Reisner</b></sub></a><br /><a href="https://github.com/Agenta-AI/agenta/commits?author=Drewski2222" title="Code">💻</a></td>
|
|
274
224
|
</tr>
|
|
275
225
|
</tbody>
|
|
276
226
|
</table>
|