legate 0.1.0
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.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +345 -0
- data/bin/legate +13 -0
- data/examples/00_quickstart.rb +51 -0
- data/examples/01_simple_agent.rb +105 -0
- data/examples/02_multi_tool_agent.rb +140 -0
- data/examples/03_custom_tool.rb +93 -0
- data/examples/04_agent_instructions.rb +84 -0
- data/examples/05_state_and_sessions.rb +91 -0
- data/examples/06_callbacks.rb +186 -0
- data/examples/07_async_jobs.rb +112 -0
- data/examples/08_loop_agent.rb +197 -0
- data/examples/09_sequential_workflow.rb +40 -0
- data/examples/10_parallel_workflow.rb +34 -0
- data/examples/11_agent_delegation.rb +24 -0
- data/examples/12_http_client_tool.rb +156 -0
- data/examples/13_authentication.rb +220 -0
- data/examples/14_mcp_client.rb +154 -0
- data/examples/15_mcp_server.rb +79 -0
- data/examples/16_webhooks.rb +91 -0
- data/examples/README_sequential_agents.md +164 -0
- data/examples/advanced/auth/cookie_auth_tool.rb +146 -0
- data/examples/advanced/auth/custom_auth_flows_example.rb +626 -0
- data/examples/advanced/auth/excon_middleware.rb +317 -0
- data/examples/advanced/auth/excon_middleware_auth.rb +399 -0
- data/examples/advanced/auth/fiber_auth_example.rb +281 -0
- data/examples/advanced/auth/fiber_oidc_example.rb +403 -0
- data/examples/advanced/auth/httpbin_bearer_tool.rb +159 -0
- data/examples/advanced/auth/oauth2_auth.rb +419 -0
- data/examples/advanced/auth/oidc_auth.rb +514 -0
- data/examples/advanced/auth/openweather_api.rb +251 -0
- data/examples/advanced/auth/openweather_tool.rb +153 -0
- data/examples/advanced/auth/query_param_middleware_test.rb +138 -0
- data/examples/advanced/auth/service_account.rb +135 -0
- data/examples/advanced/auth/test_with_httpbin.rb +202 -0
- data/examples/advanced/auth/token_lifecycle_example.rb +428 -0
- data/examples/advanced/callback_monitoring.rb +679 -0
- data/examples/advanced/mas/fixed_delegation_example.rb +191 -0
- data/examples/advanced/mas/loop_workflow.rb +28 -0
- data/examples/advanced/mas/mock_planner.rb +77 -0
- data/examples/advanced/mas/proper_delegation_example.rb +276 -0
- data/examples/advanced/mcp/legate_mcp_server_resource_example.rb +182 -0
- data/examples/advanced/mcp/mcp_resource_server_example.rb +309 -0
- data/examples/advanced/mcp/mcp_server_async.rb +76 -0
- data/examples/advanced/mcp/mcp_server_async_tools.rb +122 -0
- data/examples/advanced/mcp/mcp_server_legate_agent.rb +95 -0
- data/examples/advanced/mcp/mcp_server_rack.rb +89 -0
- data/examples/advanced/random_calculator.rb +104 -0
- data/examples/advanced/sleep_agent.rb +153 -0
- data/examples/advanced/webhooks/webhook_e2e_runner.rb +110 -0
- data/examples/advanced/webhooks/webhook_receiver_agent.rb +58 -0
- data/examples/advanced/workflows/task_refinement_loop_agent.rb +278 -0
- data/examples/advanced/workflows/travel_planner_auto_sequential.rb +444 -0
- data/examples/advanced/workflows/travel_planner_parallel.rb +656 -0
- data/examples/advanced/workflows/travel_planner_sequential.rb +512 -0
- data/examples/tools/oauth2_example.rb +136 -0
- data/examples/tools/sleepy_tool.rb +42 -0
- data/lib/legate/activity_log.rb +71 -0
- data/lib/legate/agent.rb +959 -0
- data/lib/legate/agent_code_generator.rb +185 -0
- data/lib/legate/agent_definition.rb +812 -0
- data/lib/legate/agentic/decision.rb +49 -0
- data/lib/legate/agentic/loop.rb +134 -0
- data/lib/legate/agentic.rb +5 -0
- data/lib/legate/agents/loop_agent.rb +248 -0
- data/lib/legate/agents/parallel_agent.rb +163 -0
- data/lib/legate/agents/sequential_agent.rb +190 -0
- data/lib/legate/agents.rb +14 -0
- data/lib/legate/auth/config.rb +148 -0
- data/lib/legate/auth/coordinator.rb +218 -0
- data/lib/legate/auth/coordinators/oauth2_coordinator.rb +99 -0
- data/lib/legate/auth/coordinators/oidc_coordinator.rb +68 -0
- data/lib/legate/auth/coordinators/service_account_coordinator.rb +122 -0
- data/lib/legate/auth/credential.rb +157 -0
- data/lib/legate/auth/encryption.rb +108 -0
- data/lib/legate/auth/error.rb +94 -0
- data/lib/legate/auth/exchanged_credential.rb +180 -0
- data/lib/legate/auth/excon_middleware.rb +285 -0
- data/lib/legate/auth/http_client_utils.rb +364 -0
- data/lib/legate/auth/manager.rb +531 -0
- data/lib/legate/auth/manager_store.rb +394 -0
- data/lib/legate/auth/middleware_factory.rb +290 -0
- data/lib/legate/auth/runner.rb +279 -0
- data/lib/legate/auth/scheme.rb +125 -0
- data/lib/legate/auth/schemes/api_key.rb +212 -0
- data/lib/legate/auth/schemes/google_service_account.rb +108 -0
- data/lib/legate/auth/schemes/http_bearer.rb +98 -0
- data/lib/legate/auth/schemes/oauth2.rb +396 -0
- data/lib/legate/auth/schemes/openid_connect.rb +346 -0
- data/lib/legate/auth/schemes/service_account.rb +388 -0
- data/lib/legate/auth/schemes.rb +40 -0
- data/lib/legate/auth/token_manager.rb +362 -0
- data/lib/legate/auth/token_store.rb +86 -0
- data/lib/legate/auth/tool_context_extension.rb +97 -0
- data/lib/legate/auth/tool_integration.rb +188 -0
- data/lib/legate/auth/url_guard.rb +81 -0
- data/lib/legate/auth.rb +453 -0
- data/lib/legate/callbacks/callback_context.rb +71 -0
- data/lib/legate/cli/agent_commands.rb +950 -0
- data/lib/legate/cli/auth_commands.rb +520 -0
- data/lib/legate/cli/base_command.rb +24 -0
- data/lib/legate/cli/deployment_commands.rb +934 -0
- data/lib/legate/cli/output_helper.rb +108 -0
- data/lib/legate/cli/session_commands.rb +138 -0
- data/lib/legate/cli/skaffold_commands.rb +223 -0
- data/lib/legate/cli/tool_commands.rb +261 -0
- data/lib/legate/cli/web_commands.rb +182 -0
- data/lib/legate/cli.rb +40 -0
- data/lib/legate/configuration/webhooks.rb +113 -0
- data/lib/legate/configuration.rb +39 -0
- data/lib/legate/definition_store.rb +23 -0
- data/lib/legate/errors.rb +118 -0
- data/lib/legate/event.rb +161 -0
- data/lib/legate/gemini_ai_beta_patch.rb +39 -0
- data/lib/legate/generators/agent_generator.rb +412 -0
- data/lib/legate/generators/code_validator.rb +48 -0
- data/lib/legate/generators/legate/install_generator.rb +35 -0
- data/lib/legate/generators/legate/templates/create_legate_tables.rb.tt +36 -0
- data/lib/legate/generators/legate/templates/initializer.rb +18 -0
- data/lib/legate/generators/runtime_tool_loader.rb +76 -0
- data/lib/legate/generators/tool_generator.rb +408 -0
- data/lib/legate/generators.rb +11 -0
- data/lib/legate/global_definition_registry.rb +506 -0
- data/lib/legate/global_tool_manager.rb +135 -0
- data/lib/legate/llm/adapter.rb +69 -0
- data/lib/legate/llm/gemini.rb +172 -0
- data/lib/legate/llm/ollama.rb +80 -0
- data/lib/legate/llm.rb +34 -0
- data/lib/legate/mcp/client.rb +320 -0
- data/lib/legate/mcp/connection/sse.rb +292 -0
- data/lib/legate/mcp/connection/stdio.rb +273 -0
- data/lib/legate/mcp/connection_manager.rb +103 -0
- data/lib/legate/mcp/server/legate_agent_adapter.rb +170 -0
- data/lib/legate/mcp/server/legate_direct_agent_adapter.rb +140 -0
- data/lib/legate/mcp/server/legate_tool_adapter.rb +119 -0
- data/lib/legate/mcp/tool_wrapper.rb +138 -0
- data/lib/legate/mcp/util/schema_converter.rb +134 -0
- data/lib/legate/mcp.rb +23 -0
- data/lib/legate/plan_executor.rb +375 -0
- data/lib/legate/planner.rb +839 -0
- data/lib/legate/rails/railtie.rb +43 -0
- data/lib/legate/rails.rb +9 -0
- data/lib/legate/redaction.rb +32 -0
- data/lib/legate/session.rb +299 -0
- data/lib/legate/session_service/active_record.rb +300 -0
- data/lib/legate/session_service/base.rb +68 -0
- data/lib/legate/session_service/event_broadcast.rb +74 -0
- data/lib/legate/session_service/in_memory.rb +188 -0
- data/lib/legate/tool/metadata_dsl.rb +122 -0
- data/lib/legate/tool.rb +276 -0
- data/lib/legate/tool_code_generator.rb +103 -0
- data/lib/legate/tool_context.rb +350 -0
- data/lib/legate/tool_loader.rb +39 -0
- data/lib/legate/tool_registry.rb +73 -0
- data/lib/legate/tool_result.rb +61 -0
- data/lib/legate/tools/agent_tool.rb +187 -0
- data/lib/legate/tools/base/http_client.rb +319 -0
- data/lib/legate/tools/base/safe_url.rb +56 -0
- data/lib/legate/tools/base_async_job_tool.rb +91 -0
- data/lib/legate/tools/calculator.rb +89 -0
- data/lib/legate/tools/cat_facts.rb +81 -0
- data/lib/legate/tools/check_job_status_tool.rb +48 -0
- data/lib/legate/tools/current_time_tool.rb +64 -0
- data/lib/legate/tools/echo.rb +43 -0
- data/lib/legate/tools/http_request_tool.rb +105 -0
- data/lib/legate/tools/random_number_tool.rb +64 -0
- data/lib/legate/tools/read_webpage_tool.rb +92 -0
- data/lib/legate/tools/sleepy_tool.rb +74 -0
- data/lib/legate/tools/webhook_tool.rb +146 -0
- data/lib/legate/version.rb +5 -0
- data/lib/legate/web/app.rb +984 -0
- data/lib/legate/web/public/css/main.css +4980 -0
- data/lib/legate/web/public/images/favicon-256.png +0 -0
- data/lib/legate/web/public/images/favicon-32.png +0 -0
- data/lib/legate/web/public/images/legate-logo-dark.png +0 -0
- data/lib/legate/web/public/images/legate-logo-light.png +0 -0
- data/lib/legate/web/public/js/legate.js +616 -0
- data/lib/legate/web/public/styles/main.scss +4402 -0
- data/lib/legate/web/routes/agent_authentication_routes.rb +530 -0
- data/lib/legate/web/routes/agent_definition_routes.rb +803 -0
- data/lib/legate/web/routes/agent_generator_routes.rb +80 -0
- data/lib/legate/web/routes/agent_interaction_routes.rb +734 -0
- data/lib/legate/web/routes/agent_runtime_routes.rb +323 -0
- data/lib/legate/web/routes/api_routes.rb +56 -0
- data/lib/legate/web/routes/authentication_routes.rb +1541 -0
- data/lib/legate/web/routes/core_routes.rb +111 -0
- data/lib/legate/web/routes/documentation_routes.rb +220 -0
- data/lib/legate/web/routes/tool_generator_routes.rb +81 -0
- data/lib/legate/web/routes/tools_ui_routes.rb +207 -0
- data/lib/legate/web/sass_compiler.rb +73 -0
- data/lib/legate/web/views/_active_session_info.slim +25 -0
- data/lib/legate/web/views/_activity_list.slim +55 -0
- data/lib/legate/web/views/_agent_card.slim +56 -0
- data/lib/legate/web/views/_agent_generator_modal.slim +382 -0
- data/lib/legate/web/views/_agent_status_controls.slim +71 -0
- data/lib/legate/web/views/_agent_tool_table.slim +74 -0
- data/lib/legate/web/views/_chat_message.slim +95 -0
- data/lib/legate/web/views/_display_agent_configuration.slim +26 -0
- data/lib/legate/web/views/_display_agent_description.slim +11 -0
- data/lib/legate/web/views/_display_agent_fallback.slim +15 -0
- data/lib/legate/web/views/_display_agent_hierarchy.slim +93 -0
- data/lib/legate/web/views/_display_agent_instruction.slim +17 -0
- data/lib/legate/web/views/_display_agent_mcp.slim +13 -0
- data/lib/legate/web/views/_display_agent_model.slim +17 -0
- data/lib/legate/web/views/_display_agent_name.slim +42 -0
- data/lib/legate/web/views/_display_agent_output_key.slim +26 -0
- data/lib/legate/web/views/_display_agent_type.slim +65 -0
- data/lib/legate/web/views/_edit_agent_configuration.slim +74 -0
- data/lib/legate/web/views/_edit_agent_description.slim +16 -0
- data/lib/legate/web/views/_edit_agent_fallback.slim +25 -0
- data/lib/legate/web/views/_edit_agent_hierarchy.slim +98 -0
- data/lib/legate/web/views/_edit_agent_instruction.slim +49 -0
- data/lib/legate/web/views/_edit_agent_mcp.slim +33 -0
- data/lib/legate/web/views/_edit_agent_model.slim +23 -0
- data/lib/legate/web/views/_edit_agent_output_key.slim +36 -0
- data/lib/legate/web/views/_edit_agent_tools.slim +40 -0
- data/lib/legate/web/views/_edit_agent_type.slim +67 -0
- data/lib/legate/web/views/_session_error.slim +4 -0
- data/lib/legate/web/views/_skeleton.slim +69 -0
- data/lib/legate/web/views/_tool_card.slim +9 -0
- data/lib/legate/web/views/_tool_generator_modal.slim +311 -0
- data/lib/legate/web/views/agent.slim +436 -0
- data/lib/legate/web/views/agent_auth.slim +562 -0
- data/lib/legate/web/views/agents.slim +369 -0
- data/lib/legate/web/views/auth.slim +112 -0
- data/lib/legate/web/views/auth_credential_detail.slim +327 -0
- data/lib/legate/web/views/auth_credentials.slim +261 -0
- data/lib/legate/web/views/auth_debug.slim +94 -0
- data/lib/legate/web/views/auth_mapping_detail.slim +151 -0
- data/lib/legate/web/views/auth_mapping_new.slim +123 -0
- data/lib/legate/web/views/auth_mappings.slim +120 -0
- data/lib/legate/web/views/auth_scheme_detail.slim +274 -0
- data/lib/legate/web/views/auth_schemes.slim +259 -0
- data/lib/legate/web/views/auth_test.slim +418 -0
- data/lib/legate/web/views/chat.slim +192 -0
- data/lib/legate/web/views/docs_index.slim +105 -0
- data/lib/legate/web/views/docs_show.slim +105 -0
- data/lib/legate/web/views/error_404.slim +5 -0
- data/lib/legate/web/views/index.slim +148 -0
- data/lib/legate/web/views/layout.slim +144 -0
- data/lib/legate/web/views/tool_detail.slim +87 -0
- data/lib/legate/web/views/tools.slim +50 -0
- data/lib/legate/web/webhook_listener.rb +367 -0
- data/lib/legate/web.rb +9 -0
- data/lib/legate.rb +220 -0
- data/public/docs/advanced/callbacks.md +828 -0
- data/public/docs/advanced/mcp_schema_conversion.md +59 -0
- data/public/docs/authentication/api_reference/config.md +210 -0
- data/public/docs/authentication/api_reference/credential.md +246 -0
- data/public/docs/authentication/api_reference/encryption.md +218 -0
- data/public/docs/authentication/api_reference/exchanged_credential.md +271 -0
- data/public/docs/authentication/api_reference/excon_middleware.md +175 -0
- data/public/docs/authentication/api_reference/index.md +30 -0
- data/public/docs/authentication/api_reference/scheme.md +250 -0
- data/public/docs/authentication/api_reference/schemes/api_key.md +175 -0
- data/public/docs/authentication/api_reference/schemes/google_service_account.md +221 -0
- data/public/docs/authentication/api_reference/schemes/http_bearer.md +169 -0
- data/public/docs/authentication/api_reference/schemes/oauth2.md +343 -0
- data/public/docs/authentication/api_reference/schemes/oidc.md +73 -0
- data/public/docs/authentication/api_reference/schemes/openid_connect.md +311 -0
- data/public/docs/authentication/api_reference/schemes/service_account.md +287 -0
- data/public/docs/authentication/api_reference/token_manager.md +221 -0
- data/public/docs/authentication/api_reference/token_store.md +146 -0
- data/public/docs/authentication/api_reference/tool_context_extension.md +166 -0
- data/public/docs/authentication/guides/api_key.md +190 -0
- data/public/docs/authentication/guides/bearer.md +172 -0
- data/public/docs/authentication/guides/configuration.md +255 -0
- data/public/docs/authentication/guides/custom_flow.md +523 -0
- data/public/docs/authentication/guides/index.md +24 -0
- data/public/docs/authentication/guides/migration.md +435 -0
- data/public/docs/authentication/guides/oauth2.md +252 -0
- data/public/docs/authentication/guides/oidc.md +241 -0
- data/public/docs/authentication/guides/overview.md +155 -0
- data/public/docs/authentication/guides/secure_storage.md +301 -0
- data/public/docs/authentication/guides/service_account.md +228 -0
- data/public/docs/authentication/guides/token_lifecycle.md +295 -0
- data/public/docs/authentication/guides/web_ui_integration.md +504 -0
- data/public/docs/authentication/index.md +58 -0
- data/public/docs/authentication/troubleshooting/credential_storage.md +550 -0
- data/public/docs/authentication/troubleshooting/environment_variables.md +540 -0
- data/public/docs/authentication/troubleshooting/index.md +11 -0
- data/public/docs/authentication/troubleshooting/oauth2_issues.md +220 -0
- data/public/docs/authentication/troubleshooting/oidc_issues.md +412 -0
- data/public/docs/authentication/troubleshooting/token_refresh.md +338 -0
- data/public/docs/cli/legate_cli_usage.md +363 -0
- data/public/docs/core_concepts/legate_agent_lifecycle.md +124 -0
- data/public/docs/core_concepts/legate_architecture_overview.md +110 -0
- data/public/docs/core_concepts/legate_configuration.md +116 -0
- data/public/docs/core_concepts/legate_definition_store.md +102 -0
- data/public/docs/core_concepts/legate_planner.md +94 -0
- data/public/docs/core_concepts/legate_session_service.md +104 -0
- data/public/docs/error_handling/legate_error_handling.md +122 -0
- data/public/docs/examples.md +199 -0
- data/public/docs/getting_started.md +111 -0
- data/public/docs/guides/agentic_agents.md +137 -0
- data/public/docs/guides/ai_code_generators.md +437 -0
- data/public/docs/guides/auto_loading.md +326 -0
- data/public/docs/guides/configuring_agent_webhooks.md +219 -0
- data/public/docs/guides/http_client_usage.md +264 -0
- data/public/docs/guides/llm_providers.md +137 -0
- data/public/docs/guides/mcp_client_integration.md +232 -0
- data/public/docs/guides/mcp_server_exposure.md +206 -0
- data/public/docs/guides/rails_integration.md +128 -0
- data/public/docs/guides/sending_outbound_webhooks.md +227 -0
- data/public/docs/guides/streaming.md +112 -0
- data/public/docs/guides/webhooks.md +288 -0
- data/public/docs/introduction.md +51 -0
- data/public/docs/multi_agent_systems/advanced_features.md +57 -0
- data/public/docs/multi_agent_systems/agent_delegation.md +190 -0
- data/public/docs/multi_agent_systems/agent_hierarchy.md +49 -0
- data/public/docs/multi_agent_systems/state_management.md +47 -0
- data/public/docs/multi_agent_systems/workflow_agents.md +72 -0
- data/public/docs/tools/legate_built_in_tools.md +332 -0
- data/public/docs/tools/legate_tools_and_registry.md +263 -0
- data/public/docs/web_ui/legate_web_ui.md +137 -0
- metadata +823 -0
metadata
ADDED
|
@@ -0,0 +1,823 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: legate
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Taylor Weibley
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: concurrent-ruby
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '1.2'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '1.2'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: dry-types
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '1.7'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.7'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: excon
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0.104'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0.104'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: fast-mcp
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '1.1'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '1.1'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: logger
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '1.5'
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '1.5'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: ostruct
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - "~>"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '0.6'
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '0.6'
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: base64
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - "~>"
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '0.2'
|
|
103
|
+
type: :runtime
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - "~>"
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0.2'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: rackup
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - "~>"
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '2.2'
|
|
117
|
+
type: :runtime
|
|
118
|
+
prerelease: false
|
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - "~>"
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '2.2'
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: thor
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
- - "~>"
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: '1.2'
|
|
131
|
+
type: :runtime
|
|
132
|
+
prerelease: false
|
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
134
|
+
requirements:
|
|
135
|
+
- - "~>"
|
|
136
|
+
- !ruby/object:Gem::Version
|
|
137
|
+
version: '1.2'
|
|
138
|
+
- !ruby/object:Gem::Dependency
|
|
139
|
+
name: faraday
|
|
140
|
+
requirement: !ruby/object:Gem::Requirement
|
|
141
|
+
requirements:
|
|
142
|
+
- - "~>"
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: '2.0'
|
|
145
|
+
type: :runtime
|
|
146
|
+
prerelease: false
|
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
148
|
+
requirements:
|
|
149
|
+
- - "~>"
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: '2.0'
|
|
152
|
+
- !ruby/object:Gem::Dependency
|
|
153
|
+
name: faraday-net_http
|
|
154
|
+
requirement: !ruby/object:Gem::Requirement
|
|
155
|
+
requirements:
|
|
156
|
+
- - "~>"
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: '3.0'
|
|
159
|
+
type: :runtime
|
|
160
|
+
prerelease: false
|
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - "~>"
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: '3.0'
|
|
166
|
+
- !ruby/object:Gem::Dependency
|
|
167
|
+
name: gemini-ai
|
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
|
169
|
+
requirements:
|
|
170
|
+
- - "~>"
|
|
171
|
+
- !ruby/object:Gem::Version
|
|
172
|
+
version: 4.2.0
|
|
173
|
+
type: :runtime
|
|
174
|
+
prerelease: false
|
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
176
|
+
requirements:
|
|
177
|
+
- - "~>"
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: 4.2.0
|
|
180
|
+
- !ruby/object:Gem::Dependency
|
|
181
|
+
name: jwt
|
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
- - "~>"
|
|
185
|
+
- !ruby/object:Gem::Version
|
|
186
|
+
version: '2.7'
|
|
187
|
+
type: :runtime
|
|
188
|
+
prerelease: false
|
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
190
|
+
requirements:
|
|
191
|
+
- - "~>"
|
|
192
|
+
- !ruby/object:Gem::Version
|
|
193
|
+
version: '2.7'
|
|
194
|
+
- !ruby/object:Gem::Dependency
|
|
195
|
+
name: kramdown
|
|
196
|
+
requirement: !ruby/object:Gem::Requirement
|
|
197
|
+
requirements:
|
|
198
|
+
- - "~>"
|
|
199
|
+
- !ruby/object:Gem::Version
|
|
200
|
+
version: '2.4'
|
|
201
|
+
type: :runtime
|
|
202
|
+
prerelease: false
|
|
203
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
204
|
+
requirements:
|
|
205
|
+
- - "~>"
|
|
206
|
+
- !ruby/object:Gem::Version
|
|
207
|
+
version: '2.4'
|
|
208
|
+
- !ruby/object:Gem::Dependency
|
|
209
|
+
name: kramdown-parser-gfm
|
|
210
|
+
requirement: !ruby/object:Gem::Requirement
|
|
211
|
+
requirements:
|
|
212
|
+
- - "~>"
|
|
213
|
+
- !ruby/object:Gem::Version
|
|
214
|
+
version: '1.1'
|
|
215
|
+
type: :runtime
|
|
216
|
+
prerelease: false
|
|
217
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
218
|
+
requirements:
|
|
219
|
+
- - "~>"
|
|
220
|
+
- !ruby/object:Gem::Version
|
|
221
|
+
version: '1.1'
|
|
222
|
+
- !ruby/object:Gem::Dependency
|
|
223
|
+
name: oauth2
|
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
|
225
|
+
requirements:
|
|
226
|
+
- - "~>"
|
|
227
|
+
- !ruby/object:Gem::Version
|
|
228
|
+
version: '2.0'
|
|
229
|
+
type: :runtime
|
|
230
|
+
prerelease: false
|
|
231
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
232
|
+
requirements:
|
|
233
|
+
- - "~>"
|
|
234
|
+
- !ruby/object:Gem::Version
|
|
235
|
+
version: '2.0'
|
|
236
|
+
- !ruby/object:Gem::Dependency
|
|
237
|
+
name: puma
|
|
238
|
+
requirement: !ruby/object:Gem::Requirement
|
|
239
|
+
requirements:
|
|
240
|
+
- - "~>"
|
|
241
|
+
- !ruby/object:Gem::Version
|
|
242
|
+
version: '7.2'
|
|
243
|
+
type: :runtime
|
|
244
|
+
prerelease: false
|
|
245
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
246
|
+
requirements:
|
|
247
|
+
- - "~>"
|
|
248
|
+
- !ruby/object:Gem::Version
|
|
249
|
+
version: '7.2'
|
|
250
|
+
- !ruby/object:Gem::Dependency
|
|
251
|
+
name: sass-embedded
|
|
252
|
+
requirement: !ruby/object:Gem::Requirement
|
|
253
|
+
requirements:
|
|
254
|
+
- - "~>"
|
|
255
|
+
- !ruby/object:Gem::Version
|
|
256
|
+
version: '1.72'
|
|
257
|
+
type: :runtime
|
|
258
|
+
prerelease: false
|
|
259
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
260
|
+
requirements:
|
|
261
|
+
- - "~>"
|
|
262
|
+
- !ruby/object:Gem::Version
|
|
263
|
+
version: '1.72'
|
|
264
|
+
- !ruby/object:Gem::Dependency
|
|
265
|
+
name: sinatra
|
|
266
|
+
requirement: !ruby/object:Gem::Requirement
|
|
267
|
+
requirements:
|
|
268
|
+
- - "~>"
|
|
269
|
+
- !ruby/object:Gem::Version
|
|
270
|
+
version: '4.1'
|
|
271
|
+
type: :runtime
|
|
272
|
+
prerelease: false
|
|
273
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
274
|
+
requirements:
|
|
275
|
+
- - "~>"
|
|
276
|
+
- !ruby/object:Gem::Version
|
|
277
|
+
version: '4.1'
|
|
278
|
+
- !ruby/object:Gem::Dependency
|
|
279
|
+
name: sinatra-contrib
|
|
280
|
+
requirement: !ruby/object:Gem::Requirement
|
|
281
|
+
requirements:
|
|
282
|
+
- - "~>"
|
|
283
|
+
- !ruby/object:Gem::Version
|
|
284
|
+
version: '4.1'
|
|
285
|
+
type: :runtime
|
|
286
|
+
prerelease: false
|
|
287
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
288
|
+
requirements:
|
|
289
|
+
- - "~>"
|
|
290
|
+
- !ruby/object:Gem::Version
|
|
291
|
+
version: '4.1'
|
|
292
|
+
- !ruby/object:Gem::Dependency
|
|
293
|
+
name: slim
|
|
294
|
+
requirement: !ruby/object:Gem::Requirement
|
|
295
|
+
requirements:
|
|
296
|
+
- - "~>"
|
|
297
|
+
- !ruby/object:Gem::Version
|
|
298
|
+
version: '5.1'
|
|
299
|
+
type: :runtime
|
|
300
|
+
prerelease: false
|
|
301
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
302
|
+
requirements:
|
|
303
|
+
- - "~>"
|
|
304
|
+
- !ruby/object:Gem::Version
|
|
305
|
+
version: '5.1'
|
|
306
|
+
- !ruby/object:Gem::Dependency
|
|
307
|
+
name: cli-ui
|
|
308
|
+
requirement: !ruby/object:Gem::Requirement
|
|
309
|
+
requirements:
|
|
310
|
+
- - "~>"
|
|
311
|
+
- !ruby/object:Gem::Version
|
|
312
|
+
version: '2.2'
|
|
313
|
+
type: :runtime
|
|
314
|
+
prerelease: false
|
|
315
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
316
|
+
requirements:
|
|
317
|
+
- - "~>"
|
|
318
|
+
- !ruby/object:Gem::Version
|
|
319
|
+
version: '2.2'
|
|
320
|
+
- !ruby/object:Gem::Dependency
|
|
321
|
+
name: rbnacl
|
|
322
|
+
requirement: !ruby/object:Gem::Requirement
|
|
323
|
+
requirements:
|
|
324
|
+
- - "~>"
|
|
325
|
+
- !ruby/object:Gem::Version
|
|
326
|
+
version: '7.1'
|
|
327
|
+
type: :development
|
|
328
|
+
prerelease: false
|
|
329
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
330
|
+
requirements:
|
|
331
|
+
- - "~>"
|
|
332
|
+
- !ruby/object:Gem::Version
|
|
333
|
+
version: '7.1'
|
|
334
|
+
- !ruby/object:Gem::Dependency
|
|
335
|
+
name: activerecord
|
|
336
|
+
requirement: !ruby/object:Gem::Requirement
|
|
337
|
+
requirements:
|
|
338
|
+
- - ">="
|
|
339
|
+
- !ruby/object:Gem::Version
|
|
340
|
+
version: '7.0'
|
|
341
|
+
type: :development
|
|
342
|
+
prerelease: false
|
|
343
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
344
|
+
requirements:
|
|
345
|
+
- - ">="
|
|
346
|
+
- !ruby/object:Gem::Version
|
|
347
|
+
version: '7.0'
|
|
348
|
+
- !ruby/object:Gem::Dependency
|
|
349
|
+
name: dotenv
|
|
350
|
+
requirement: !ruby/object:Gem::Requirement
|
|
351
|
+
requirements:
|
|
352
|
+
- - "~>"
|
|
353
|
+
- !ruby/object:Gem::Version
|
|
354
|
+
version: '3.1'
|
|
355
|
+
type: :development
|
|
356
|
+
prerelease: false
|
|
357
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
358
|
+
requirements:
|
|
359
|
+
- - "~>"
|
|
360
|
+
- !ruby/object:Gem::Version
|
|
361
|
+
version: '3.1'
|
|
362
|
+
- !ruby/object:Gem::Dependency
|
|
363
|
+
name: pry
|
|
364
|
+
requirement: !ruby/object:Gem::Requirement
|
|
365
|
+
requirements:
|
|
366
|
+
- - "~>"
|
|
367
|
+
- !ruby/object:Gem::Version
|
|
368
|
+
version: '0.14'
|
|
369
|
+
type: :development
|
|
370
|
+
prerelease: false
|
|
371
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
372
|
+
requirements:
|
|
373
|
+
- - "~>"
|
|
374
|
+
- !ruby/object:Gem::Version
|
|
375
|
+
version: '0.14'
|
|
376
|
+
- !ruby/object:Gem::Dependency
|
|
377
|
+
name: railties
|
|
378
|
+
requirement: !ruby/object:Gem::Requirement
|
|
379
|
+
requirements:
|
|
380
|
+
- - ">="
|
|
381
|
+
- !ruby/object:Gem::Version
|
|
382
|
+
version: '7.0'
|
|
383
|
+
type: :development
|
|
384
|
+
prerelease: false
|
|
385
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
386
|
+
requirements:
|
|
387
|
+
- - ">="
|
|
388
|
+
- !ruby/object:Gem::Version
|
|
389
|
+
version: '7.0'
|
|
390
|
+
- !ruby/object:Gem::Dependency
|
|
391
|
+
name: rake
|
|
392
|
+
requirement: !ruby/object:Gem::Requirement
|
|
393
|
+
requirements:
|
|
394
|
+
- - "~>"
|
|
395
|
+
- !ruby/object:Gem::Version
|
|
396
|
+
version: '13.0'
|
|
397
|
+
type: :development
|
|
398
|
+
prerelease: false
|
|
399
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
400
|
+
requirements:
|
|
401
|
+
- - "~>"
|
|
402
|
+
- !ruby/object:Gem::Version
|
|
403
|
+
version: '13.0'
|
|
404
|
+
- !ruby/object:Gem::Dependency
|
|
405
|
+
name: rspec
|
|
406
|
+
requirement: !ruby/object:Gem::Requirement
|
|
407
|
+
requirements:
|
|
408
|
+
- - "~>"
|
|
409
|
+
- !ruby/object:Gem::Version
|
|
410
|
+
version: '3.12'
|
|
411
|
+
type: :development
|
|
412
|
+
prerelease: false
|
|
413
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
414
|
+
requirements:
|
|
415
|
+
- - "~>"
|
|
416
|
+
- !ruby/object:Gem::Version
|
|
417
|
+
version: '3.12'
|
|
418
|
+
- !ruby/object:Gem::Dependency
|
|
419
|
+
name: simplecov
|
|
420
|
+
requirement: !ruby/object:Gem::Requirement
|
|
421
|
+
requirements:
|
|
422
|
+
- - "~>"
|
|
423
|
+
- !ruby/object:Gem::Version
|
|
424
|
+
version: '0.21'
|
|
425
|
+
type: :development
|
|
426
|
+
prerelease: false
|
|
427
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
428
|
+
requirements:
|
|
429
|
+
- - "~>"
|
|
430
|
+
- !ruby/object:Gem::Version
|
|
431
|
+
version: '0.21'
|
|
432
|
+
- !ruby/object:Gem::Dependency
|
|
433
|
+
name: sqlite3
|
|
434
|
+
requirement: !ruby/object:Gem::Requirement
|
|
435
|
+
requirements:
|
|
436
|
+
- - ">="
|
|
437
|
+
- !ruby/object:Gem::Version
|
|
438
|
+
version: '1.6'
|
|
439
|
+
type: :development
|
|
440
|
+
prerelease: false
|
|
441
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
442
|
+
requirements:
|
|
443
|
+
- - ">="
|
|
444
|
+
- !ruby/object:Gem::Version
|
|
445
|
+
version: '1.6'
|
|
446
|
+
- !ruby/object:Gem::Dependency
|
|
447
|
+
name: timecop
|
|
448
|
+
requirement: !ruby/object:Gem::Requirement
|
|
449
|
+
requirements:
|
|
450
|
+
- - "~>"
|
|
451
|
+
- !ruby/object:Gem::Version
|
|
452
|
+
version: '0.9'
|
|
453
|
+
type: :development
|
|
454
|
+
prerelease: false
|
|
455
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
456
|
+
requirements:
|
|
457
|
+
- - "~>"
|
|
458
|
+
- !ruby/object:Gem::Version
|
|
459
|
+
version: '0.9'
|
|
460
|
+
- !ruby/object:Gem::Dependency
|
|
461
|
+
name: webmock
|
|
462
|
+
requirement: !ruby/object:Gem::Requirement
|
|
463
|
+
requirements:
|
|
464
|
+
- - "~>"
|
|
465
|
+
- !ruby/object:Gem::Version
|
|
466
|
+
version: '3.18'
|
|
467
|
+
type: :development
|
|
468
|
+
prerelease: false
|
|
469
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
470
|
+
requirements:
|
|
471
|
+
- - "~>"
|
|
472
|
+
- !ruby/object:Gem::Version
|
|
473
|
+
version: '3.18'
|
|
474
|
+
description: A framework for building and managing AI agents in Ruby, with support
|
|
475
|
+
for tools, planning, sessions, and integrations.
|
|
476
|
+
email:
|
|
477
|
+
- taylor@taylorw.com
|
|
478
|
+
executables:
|
|
479
|
+
- legate
|
|
480
|
+
extensions: []
|
|
481
|
+
extra_rdoc_files: []
|
|
482
|
+
files:
|
|
483
|
+
- LICENSE
|
|
484
|
+
- README.md
|
|
485
|
+
- bin/legate
|
|
486
|
+
- examples/00_quickstart.rb
|
|
487
|
+
- examples/01_simple_agent.rb
|
|
488
|
+
- examples/02_multi_tool_agent.rb
|
|
489
|
+
- examples/03_custom_tool.rb
|
|
490
|
+
- examples/04_agent_instructions.rb
|
|
491
|
+
- examples/05_state_and_sessions.rb
|
|
492
|
+
- examples/06_callbacks.rb
|
|
493
|
+
- examples/07_async_jobs.rb
|
|
494
|
+
- examples/08_loop_agent.rb
|
|
495
|
+
- examples/09_sequential_workflow.rb
|
|
496
|
+
- examples/10_parallel_workflow.rb
|
|
497
|
+
- examples/11_agent_delegation.rb
|
|
498
|
+
- examples/12_http_client_tool.rb
|
|
499
|
+
- examples/13_authentication.rb
|
|
500
|
+
- examples/14_mcp_client.rb
|
|
501
|
+
- examples/15_mcp_server.rb
|
|
502
|
+
- examples/16_webhooks.rb
|
|
503
|
+
- examples/README_sequential_agents.md
|
|
504
|
+
- examples/advanced/auth/cookie_auth_tool.rb
|
|
505
|
+
- examples/advanced/auth/custom_auth_flows_example.rb
|
|
506
|
+
- examples/advanced/auth/excon_middleware.rb
|
|
507
|
+
- examples/advanced/auth/excon_middleware_auth.rb
|
|
508
|
+
- examples/advanced/auth/fiber_auth_example.rb
|
|
509
|
+
- examples/advanced/auth/fiber_oidc_example.rb
|
|
510
|
+
- examples/advanced/auth/httpbin_bearer_tool.rb
|
|
511
|
+
- examples/advanced/auth/oauth2_auth.rb
|
|
512
|
+
- examples/advanced/auth/oidc_auth.rb
|
|
513
|
+
- examples/advanced/auth/openweather_api.rb
|
|
514
|
+
- examples/advanced/auth/openweather_tool.rb
|
|
515
|
+
- examples/advanced/auth/query_param_middleware_test.rb
|
|
516
|
+
- examples/advanced/auth/service_account.rb
|
|
517
|
+
- examples/advanced/auth/test_with_httpbin.rb
|
|
518
|
+
- examples/advanced/auth/token_lifecycle_example.rb
|
|
519
|
+
- examples/advanced/callback_monitoring.rb
|
|
520
|
+
- examples/advanced/mas/fixed_delegation_example.rb
|
|
521
|
+
- examples/advanced/mas/loop_workflow.rb
|
|
522
|
+
- examples/advanced/mas/mock_planner.rb
|
|
523
|
+
- examples/advanced/mas/proper_delegation_example.rb
|
|
524
|
+
- examples/advanced/mcp/legate_mcp_server_resource_example.rb
|
|
525
|
+
- examples/advanced/mcp/mcp_resource_server_example.rb
|
|
526
|
+
- examples/advanced/mcp/mcp_server_async.rb
|
|
527
|
+
- examples/advanced/mcp/mcp_server_async_tools.rb
|
|
528
|
+
- examples/advanced/mcp/mcp_server_legate_agent.rb
|
|
529
|
+
- examples/advanced/mcp/mcp_server_rack.rb
|
|
530
|
+
- examples/advanced/random_calculator.rb
|
|
531
|
+
- examples/advanced/sleep_agent.rb
|
|
532
|
+
- examples/advanced/webhooks/webhook_e2e_runner.rb
|
|
533
|
+
- examples/advanced/webhooks/webhook_receiver_agent.rb
|
|
534
|
+
- examples/advanced/workflows/task_refinement_loop_agent.rb
|
|
535
|
+
- examples/advanced/workflows/travel_planner_auto_sequential.rb
|
|
536
|
+
- examples/advanced/workflows/travel_planner_parallel.rb
|
|
537
|
+
- examples/advanced/workflows/travel_planner_sequential.rb
|
|
538
|
+
- examples/tools/oauth2_example.rb
|
|
539
|
+
- examples/tools/sleepy_tool.rb
|
|
540
|
+
- lib/legate.rb
|
|
541
|
+
- lib/legate/activity_log.rb
|
|
542
|
+
- lib/legate/agent.rb
|
|
543
|
+
- lib/legate/agent_code_generator.rb
|
|
544
|
+
- lib/legate/agent_definition.rb
|
|
545
|
+
- lib/legate/agentic.rb
|
|
546
|
+
- lib/legate/agentic/decision.rb
|
|
547
|
+
- lib/legate/agentic/loop.rb
|
|
548
|
+
- lib/legate/agents.rb
|
|
549
|
+
- lib/legate/agents/loop_agent.rb
|
|
550
|
+
- lib/legate/agents/parallel_agent.rb
|
|
551
|
+
- lib/legate/agents/sequential_agent.rb
|
|
552
|
+
- lib/legate/auth.rb
|
|
553
|
+
- lib/legate/auth/config.rb
|
|
554
|
+
- lib/legate/auth/coordinator.rb
|
|
555
|
+
- lib/legate/auth/coordinators/oauth2_coordinator.rb
|
|
556
|
+
- lib/legate/auth/coordinators/oidc_coordinator.rb
|
|
557
|
+
- lib/legate/auth/coordinators/service_account_coordinator.rb
|
|
558
|
+
- lib/legate/auth/credential.rb
|
|
559
|
+
- lib/legate/auth/encryption.rb
|
|
560
|
+
- lib/legate/auth/error.rb
|
|
561
|
+
- lib/legate/auth/exchanged_credential.rb
|
|
562
|
+
- lib/legate/auth/excon_middleware.rb
|
|
563
|
+
- lib/legate/auth/http_client_utils.rb
|
|
564
|
+
- lib/legate/auth/manager.rb
|
|
565
|
+
- lib/legate/auth/manager_store.rb
|
|
566
|
+
- lib/legate/auth/middleware_factory.rb
|
|
567
|
+
- lib/legate/auth/runner.rb
|
|
568
|
+
- lib/legate/auth/scheme.rb
|
|
569
|
+
- lib/legate/auth/schemes.rb
|
|
570
|
+
- lib/legate/auth/schemes/api_key.rb
|
|
571
|
+
- lib/legate/auth/schemes/google_service_account.rb
|
|
572
|
+
- lib/legate/auth/schemes/http_bearer.rb
|
|
573
|
+
- lib/legate/auth/schemes/oauth2.rb
|
|
574
|
+
- lib/legate/auth/schemes/openid_connect.rb
|
|
575
|
+
- lib/legate/auth/schemes/service_account.rb
|
|
576
|
+
- lib/legate/auth/token_manager.rb
|
|
577
|
+
- lib/legate/auth/token_store.rb
|
|
578
|
+
- lib/legate/auth/tool_context_extension.rb
|
|
579
|
+
- lib/legate/auth/tool_integration.rb
|
|
580
|
+
- lib/legate/auth/url_guard.rb
|
|
581
|
+
- lib/legate/callbacks/callback_context.rb
|
|
582
|
+
- lib/legate/cli.rb
|
|
583
|
+
- lib/legate/cli/agent_commands.rb
|
|
584
|
+
- lib/legate/cli/auth_commands.rb
|
|
585
|
+
- lib/legate/cli/base_command.rb
|
|
586
|
+
- lib/legate/cli/deployment_commands.rb
|
|
587
|
+
- lib/legate/cli/output_helper.rb
|
|
588
|
+
- lib/legate/cli/session_commands.rb
|
|
589
|
+
- lib/legate/cli/skaffold_commands.rb
|
|
590
|
+
- lib/legate/cli/tool_commands.rb
|
|
591
|
+
- lib/legate/cli/web_commands.rb
|
|
592
|
+
- lib/legate/configuration.rb
|
|
593
|
+
- lib/legate/configuration/webhooks.rb
|
|
594
|
+
- lib/legate/definition_store.rb
|
|
595
|
+
- lib/legate/errors.rb
|
|
596
|
+
- lib/legate/event.rb
|
|
597
|
+
- lib/legate/gemini_ai_beta_patch.rb
|
|
598
|
+
- lib/legate/generators.rb
|
|
599
|
+
- lib/legate/generators/agent_generator.rb
|
|
600
|
+
- lib/legate/generators/code_validator.rb
|
|
601
|
+
- lib/legate/generators/legate/install_generator.rb
|
|
602
|
+
- lib/legate/generators/legate/templates/create_legate_tables.rb.tt
|
|
603
|
+
- lib/legate/generators/legate/templates/initializer.rb
|
|
604
|
+
- lib/legate/generators/runtime_tool_loader.rb
|
|
605
|
+
- lib/legate/generators/tool_generator.rb
|
|
606
|
+
- lib/legate/global_definition_registry.rb
|
|
607
|
+
- lib/legate/global_tool_manager.rb
|
|
608
|
+
- lib/legate/llm.rb
|
|
609
|
+
- lib/legate/llm/adapter.rb
|
|
610
|
+
- lib/legate/llm/gemini.rb
|
|
611
|
+
- lib/legate/llm/ollama.rb
|
|
612
|
+
- lib/legate/mcp.rb
|
|
613
|
+
- lib/legate/mcp/client.rb
|
|
614
|
+
- lib/legate/mcp/connection/sse.rb
|
|
615
|
+
- lib/legate/mcp/connection/stdio.rb
|
|
616
|
+
- lib/legate/mcp/connection_manager.rb
|
|
617
|
+
- lib/legate/mcp/server/legate_agent_adapter.rb
|
|
618
|
+
- lib/legate/mcp/server/legate_direct_agent_adapter.rb
|
|
619
|
+
- lib/legate/mcp/server/legate_tool_adapter.rb
|
|
620
|
+
- lib/legate/mcp/tool_wrapper.rb
|
|
621
|
+
- lib/legate/mcp/util/schema_converter.rb
|
|
622
|
+
- lib/legate/plan_executor.rb
|
|
623
|
+
- lib/legate/planner.rb
|
|
624
|
+
- lib/legate/rails.rb
|
|
625
|
+
- lib/legate/rails/railtie.rb
|
|
626
|
+
- lib/legate/redaction.rb
|
|
627
|
+
- lib/legate/session.rb
|
|
628
|
+
- lib/legate/session_service/active_record.rb
|
|
629
|
+
- lib/legate/session_service/base.rb
|
|
630
|
+
- lib/legate/session_service/event_broadcast.rb
|
|
631
|
+
- lib/legate/session_service/in_memory.rb
|
|
632
|
+
- lib/legate/tool.rb
|
|
633
|
+
- lib/legate/tool/metadata_dsl.rb
|
|
634
|
+
- lib/legate/tool_code_generator.rb
|
|
635
|
+
- lib/legate/tool_context.rb
|
|
636
|
+
- lib/legate/tool_loader.rb
|
|
637
|
+
- lib/legate/tool_registry.rb
|
|
638
|
+
- lib/legate/tool_result.rb
|
|
639
|
+
- lib/legate/tools/agent_tool.rb
|
|
640
|
+
- lib/legate/tools/base/http_client.rb
|
|
641
|
+
- lib/legate/tools/base/safe_url.rb
|
|
642
|
+
- lib/legate/tools/base_async_job_tool.rb
|
|
643
|
+
- lib/legate/tools/calculator.rb
|
|
644
|
+
- lib/legate/tools/cat_facts.rb
|
|
645
|
+
- lib/legate/tools/check_job_status_tool.rb
|
|
646
|
+
- lib/legate/tools/current_time_tool.rb
|
|
647
|
+
- lib/legate/tools/echo.rb
|
|
648
|
+
- lib/legate/tools/http_request_tool.rb
|
|
649
|
+
- lib/legate/tools/random_number_tool.rb
|
|
650
|
+
- lib/legate/tools/read_webpage_tool.rb
|
|
651
|
+
- lib/legate/tools/sleepy_tool.rb
|
|
652
|
+
- lib/legate/tools/webhook_tool.rb
|
|
653
|
+
- lib/legate/version.rb
|
|
654
|
+
- lib/legate/web.rb
|
|
655
|
+
- lib/legate/web/app.rb
|
|
656
|
+
- lib/legate/web/public/css/main.css
|
|
657
|
+
- lib/legate/web/public/images/favicon-256.png
|
|
658
|
+
- lib/legate/web/public/images/favicon-32.png
|
|
659
|
+
- lib/legate/web/public/images/legate-logo-dark.png
|
|
660
|
+
- lib/legate/web/public/images/legate-logo-light.png
|
|
661
|
+
- lib/legate/web/public/js/legate.js
|
|
662
|
+
- lib/legate/web/public/styles/main.scss
|
|
663
|
+
- lib/legate/web/routes/agent_authentication_routes.rb
|
|
664
|
+
- lib/legate/web/routes/agent_definition_routes.rb
|
|
665
|
+
- lib/legate/web/routes/agent_generator_routes.rb
|
|
666
|
+
- lib/legate/web/routes/agent_interaction_routes.rb
|
|
667
|
+
- lib/legate/web/routes/agent_runtime_routes.rb
|
|
668
|
+
- lib/legate/web/routes/api_routes.rb
|
|
669
|
+
- lib/legate/web/routes/authentication_routes.rb
|
|
670
|
+
- lib/legate/web/routes/core_routes.rb
|
|
671
|
+
- lib/legate/web/routes/documentation_routes.rb
|
|
672
|
+
- lib/legate/web/routes/tool_generator_routes.rb
|
|
673
|
+
- lib/legate/web/routes/tools_ui_routes.rb
|
|
674
|
+
- lib/legate/web/sass_compiler.rb
|
|
675
|
+
- lib/legate/web/views/_active_session_info.slim
|
|
676
|
+
- lib/legate/web/views/_activity_list.slim
|
|
677
|
+
- lib/legate/web/views/_agent_card.slim
|
|
678
|
+
- lib/legate/web/views/_agent_generator_modal.slim
|
|
679
|
+
- lib/legate/web/views/_agent_status_controls.slim
|
|
680
|
+
- lib/legate/web/views/_agent_tool_table.slim
|
|
681
|
+
- lib/legate/web/views/_chat_message.slim
|
|
682
|
+
- lib/legate/web/views/_display_agent_configuration.slim
|
|
683
|
+
- lib/legate/web/views/_display_agent_description.slim
|
|
684
|
+
- lib/legate/web/views/_display_agent_fallback.slim
|
|
685
|
+
- lib/legate/web/views/_display_agent_hierarchy.slim
|
|
686
|
+
- lib/legate/web/views/_display_agent_instruction.slim
|
|
687
|
+
- lib/legate/web/views/_display_agent_mcp.slim
|
|
688
|
+
- lib/legate/web/views/_display_agent_model.slim
|
|
689
|
+
- lib/legate/web/views/_display_agent_name.slim
|
|
690
|
+
- lib/legate/web/views/_display_agent_output_key.slim
|
|
691
|
+
- lib/legate/web/views/_display_agent_type.slim
|
|
692
|
+
- lib/legate/web/views/_edit_agent_configuration.slim
|
|
693
|
+
- lib/legate/web/views/_edit_agent_description.slim
|
|
694
|
+
- lib/legate/web/views/_edit_agent_fallback.slim
|
|
695
|
+
- lib/legate/web/views/_edit_agent_hierarchy.slim
|
|
696
|
+
- lib/legate/web/views/_edit_agent_instruction.slim
|
|
697
|
+
- lib/legate/web/views/_edit_agent_mcp.slim
|
|
698
|
+
- lib/legate/web/views/_edit_agent_model.slim
|
|
699
|
+
- lib/legate/web/views/_edit_agent_output_key.slim
|
|
700
|
+
- lib/legate/web/views/_edit_agent_tools.slim
|
|
701
|
+
- lib/legate/web/views/_edit_agent_type.slim
|
|
702
|
+
- lib/legate/web/views/_session_error.slim
|
|
703
|
+
- lib/legate/web/views/_skeleton.slim
|
|
704
|
+
- lib/legate/web/views/_tool_card.slim
|
|
705
|
+
- lib/legate/web/views/_tool_generator_modal.slim
|
|
706
|
+
- lib/legate/web/views/agent.slim
|
|
707
|
+
- lib/legate/web/views/agent_auth.slim
|
|
708
|
+
- lib/legate/web/views/agents.slim
|
|
709
|
+
- lib/legate/web/views/auth.slim
|
|
710
|
+
- lib/legate/web/views/auth_credential_detail.slim
|
|
711
|
+
- lib/legate/web/views/auth_credentials.slim
|
|
712
|
+
- lib/legate/web/views/auth_debug.slim
|
|
713
|
+
- lib/legate/web/views/auth_mapping_detail.slim
|
|
714
|
+
- lib/legate/web/views/auth_mapping_new.slim
|
|
715
|
+
- lib/legate/web/views/auth_mappings.slim
|
|
716
|
+
- lib/legate/web/views/auth_scheme_detail.slim
|
|
717
|
+
- lib/legate/web/views/auth_schemes.slim
|
|
718
|
+
- lib/legate/web/views/auth_test.slim
|
|
719
|
+
- lib/legate/web/views/chat.slim
|
|
720
|
+
- lib/legate/web/views/docs_index.slim
|
|
721
|
+
- lib/legate/web/views/docs_show.slim
|
|
722
|
+
- lib/legate/web/views/error_404.slim
|
|
723
|
+
- lib/legate/web/views/index.slim
|
|
724
|
+
- lib/legate/web/views/layout.slim
|
|
725
|
+
- lib/legate/web/views/tool_detail.slim
|
|
726
|
+
- lib/legate/web/views/tools.slim
|
|
727
|
+
- lib/legate/web/webhook_listener.rb
|
|
728
|
+
- public/docs/advanced/callbacks.md
|
|
729
|
+
- public/docs/advanced/mcp_schema_conversion.md
|
|
730
|
+
- public/docs/authentication/api_reference/config.md
|
|
731
|
+
- public/docs/authentication/api_reference/credential.md
|
|
732
|
+
- public/docs/authentication/api_reference/encryption.md
|
|
733
|
+
- public/docs/authentication/api_reference/exchanged_credential.md
|
|
734
|
+
- public/docs/authentication/api_reference/excon_middleware.md
|
|
735
|
+
- public/docs/authentication/api_reference/index.md
|
|
736
|
+
- public/docs/authentication/api_reference/scheme.md
|
|
737
|
+
- public/docs/authentication/api_reference/schemes/api_key.md
|
|
738
|
+
- public/docs/authentication/api_reference/schemes/google_service_account.md
|
|
739
|
+
- public/docs/authentication/api_reference/schemes/http_bearer.md
|
|
740
|
+
- public/docs/authentication/api_reference/schemes/oauth2.md
|
|
741
|
+
- public/docs/authentication/api_reference/schemes/oidc.md
|
|
742
|
+
- public/docs/authentication/api_reference/schemes/openid_connect.md
|
|
743
|
+
- public/docs/authentication/api_reference/schemes/service_account.md
|
|
744
|
+
- public/docs/authentication/api_reference/token_manager.md
|
|
745
|
+
- public/docs/authentication/api_reference/token_store.md
|
|
746
|
+
- public/docs/authentication/api_reference/tool_context_extension.md
|
|
747
|
+
- public/docs/authentication/guides/api_key.md
|
|
748
|
+
- public/docs/authentication/guides/bearer.md
|
|
749
|
+
- public/docs/authentication/guides/configuration.md
|
|
750
|
+
- public/docs/authentication/guides/custom_flow.md
|
|
751
|
+
- public/docs/authentication/guides/index.md
|
|
752
|
+
- public/docs/authentication/guides/migration.md
|
|
753
|
+
- public/docs/authentication/guides/oauth2.md
|
|
754
|
+
- public/docs/authentication/guides/oidc.md
|
|
755
|
+
- public/docs/authentication/guides/overview.md
|
|
756
|
+
- public/docs/authentication/guides/secure_storage.md
|
|
757
|
+
- public/docs/authentication/guides/service_account.md
|
|
758
|
+
- public/docs/authentication/guides/token_lifecycle.md
|
|
759
|
+
- public/docs/authentication/guides/web_ui_integration.md
|
|
760
|
+
- public/docs/authentication/index.md
|
|
761
|
+
- public/docs/authentication/troubleshooting/credential_storage.md
|
|
762
|
+
- public/docs/authentication/troubleshooting/environment_variables.md
|
|
763
|
+
- public/docs/authentication/troubleshooting/index.md
|
|
764
|
+
- public/docs/authentication/troubleshooting/oauth2_issues.md
|
|
765
|
+
- public/docs/authentication/troubleshooting/oidc_issues.md
|
|
766
|
+
- public/docs/authentication/troubleshooting/token_refresh.md
|
|
767
|
+
- public/docs/cli/legate_cli_usage.md
|
|
768
|
+
- public/docs/core_concepts/legate_agent_lifecycle.md
|
|
769
|
+
- public/docs/core_concepts/legate_architecture_overview.md
|
|
770
|
+
- public/docs/core_concepts/legate_configuration.md
|
|
771
|
+
- public/docs/core_concepts/legate_definition_store.md
|
|
772
|
+
- public/docs/core_concepts/legate_planner.md
|
|
773
|
+
- public/docs/core_concepts/legate_session_service.md
|
|
774
|
+
- public/docs/error_handling/legate_error_handling.md
|
|
775
|
+
- public/docs/examples.md
|
|
776
|
+
- public/docs/getting_started.md
|
|
777
|
+
- public/docs/guides/agentic_agents.md
|
|
778
|
+
- public/docs/guides/ai_code_generators.md
|
|
779
|
+
- public/docs/guides/auto_loading.md
|
|
780
|
+
- public/docs/guides/configuring_agent_webhooks.md
|
|
781
|
+
- public/docs/guides/http_client_usage.md
|
|
782
|
+
- public/docs/guides/llm_providers.md
|
|
783
|
+
- public/docs/guides/mcp_client_integration.md
|
|
784
|
+
- public/docs/guides/mcp_server_exposure.md
|
|
785
|
+
- public/docs/guides/rails_integration.md
|
|
786
|
+
- public/docs/guides/sending_outbound_webhooks.md
|
|
787
|
+
- public/docs/guides/streaming.md
|
|
788
|
+
- public/docs/guides/webhooks.md
|
|
789
|
+
- public/docs/introduction.md
|
|
790
|
+
- public/docs/multi_agent_systems/advanced_features.md
|
|
791
|
+
- public/docs/multi_agent_systems/agent_delegation.md
|
|
792
|
+
- public/docs/multi_agent_systems/agent_hierarchy.md
|
|
793
|
+
- public/docs/multi_agent_systems/state_management.md
|
|
794
|
+
- public/docs/multi_agent_systems/workflow_agents.md
|
|
795
|
+
- public/docs/tools/legate_built_in_tools.md
|
|
796
|
+
- public/docs/tools/legate_tools_and_registry.md
|
|
797
|
+
- public/docs/web_ui/legate_web_ui.md
|
|
798
|
+
homepage: https://github.com/tweibley/legate
|
|
799
|
+
licenses:
|
|
800
|
+
- MIT
|
|
801
|
+
metadata:
|
|
802
|
+
source_code_uri: https://github.com/tweibley/legate
|
|
803
|
+
changelog_uri: https://github.com/tweibley/legate/blob/main/CHANGELOG.md
|
|
804
|
+
bug_tracker_uri: https://github.com/tweibley/legate/issues
|
|
805
|
+
rubygems_mfa_required: 'true'
|
|
806
|
+
rdoc_options: []
|
|
807
|
+
require_paths:
|
|
808
|
+
- lib
|
|
809
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
810
|
+
requirements:
|
|
811
|
+
- - ">="
|
|
812
|
+
- !ruby/object:Gem::Version
|
|
813
|
+
version: 3.4.0
|
|
814
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
815
|
+
requirements:
|
|
816
|
+
- - ">="
|
|
817
|
+
- !ruby/object:Gem::Version
|
|
818
|
+
version: '0'
|
|
819
|
+
requirements: []
|
|
820
|
+
rubygems_version: 3.6.7
|
|
821
|
+
specification_version: 4
|
|
822
|
+
summary: Legate — AI Agent Framework for Ruby
|
|
823
|
+
test_files: []
|