10xgraph-api 0.9.0__tar.gz → 1.0.0__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.
Files changed (326) hide show
  1. 10xgraph_api-1.0.0/10xgraph.json +17 -0
  2. 10xgraph_api-1.0.0/10xgraph_api.egg-info/PKG-INFO +342 -0
  3. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/SOURCES.txt +56 -15
  4. 10xgraph_api-1.0.0/10xgraph_api.egg-info/requires.txt +70 -0
  5. 10xgraph_api-1.0.0/CHANGELOG.md +1534 -0
  6. 10xgraph_api-1.0.0/PKG-INFO +342 -0
  7. 10xgraph_api-1.0.0/README.md +259 -0
  8. 10xgraph_api-1.0.0/RELEASE_NOTES.md +91 -0
  9. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/SECURITY.md +17 -21
  10. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/pyproject.toml +50 -14
  11. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/__init__.py +19 -0
  12. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/__init__.py +3 -1
  13. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/api.py +35 -0
  14. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/audit.py +89 -3
  15. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/build.py +405 -0
  16. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/build_prompts.py +74 -0
  17. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/config.py +18 -0
  18. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/eval.py +138 -23
  19. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/init.py +460 -0
  20. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/init_context.py +406 -0
  21. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/init_prompts.py +106 -0
  22. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/revoke.py +106 -0
  23. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/skills.py +164 -30
  24. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/test.py +1 -1
  25. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/worker.py +118 -0
  26. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/schema.py +1484 -0
  27. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/static/app.css +2 -0
  28. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/static/app.js +3 -0
  29. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/validation.py +590 -0
  30. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/config.py +7 -6
  31. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/steps.py +36 -0
  32. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/validation.py +4 -3
  33. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/main.py +184 -21
  34. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/defaults.py +1012 -0
  35. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/dev/graph/agent.py +23 -1
  36. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/dev/requirements.txt +2 -0
  37. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/.env.example +40 -6
  38. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/10xgraph.json +41 -0
  39. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/auth/agent_auth.py +18 -3
  40. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/evals/user_simulator_eval.py +11 -11
  41. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/evals/weather_agents_eval.py +73 -0
  42. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/graph/agent.py +110 -0
  43. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/tools/weather_tool.py +23 -1
  44. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/validators.py +1 -6
  45. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/tests/conftest.py +16 -0
  46. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/tests/test_catalog_tools.py +8 -0
  47. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/worker/tasks.py +45 -0
  48. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/SKILL.md +17 -7
  49. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/agents-and-tools.md +80 -6
  50. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/api-client.md +1 -1
  51. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/api-configuration.md +95 -0
  52. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/api-settings-and-middleware.md +22 -7
  53. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/architecture.md +2 -2
  54. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/auth-and-authorization.md +159 -0
  55. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/callbacks-and-command.md +1 -1
  56. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/checkpointing-and-threads.md +3 -2
  57. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/cli-commands.md +101 -0
  58. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/client-messages-invoke-stream.md +1 -1
  59. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/dependency-injection.md +1 -2
  60. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/evaluation.md +31 -6
  61. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/id-and-thread-name-generators.md +103 -0
  62. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/memory-and-store.md +105 -0
  63. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/prebuilt-agents-and-tools.md +105 -17
  64. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/production-runtime.md +2 -2
  65. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/publishers-and-runtime-protocols.md +113 -0
  66. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/rate-limiting.md +170 -0
  67. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/realtime.md +4 -4
  68. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/rest-api-and-errors.md +4 -3
  69. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/state-and-messages.md +1 -1
  70. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/blocks/10xgraph.block.md +18 -0
  71. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/copilot/10xgraph.instructions.md +10 -7
  72. 10xgraph_api-1.0.0/tenxgraph_api/jobs/__init__.py +29 -0
  73. 10xgraph_api-1.0.0/tenxgraph_api/jobs/arguments.py +79 -0
  74. 10xgraph_api-1.0.0/tenxgraph_api/jobs/config.py +195 -0
  75. 10xgraph_api-1.0.0/tenxgraph_api/jobs/context.py +61 -0
  76. 10xgraph_api-1.0.0/tenxgraph_api/jobs/middleware.py +234 -0
  77. 10xgraph_api-1.0.0/tenxgraph_api/jobs/monitoring.py +158 -0
  78. 10xgraph_api-1.0.0/tenxgraph_api/jobs/redis_broker.py +144 -0
  79. 10xgraph_api-1.0.0/tenxgraph_api/jobs/scheduler.py +19 -0
  80. 10xgraph_api-1.0.0/tenxgraph_api/jobs/state.py +135 -0
  81. 10xgraph_api-1.0.0/tenxgraph_api/jobs/worker.py +116 -0
  82. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/audit/__init__.py +189 -0
  83. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/audit/config.py +36 -0
  84. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/audit/sinks.py +122 -0
  85. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/auth_config.py +290 -0
  86. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/base_auth.py +66 -0
  87. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/jwt_auth.py +225 -0
  88. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/permissions.py +497 -0
  89. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/permissions_registry.py +51 -0
  90. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/rbac.py +211 -0
  91. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/reserved_identity.py +52 -0
  92. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/revocation.py +241 -0
  93. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/auth/route_guard.py +6 -8
  94. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/__init__.py +13 -0
  95. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/base.py +122 -0
  96. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/loader.py +106 -0
  97. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/memory_store.py +347 -0
  98. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/redis_store.py +324 -0
  99. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/graph_config.py +481 -217
  100. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/media_settings.py +24 -0
  101. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config/metrics.py +374 -0
  102. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/sentry_config.py +14 -0
  103. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config/settings.py +355 -0
  104. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config/setup_logs.py +121 -0
  105. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/setup_middleware.py +323 -47
  106. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/handle_errors.py +190 -30
  107. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/exceptions/server_errors.py +177 -0
  108. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/leases.py +331 -0
  109. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/__init__.py +2 -13
  110. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/middleware/rate_limit/__init__.py +9 -0
  111. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/rate_limit/keying.py +28 -29
  112. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/middleware/rate_limit/limiter.py +134 -0
  113. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/rate_limit/middleware.py +63 -13
  114. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/request_limits.py +3 -0
  115. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/security_headers.py +3 -0
  116. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/redis_client.py +63 -0
  117. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/request_context.py +34 -0
  118. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/shutdown.py +167 -0
  119. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/threads.py +69 -0
  120. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/utils/log_sanitizer.py +85 -11
  121. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/validation/__init__.py +0 -0
  122. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/validation/client_filters.py +146 -0
  123. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/validation/request_config.py +477 -0
  124. 10xgraph_api-1.0.0/tenxgraph_api/src/app/loader.py +754 -0
  125. 10xgraph_api-1.0.0/tenxgraph_api/src/app/main.py +331 -0
  126. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/converter.py +42 -2
  127. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/ag_ui/router.py +160 -0
  128. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/service.py +55 -33
  129. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/router.py +125 -71
  130. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/schemas/checkpointer_schemas.py +52 -12
  131. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/checkpointer/services/checkpointer_service.py +699 -0
  132. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/idempotency.py +240 -0
  133. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/realtime_guard.py +134 -0
  134. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/router.py +1536 -0
  135. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/run_guard.py +60 -0
  136. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/run_limits.py +32 -12
  137. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/schemas/graph_schemas.py +165 -15
  138. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/services/graph_service.py +715 -308
  139. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/services/multimodal_preprocessor.py +143 -11
  140. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/thread_lock.py +180 -0
  141. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/me.py +32 -0
  142. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/media/__init__.py +1095 -0
  143. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/media/router.py +174 -17
  144. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/media/schemas.py +23 -0
  145. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/ping/readiness.py +186 -0
  146. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ping/router.py +12 -14
  147. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/ping/startup_checks.py +233 -0
  148. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/setup_router.py +9 -6
  149. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/router.py +49 -16
  150. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/schemas/store_schemas.py +48 -17
  151. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/store/services/store_service.py +289 -0
  152. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/__init__.py +7 -0
  153. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/boot.py +49 -0
  154. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/router.py +288 -0
  155. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/schemas.py +77 -0
  156. 10xgraph_api-1.0.0/tenxgraph_api/src/app/tasks/__init__.py +0 -0
  157. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/__init__.py +7 -2
  158. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/media/extractor.py +112 -5
  159. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/media/signatures.py +86 -0
  160. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/parse_output.py +47 -0
  161. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/response_helper.py +9 -4
  162. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/run_trace.py +511 -0
  163. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/snowflake_id_generator.py +96 -0
  164. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/telemetry_store.py +13 -1
  165. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/thread_name_generator.py +69 -67
  166. 10xgraph_api-1.0.0/tenxgraph_api/src/app/uvicorn_worker.py +80 -0
  167. 10xgraph_api-1.0.0/tenxgraph_api/testing/__init__.py +1 -0
  168. 10xgraph_api-1.0.0/tenxgraph_api/testing/cache_store_contract.py +304 -0
  169. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tests/test_utils_parse_and_callable.py +12 -8
  170. 10xgraph_api-0.9.0/10xgraph.json +0 -16
  171. 10xgraph_api-0.9.0/10xgraph_api.egg-info/PKG-INFO +0 -657
  172. 10xgraph_api-0.9.0/10xgraph_api.egg-info/requires.txt +0 -47
  173. 10xgraph_api-0.9.0/CHANGELOG.md +0 -526
  174. 10xgraph_api-0.9.0/PKG-INFO +0 -657
  175. 10xgraph_api-0.9.0/README.md +0 -593
  176. 10xgraph_api-0.9.0/RELEASE_NOTES.md +0 -42
  177. 10xgraph_api-0.9.0/tenxgraph_api/cli/commands/build.py +0 -335
  178. 10xgraph_api-0.9.0/tenxgraph_api/cli/commands/init.py +0 -651
  179. 10xgraph_api-0.9.0/tenxgraph_api/cli/config_editor/schema.py +0 -692
  180. 10xgraph_api-0.9.0/tenxgraph_api/cli/config_editor/static/app.css +0 -2
  181. 10xgraph_api-0.9.0/tenxgraph_api/cli/config_editor/static/app.js +0 -3
  182. 10xgraph_api-0.9.0/tenxgraph_api/cli/config_editor/validation.py +0 -409
  183. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/defaults.py +0 -881
  184. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/prod/10xgraph.json +0 -42
  185. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/prod/evals/weather_agents_eval.py +0 -53
  186. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/prod/graph/agent.py +0 -55
  187. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/prod/graph/thread_name_generator.py +0 -7
  188. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/prod/tests/conftest.py +0 -6
  189. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/skills/10xgraph/references/api-configuration.md +0 -75
  190. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/skills/10xgraph/references/auth-and-authorization.md +0 -149
  191. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/skills/10xgraph/references/cli-commands.md +0 -69
  192. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/skills/10xgraph/references/id-and-thread-name-generators.md +0 -69
  193. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/skills/10xgraph/references/memory-and-store.md +0 -70
  194. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/skills/10xgraph/references/publishers-and-runtime-protocols.md +0 -84
  195. 10xgraph_api-0.9.0/tenxgraph_api/cli/templates/skills/10xgraph/references/rate-limiting.md +0 -194
  196. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/auth_backend.py +0 -38
  197. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/authorization.py +0 -469
  198. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/base_auth.py +0 -32
  199. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/identity_cache.py +0 -68
  200. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/jwt_auth.py +0 -125
  201. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/ownership_resolver.py +0 -239
  202. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/permissions.py +0 -407
  203. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/request_config.py +0 -189
  204. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth/revocation.py +0 -219
  205. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/concurrency.py +0 -200
  206. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/config/settings.py +0 -219
  207. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/config/setup_logs.py +0 -65
  208. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/middleware/rate_limit/__init__.py +0 -15
  209. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/middleware/rate_limit/base.py +0 -27
  210. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/middleware/rate_limit/factory.py +0 -101
  211. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/middleware/rate_limit/memory.py +0 -98
  212. 10xgraph_api-0.9.0/tenxgraph_api/src/app/core/middleware/rate_limit/redis.py +0 -115
  213. 10xgraph_api-0.9.0/tenxgraph_api/src/app/loader.py +0 -637
  214. 10xgraph_api-0.9.0/tenxgraph_api/src/app/main.py +0 -203
  215. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/ag_ui/router.py +0 -98
  216. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/checkpointer/services/checkpointer_service.py +0 -351
  217. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/evals/__init__.py +0 -6
  218. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/evals/router.py +0 -38
  219. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/evals/services/__init__.py +0 -1
  220. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/evals/services/eval_report_service.py +0 -354
  221. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/graph/realtime_guard.py +0 -209
  222. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/graph/router.py +0 -922
  223. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/media/__init__.py +0 -531
  224. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/ping/readiness.py +0 -142
  225. 10xgraph_api-0.9.0/tenxgraph_api/src/app/routers/store/services/store_service.py +0 -203
  226. 10xgraph_api-0.9.0/tenxgraph_api/src/app/utils/parse_output.py +0 -17
  227. 10xgraph_api-0.9.0/tenxgraph_api/src/app/utils/snowflake_id_generator.py +0 -90
  228. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/dependency_links.txt +0 -0
  229. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/entry_points.txt +0 -0
  230. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/not-zip-safe +0 -0
  231. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/top_level.txt +0 -0
  232. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/CODE_OF_CONDUCT.md +0 -0
  233. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/CONTRIBUTING.md +0 -0
  234. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/LICENSE +0 -0
  235. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/MANIFEST.in +0 -0
  236. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/agentflow_cli/__init__.py +0 -0
  237. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/setup.cfg +0 -0
  238. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/_slim_image.py +0 -0
  239. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/__init__.py +0 -0
  240. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/capabilities.py +0 -0
  241. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/demo.py +0 -0
  242. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/version.py +0 -0
  243. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/__init__.py +0 -0
  244. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/server.py +0 -0
  245. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/static/favicon.svg +0 -0
  246. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/static/index.html +0 -0
  247. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/store.py +0 -0
  248. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/constants.py +0 -0
  249. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/context.py +0 -0
  250. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/__init__.py +0 -0
  251. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/animations.py +0 -0
  252. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/output.py +0 -0
  253. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/prompts.py +0 -0
  254. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/screen.py +0 -0
  255. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/theme.py +0 -0
  256. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/exceptions.py +0 -0
  257. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/logger.py +0 -0
  258. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/__init__.py +0 -0
  259. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/dev/.env.example +0 -0
  260. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/dev/10xgraph.json +0 -0
  261. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/dev/graph/__init__.py +0 -0
  262. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/.pre-commit-config.yaml +0 -0
  263. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/.python-version +0 -0
  264. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/auth/__init__.py +0 -0
  265. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/evals/__init__.py +0 -0
  266. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/__init__.py +0 -0
  267. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/state.py +0 -0
  268. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/tools/__init__.py +0 -0
  269. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/__init__.py +0 -0
  270. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/lifecyle.py +0 -0
  271. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/manager.py +0 -0
  272. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/pyproject.toml +0 -0
  273. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/tests/__init__.py +0 -0
  274. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/tests/test_agent_eval.py +0 -0
  275. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/tests/test_graph_nodes.py +0 -0
  276. {10xgraph_api-0.9.0/tenxgraph_api/src → 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/worker}/__init__.py +0 -0
  277. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/client-auth-and-errors.md +0 -0
  278. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/client-threads-memory-files.md +0 -0
  279. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/context-id-background.md +0 -0
  280. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/media-and-files.md +0 -0
  281. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/providers-and-adapters.md +0 -0
  282. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/remote-tools.md +0 -0
  283. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/security-and-validators.md +0 -0
  284. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/state-graph.md +0 -0
  285. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/stream-emitter.md +0 -0
  286. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/streaming.md +0 -0
  287. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/testing-and-evaluation.md +0 -0
  288. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/unit-testing.md +0 -0
  289. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/py.typed +0 -0
  290. {10xgraph_api-0.9.0/tenxgraph_api/src/app/core/auth → 10xgraph_api-1.0.0/tenxgraph_api/src}/__init__.py +0 -0
  291. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/__init__.py +0 -0
  292. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/__init__.py +0 -0
  293. {10xgraph_api-0.9.0/tenxgraph_api/src/app/core/config → 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth}/__init__.py +0 -0
  294. {10xgraph_api-0.9.0/tenxgraph_api/src/app/tasks → 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config}/__init__.py +0 -0
  295. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/worker_middleware.py +0 -0
  296. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/__init__.py +0 -0
  297. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/general_exception.py +0 -0
  298. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/resources_exceptions.py +0 -0
  299. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/user_exception.py +0 -0
  300. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/utils/__init__.py +0 -0
  301. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/utils/container.py +0 -0
  302. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/__init__.py +0 -0
  303. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/__init__.py +0 -0
  304. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/event_mapper.py +0 -0
  305. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/__init__.py +0 -0
  306. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/schemas/__init__.py +0 -0
  307. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/services/__init__.py +0 -0
  308. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/__init__.py +0 -0
  309. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/schemas/__init__.py +0 -0
  310. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/services/__init__.py +0 -0
  311. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ping/__init__.py +0 -0
  312. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/__init__.py +0 -0
  313. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/schemas/__init__.py +0 -0
  314. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/services/__init__.py +0 -0
  315. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/tasks/user_tasks.py +0 -0
  316. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/callable_helper.py +0 -0
  317. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/media/__init__.py +0 -0
  318. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/media/pipeline.py +0 -0
  319. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/schemas/__init__.py +0 -0
  320. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/schemas/output_schemas.py +0 -0
  321. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/schemas/user_schemas.py +0 -0
  322. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/swagger_helper.py +0 -0
  323. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/worker.py +0 -0
  324. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tests/test_agentflow_cli_alias.py +0 -0
  325. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tests/test_multimodal_sprint2_extraction.py +0 -0
  326. {10xgraph_api-0.9.0 → 10xgraph_api-1.0.0}/tests/test_sprint4_media_api.py +0 -0
@@ -0,0 +1,17 @@
1
+ {
2
+ "agent": "graph.react:app",
3
+ "store": "graph.dummy_store:store",
4
+ "env": ".env",
5
+ "auth": null,
6
+ "cache_store": {
7
+ "type": "memory",
8
+ "rate_limit": {
9
+ "enabled": true,
10
+ "requests": 100,
11
+ "window": 60,
12
+ "by": "ip",
13
+ "trusted_proxy_headers": false,
14
+ "exclude_paths": ["/health", "/docs", "/redoc", "/openapi.json"]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,342 @@
1
+ Metadata-Version: 2.4
2
+ Name: 10xgraph-api
3
+ Version: 1.0.0
4
+ Summary: API server and CLI of 10xGraph (formerly 10xscale-agentflow-cli), open-source self-hosted infrastructure for AI applications: REST, streaming and WebSocket from your graph, JWT or custom auth, roles with own/tenant/all reach, tenant isolation, rate limits, background jobs, metrics, audit log, and Docker and Kubernetes files. MIT.
5
+ Author-email: Shudipto Trafder <shudiptotrafder@gmail.com>
6
+ Maintainer-email: Shudipto Trafder <shudiptotrafder@gmail.com>, 10xScale <contact@10xscale.ai>
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://10xgraph.com
9
+ Project-URL: Repository, https://github.com/10xGraph/10xgraph-api
10
+ Project-URL: Issues, https://github.com/10xGraph/10xgraph-api/issues
11
+ Project-URL: Documentation, https://10xgraph.com
12
+ Project-URL: Changelog, https://github.com/10xGraph/10xgraph-api/blob/main/CHANGELOG.md
13
+ Keywords: 10xgraph,10xscale,agentflow,agents,ai-agents,multi-agent,agent-server,agent-deployment,llm,fastapi,api-server,rest-api,sse,websocket,realtime-audio,ag-ui,jwt,authentication,authorization,rbac,multi-tenant,rate-limiting,self-hosted,production,docker,kubernetes,cli
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: 3.15
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
24
+ Requires-Python: >=3.12
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: 10xgraph<2.0,>=1.0.0
28
+ Requires-Dist: fastapi<1.0,>=0.116
29
+ Requires-Dist: python-multipart<0.1,>=0.0.31
30
+ Requires-Dist: starlette>=1.3.1
31
+ Requires-Dist: pydantic<3,>=2.13
32
+ Requires-Dist: pydantic-settings<3,>=2.3
33
+ Requires-Dist: uvicorn<1.0,>=0.36
34
+ Requires-Dist: typer<1.0,>=0.17
35
+ Requires-Dist: python-dotenv<2,>=1.0
36
+ Requires-Dist: questionary<3,>=2.0
37
+ Requires-Dist: rich<15,>=14.0
38
+ Provides-Extra: sentry
39
+ Requires-Dist: sentry-sdk>=2.10.0; extra == "sentry"
40
+ Provides-Extra: firebase
41
+ Requires-Dist: firebase-admin>=6.5.0; extra == "firebase"
42
+ Requires-Dist: oauth2client>=4.1.3; extra == "firebase"
43
+ Provides-Extra: snowflakekit
44
+ Requires-Dist: snowflakekit<1.0,>=0.1.1; extra == "snowflakekit"
45
+ Provides-Extra: redis
46
+ Requires-Dist: redis<9,>=5.0.7; extra == "redis"
47
+ Provides-Extra: jobs
48
+ Requires-Dist: taskiq>=0.13.0; extra == "jobs"
49
+ Requires-Dist: taskiq-redis>=1.2.4; extra == "jobs"
50
+ Provides-Extra: jobs-rabbitmq
51
+ Requires-Dist: taskiq>=0.13.0; extra == "jobs-rabbitmq"
52
+ Requires-Dist: taskiq-redis>=1.2.4; extra == "jobs-rabbitmq"
53
+ Requires-Dist: taskiq-aio-pika>=0.6.1; extra == "jobs-rabbitmq"
54
+ Provides-Extra: jobs-kafka
55
+ Requires-Dist: taskiq>=0.13.0; extra == "jobs-kafka"
56
+ Requires-Dist: taskiq-redis>=1.2.4; extra == "jobs-kafka"
57
+ Requires-Dist: taskiq-aio-kafka>=1.0.0; extra == "jobs-kafka"
58
+ Provides-Extra: jwt
59
+ Requires-Dist: PyJWT<3,>=2.15.0; extra == "jwt"
60
+ Provides-Extra: media
61
+ Requires-Dist: textxtract[docx,html,md,pdf,xml]>=0.2.0; extra == "media"
62
+ Provides-Extra: images
63
+ Requires-Dist: 10xgraph[images]<2.0,>=1.0.0; extra == "images"
64
+ Provides-Extra: gcloud
65
+ Requires-Dist: google-cloud-logging; extra == "gcloud"
66
+ Provides-Extra: otel
67
+ Requires-Dist: opentelemetry-api>=1.45.1; extra == "otel"
68
+ Requires-Dist: opentelemetry-sdk>=1.45.1; extra == "otel"
69
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.40b0; extra == "otel"
70
+ Requires-Dist: opentelemetry-exporter-otlp>=1.20.0; extra == "otel"
71
+ Provides-Extra: metrics
72
+ Requires-Dist: opentelemetry-api>=1.45.1; extra == "metrics"
73
+ Requires-Dist: opentelemetry-sdk>=1.45.1; extra == "metrics"
74
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.66b2; extra == "metrics"
75
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.45.2; extra == "metrics"
76
+ Requires-Dist: opentelemetry-exporter-prometheus>=0.66b2; extra == "metrics"
77
+ Requires-Dist: prometheus-client>=0.26.0; extra == "metrics"
78
+ Provides-Extra: ag-ui
79
+ Requires-Dist: ag-ui-protocol<2,>=1.0; extra == "ag-ui"
80
+ Provides-Extra: websocket
81
+ Requires-Dist: websockets<17,>=13.0; extra == "websocket"
82
+ Dynamic: license-file
83
+
84
+ # 10xGraph API
85
+
86
+ *Formerly `10xscale-agentflow-cli`.* The server and CLI half of 10xGraph: write your AI logic, and this package runs the API around it.
87
+
88
+ [![CI](https://github.com/10xGraph/10xgraph-api/actions/workflows/ci.yaml/badge.svg)](https://github.com/10xGraph/10xgraph-api/actions/workflows/ci.yaml)
89
+ [![Release](https://img.shields.io/github/v/release/10xGraph/10xgraph-api)](https://github.com/10xGraph/10xgraph-api/releases/latest)
90
+ [![PyPI](https://img.shields.io/pypi/v/10xgraph-api?color=blue)](https://pypi.org/project/10xgraph-api/)
91
+ [![Python](https://img.shields.io/pypi/pyversions/10xgraph-api)](https://pypi.org/project/10xgraph-api/)
92
+ [![License](https://img.shields.io/github/license/10xGraph/10xgraph-api)](https://github.com/10xGraph/10xgraph-api/blob/main/LICENSE)
93
+ [![Verified on FreeAPI](https://findfreeapi.com/api/badge/10xgraph-api)](https://findfreeapi.com/en/service/10xgraph-api)
94
+ [![Star on GitHub](https://img.shields.io/badge/GitHub-Star-181717?logo=github)](https://github.com/10xGraph/10xGraph)
95
+
96
+ 10xGraph is open-source, self-hosted infrastructure for AI applications. You write the agents, tools and tasks; 10xGraph runs them behind an API server with authentication, role-based access, tenant isolation, durable state in Postgres and Redis, background jobs, metrics and tracing, and generates Docker and Kubernetes deploy files. MIT licensed, by 10xScale. Formerly Agentflow.
97
+
98
+ `10xgraph-api` is the server and the `10xgraph` command. Point `10xgraph.json` at your compiled graph and it serves REST, NDJSON streaming, WebSocket and realtime-audio endpoints behind authentication, roles and tenant-aware access control, then writes your Docker and Kubernetes files. Built for teams going through SOC 2 and ISO 27001 audits: see the [control mapping](https://10xgraph.com/docs/production/control-mapping) for what the platform supports and what stays with you.
99
+
100
+ ---
101
+
102
+ ## What the server gives you
103
+
104
+ - **Endpoints generated from the graph.** Invoke, NDJSON stream, stop, WebSocket and realtime audio; threads, state and messages; the memory store; file uploads for multimodal input; and an optional [AG-UI endpoint](https://10xgraph.com/docs/server/ag-ui) for CopilotKit and other AG-UI clients. See [Invoke and stream](https://10xgraph.com/docs/server/invoke-and-stream).
105
+ - **Authentication.** `"auth": "jwt"`, or your own `BaseAuth` subclass. See [Authentication](https://10xgraph.com/docs/server/auth).
106
+ - **Roles with reach.** Each role carries permissions such as `graph:invoke` or `threads:delete`, and a reach of `own`, `tenant` or `all`. Reach widens reads, lists, deletes and stop; runs and writes always stay with the owner. The server refuses to boot if a non-public route has no permission guard. See [Tenancy and access](https://10xgraph.com/docs/concepts/tenancy-and-access).
107
+ - **Tenant isolation.** Ownership is enforced in storage: a thread, message, memory, file or run outside the caller's reach answers 404. You declare the tenant columns; `tenant_claims` must match them.
108
+ - **Cache store.** One `cache_store` object holds run locks and caps, idempotency, token revocation and rate-limit counters: in memory, on Redis, or your own `BaseCacheStore`. See [Cache store](https://10xgraph.com/docs/concepts/cache-store) and [Rate limiting](https://10xgraph.com/docs/server/rate-limiting).
109
+ - **Background jobs.** A thin TaskIQ layer: `10xgraph worker`, `10xgraph scheduler` and `/v1/tasks` routes, run under the same auth. See [Background tasks](https://10xgraph.com/docs/server/background-tasks).
110
+ - **Metrics, logs and audit.** Prometheus metrics from the `metrics` block, JSON logs with `LOG_FORMAT=json`, and a metadata-only audit log from the `audit` block that you ship to your own sink. 10xGraph stores no audit data. See [Observability](https://10xgraph.com/docs/server/observability), [Metrics with Prometheus and Grafana](https://10xgraph.com/docs/guides/metrics-prometheus-grafana) and [Audit log](https://10xgraph.com/docs/server/audit-log).
111
+ - **Hardened defaults.** Request size limits, security headers, error and log sanitization, SSRF checks on external media URLs, startup warnings for insecure settings. See the [Production checklist](https://10xgraph.com/docs/server/production-checklist).
112
+ - **Deploy files.** `10xgraph build --docker-compose --k8s` writes a `Dockerfile`, `docker-compose.yml` and `k8s.yaml`. See [Deploy](https://10xgraph.com/docs/server/deploy) and [Kubernetes](https://10xgraph.com/docs/server/kubernetes).
113
+
114
+ ---
115
+
116
+ ## Installation
117
+
118
+ ```bash
119
+ pip install 10xgraph-api
120
+ ```
121
+
122
+ Optional extras; install only what you configure:
123
+
124
+ ```bash
125
+ pip install "10xgraph-api[jwt,redis,websocket]" # JWT auth, Redis cache store, WebSocket and realtime audio
126
+ pip install "10xgraph-api[jobs]" # background jobs (TaskIQ worker and scheduler)
127
+ pip install "10xgraph-api[metrics]" # Prometheus scrape or OTLP push metrics
128
+ pip install "10xgraph-api[otel]" # OpenTelemetry tracing
129
+ pip install "10xgraph-api[ag-ui]" # AG-UI endpoint
130
+ pip install "10xgraph-api[media]" # document text extraction (multimodal)
131
+ pip install "10xgraph-api[images]" # image resize, EXIF, format conversion
132
+ pip install "10xgraph-api[snowflakekit]" # Snowflake ID generation
133
+ pip install "10xgraph-api[sentry]" # Sentry error reporting
134
+ pip install "10xgraph-api[gcloud]" # Google Cloud Logging
135
+ pip install "10xgraph-api[firebase]" # Firebase Admin SDK
136
+ ```
137
+
138
+ `jobs-rabbitmq` and `jobs-kafka` add a RabbitMQ or Kafka broker for jobs.
139
+
140
+ Requires Python 3.12 or newer. Installs the core `10xgraph` package as a dependency.
141
+
142
+ From 1.0 the public API is stable until 2.0. Keep `major.minor` the same across `10xgraph`,
143
+ `10xgraph-api` and `10xgraph-client` (patch versions are independent).
144
+
145
+ ---
146
+
147
+ ## Quick start
148
+
149
+ ```bash
150
+ # 1. Scaffold a project (asks for a name, a template and an AI provider)
151
+ 10xgraph init
152
+
153
+ # 2. Run the dev server and open the playground (127.0.0.1:8000)
154
+ 10xgraph dev
155
+ ```
156
+
157
+ Auth is off in the Quick Start template. To turn it on, add the `auth` object to `10xgraph.json` and set a secret in `.env`:
158
+
159
+ ```json
160
+ { "auth": { "method": "jwt" } }
161
+ ```
162
+
163
+ ```bash
164
+ JWT_SECRET_KEY=<32+ characters>
165
+ ```
166
+
167
+ `"auth": "jwt"` is a shortcut for the same thing. Every authenticated user then gets the default permission set with reach `own`. Add `roles` and `tenant_claims` for the setup below, or pick the Production template in `10xgraph init`, which writes JWT auth, a Redis cache store with rate limits and token revocation, a prompt-injection validator, evals and tests.
168
+
169
+ If this saved you time, star [10xGraph on GitHub](https://github.com/10xGraph/10xGraph). It helps other developers find it.
170
+
171
+ ---
172
+
173
+ ## Configuration
174
+
175
+ `10xgraph.json` defines your agent and the infrastructure around it. A realistic example:
176
+
177
+ ```json
178
+ {
179
+ "agent": "graph.react:app",
180
+ "env": ".env",
181
+ "auth": {
182
+ "method": "jwt",
183
+ "roles_claim": "roles",
184
+ "tenant_claims": ["org_id"],
185
+ "roles": {
186
+ "member": {
187
+ "permissions": ["graph:*", "threads:*", "store:*", "files:*", "tasks:trigger", "tasks:read", "tasks:cancel"],
188
+ "reach": "own"
189
+ },
190
+ "org_admin": { "inherits": ["member"], "permissions": ["admin:read"], "reach": "tenant" }
191
+ },
192
+ "default_role": "member"
193
+ },
194
+ "cache_store": {
195
+ "type": "redis",
196
+ "rate_limit": { "enabled": true, "requests": 100, "window": 60, "by": "user", "fail_open": false },
197
+ "token_revocation": true
198
+ },
199
+ "audit": { "enabled": true, "sinks": ["log"] }
200
+ }
201
+ ```
202
+
203
+ - The Redis URL comes from the `REDIS_URL` environment variable when `cache_store.url` is unset.
204
+ - `tenant_claims` must match the tenant columns declared on your checkpointer and store. A mismatch refuses to boot in production and warns in development.
205
+ - Audit sinks are `log` (JSON lines from the `tenxgraph_api.audit` logger), `publisher` (your events publisher) or `module:Class` (a `BaseAuditSink`).
206
+
207
+ Other keys include `checkpointer`, `store`, `injectq`, `thread_name_generator`, `id_generator`, `ag_ui`, `websocket`, `runs` and `media`. Edit them in a browser with `10xgraph config`, or read the [configuration reference](https://10xgraph.com/docs/reference/api-cli/configuration) and [Configure the server](https://10xgraph.com/docs/server/configure).
208
+
209
+ For a custom auth class, set `{ "auth": { "method": "custom", "path": "auth.custom:MyAuth" } }` and subclass `tenxgraph_api.BaseAuth`. See [Authentication](https://10xgraph.com/docs/server/auth) and [Extensibility](https://10xgraph.com/docs/concepts/extensibility).
210
+
211
+ ---
212
+
213
+ ## CLI
214
+
215
+ Run `10xgraph --help` or `10xgraph COMMAND --help` for options. Reference: [CLI](https://10xgraph.com/docs/server/cli).
216
+
217
+ | Command | What it does |
218
+ |---|---|
219
+ | `10xgraph init` | Scaffold a project. Asks for name, template (Quick Start or Production) and AI provider. |
220
+ | `10xgraph dev` | Run the dev server with reload and open the hosted playground. `--no-open` runs the server only. |
221
+ | `10xgraph config` | Edit `10xgraph.json` in a local browser editor, with validation and a `.bak` of the previous file. |
222
+ | `10xgraph build` | Write a `Dockerfile`, and with `--docker-compose` and `--k8s` a Compose file and a Kubernetes manifest. |
223
+ | `10xgraph worker` | Run the TaskIQ worker for background jobs. |
224
+ | `10xgraph scheduler` | Run the TaskIQ scheduler. Run exactly one. |
225
+ | `10xgraph revoke` | Revoke one token (`--jti`) or all tokens of a user (`--user`). |
226
+ | `10xgraph audit` | Read-only check of the interpreter, installed packages, `10xgraph.json` and the default port. Exits `1` on failure, so it works as a CI gate. |
227
+ | `10xgraph test` | Run the project tests with pytest. |
228
+ | `10xgraph eval` | Run agent evaluations and write JSON and HTML reports to `eval_reports/`. |
229
+ | `10xgraph skills` | Install the bundled 10xGraph skill for coding agents (Codex, Claude, GitHub Copilot). |
230
+ | `10xgraph demo` | Preview the terminal animations without touching the project. |
231
+ | `10xgraph version` | Show the CLI and core versions. |
232
+
233
+ Machine-readable output is available with `--format json` or `--format jsonl`, and `--no-animation` gives a static screen.
234
+
235
+ ---
236
+
237
+ ## Deploy
238
+
239
+ ```bash
240
+ 10xgraph build --docker-compose --k8s
241
+ docker compose up --build -d
242
+ ```
243
+
244
+ This writes a multi-stage, non-root `Dockerfile` that runs Gunicorn with `MODE=production` and `LOG_FORMAT=json`, plus `docker-compose.yml` and `k8s.yaml`. Liveness is `/ping`; readiness is `/health/ready` and checks the checkpointer, store and cache store. The manifest has a fixed replica count, so autoscaling is yours. Run more than one worker or replica only with a Redis cache store. See [Deploy](https://10xgraph.com/docs/server/deploy), [Kubernetes](https://10xgraph.com/docs/server/kubernetes) and [Scaling](https://10xgraph.com/docs/production/scaling).
245
+
246
+ ---
247
+
248
+ ## Honest limits
249
+
250
+ - **Auth is off until you configure it.** The bare server has hardened defaults, not authentication. The Production template of `10xgraph init` turns it on.
251
+ - **Tenant isolation needs columns you declare.** Declare `tenant_columns` on the checkpointer and store; it is not automatic.
252
+ - **Permissions apply per route, not per tool.** There is no built-in rule such as "user A may call `refund`, user B may not". Tools can read the caller's verified identity from the run config and decide for themselves.
253
+ - **No hosted service.** You run it, or nobody does.
254
+ - **No audit evidence of its own.** 10xGraph supports your controls; it does not hold a SOC 2 report. See [Limits](https://10xgraph.com/docs/production/limits).
255
+
256
+ ---
257
+
258
+ ## One stack
259
+
260
+ | Package | What it does | Install |
261
+ |---|---|---|
262
+ | [`10xgraph`](https://github.com/10xGraph/10xGraph) | Core: graphs, state, replay-safe tools, checkpointing, memory | `pip install 10xgraph` (pulled in by this package) |
263
+ | `10xgraph-api` (this package) | Server and the `10xgraph` command | `pip install 10xgraph-api` |
264
+ | [`10xgraph-client`](https://github.com/10xGraph/10xgraph-client) | Typed TypeScript client for every endpoint | `npm install 10xgraph-client` |
265
+ | [Docs](https://10xgraph.com/docs) | Guides, reference and the control mapping | [10xgraph.com](https://10xgraph.com) |
266
+
267
+ ---
268
+
269
+ ## Migrating from 10xscale-agentflow-cli
270
+
271
+ 10xGraph is the new name of 10xScale Agentflow. The server, CLI, license and maintainers are the same, and existing projects keep working.
272
+
273
+ | | Before | Now |
274
+ |---|---|---|
275
+ | PyPI package | `10xscale-agentflow-cli` | `10xgraph-api` |
276
+ | Python import | `agentflow_cli` | `tenxgraph_api` |
277
+ | Command | `agentflow` | `10xgraph` |
278
+ | Config file | `agentflow.json` | `10xgraph.json` |
279
+ | Core package | `10xscale-agentflow` (import `agentflow`) | `10xgraph` (import `tenxgraph`) |
280
+ | CLI env vars | `AGENTFLOW_NO_FULLSCREEN`, `AGENTFLOW_NO_SPINNER`, `AGENTFLOW_ASCII` | `TENXGRAPH_NO_FULLSCREEN`, `TENXGRAPH_NO_SPINNER`, `TENXGRAPH_ASCII` |
281
+ | Website | agentflow.10xscale.ai | [10xgraph.com](https://10xgraph.com) |
282
+ | GitHub | github.com/10xHub | [github.com/10xGraph](https://github.com/10xGraph) |
283
+
284
+ ```bash
285
+ pip uninstall 10xscale-agentflow-cli 10xscale-agentflow
286
+ pip install 10xgraph-api
287
+ ```
288
+
289
+ Do not install `10xscale-agentflow` next to `10xgraph`: both ship an `agentflow` module.
290
+
291
+ Kept working until 2.0:
292
+
293
+ - The `agentflow` command runs the same CLI and prints a deprecation notice.
294
+ - `from agentflow_cli import ...` resolves to `tenxgraph_api` with a `DeprecationWarning`.
295
+ - `agentflow.json` is read when no `10xgraph.json` sits in the same directory; `10xgraph.json` wins when both exist. The keys are unchanged.
296
+ - `AGENTFLOW_*` CLI env vars are read when the `TENXGRAPH_*` variable is unset.
297
+ - The `agentflow-bearer` WebSocket subprotocol and `agentflow://media/` URLs are still accepted. New references use `10xgraph-bearer` and `graph://media/`.
298
+
299
+ More: [Coming from Agentflow](https://10xgraph.com/docs/get-started/coming-from-agentflow).
300
+
301
+ ---
302
+
303
+ ## Security
304
+
305
+ Report vulnerabilities privately; see [SECURITY.md](https://github.com/10xGraph/10xgraph-api/blob/main/SECURITY.md). Do not open a public issue for a security problem. Production settings are listed in the [Production checklist](https://10xgraph.com/docs/server/production-checklist) and the [security model](https://10xgraph.com/docs/production/security-model).
306
+
307
+ ---
308
+
309
+ ## Development
310
+
311
+ ```bash
312
+ git clone https://github.com/10xGraph/10xgraph-api.git
313
+ cd 10xgraph-api
314
+ uv sync --dev
315
+ pre-commit install
316
+
317
+ pytest # tests (coverage gate: 80%)
318
+ ruff check . && ruff format . # lint and format
319
+ uv run mypy
320
+ ```
321
+
322
+ ## Contributing
323
+
324
+ Pull requests are welcome, and drafts are fine: open early and ask questions in the PR. Good first contributions:
325
+
326
+ - Type one module that `mypy` still skips (listed in `pyproject.toml`).
327
+ - Add a test for an edge case you hit: a request that should be rejected, a config that should fail at startup.
328
+ - Write the deployment recipe you needed on [10xgraph.com](https://10xgraph.com); every docs page has an "Edit this page" link.
329
+
330
+ For bigger changes, start a thread in the core repository's [Discussions](https://github.com/10xGraph/10xGraph/discussions) first.
331
+
332
+ <a href="https://github.com/10xGraph/10xgraph-api/graphs/contributors">
333
+ <img src="https://contrib.rocks/image?repo=10xGraph/10xgraph-api" alt="People who have contributed to 10xgraph-api" />
334
+ </a>
335
+
336
+ ## License
337
+
338
+ [MIT](https://github.com/10xGraph/10xgraph-api/blob/main/LICENSE). Made by [10xScale](https://10xscale.ai), which runs its own AI products on 10xGraph.
339
+
340
+ ## Links
341
+
342
+ [Documentation](https://10xgraph.com) · [PyPI](https://pypi.org/project/10xgraph-api/) · [Issues](https://github.com/10xGraph/10xgraph-api/issues) · [Changelog](https://github.com/10xGraph/10xgraph-api/blob/main/CHANGELOG.md)
@@ -30,13 +30,18 @@ tenxgraph_api/cli/commands/__init__.py
30
30
  tenxgraph_api/cli/commands/api.py
31
31
  tenxgraph_api/cli/commands/audit.py
32
32
  tenxgraph_api/cli/commands/build.py
33
+ tenxgraph_api/cli/commands/build_prompts.py
33
34
  tenxgraph_api/cli/commands/config.py
34
35
  tenxgraph_api/cli/commands/demo.py
35
36
  tenxgraph_api/cli/commands/eval.py
36
37
  tenxgraph_api/cli/commands/init.py
38
+ tenxgraph_api/cli/commands/init_context.py
39
+ tenxgraph_api/cli/commands/init_prompts.py
40
+ tenxgraph_api/cli/commands/revoke.py
37
41
  tenxgraph_api/cli/commands/skills.py
38
42
  tenxgraph_api/cli/commands/test.py
39
43
  tenxgraph_api/cli/commands/version.py
44
+ tenxgraph_api/cli/commands/worker.py
40
45
  tenxgraph_api/cli/config_editor/__init__.py
41
46
  tenxgraph_api/cli/config_editor/schema.py
42
47
  tenxgraph_api/cli/config_editor/server.py
@@ -59,6 +64,7 @@ tenxgraph_api/cli/templates/__init__.py
59
64
  tenxgraph_api/cli/templates/defaults.py
60
65
  tenxgraph_api/cli/templates/dev/.env.example
61
66
  tenxgraph_api/cli/templates/dev/10xgraph.json
67
+ tenxgraph_api/cli/templates/dev/requirements.txt
62
68
  tenxgraph_api/cli/templates/dev/graph/__init__.py
63
69
  tenxgraph_api/cli/templates/dev/graph/agent.py
64
70
  tenxgraph_api/cli/templates/prod/.env.example
@@ -74,7 +80,6 @@ tenxgraph_api/cli/templates/prod/evals/weather_agents_eval.py
74
80
  tenxgraph_api/cli/templates/prod/graph/__init__.py
75
81
  tenxgraph_api/cli/templates/prod/graph/agent.py
76
82
  tenxgraph_api/cli/templates/prod/graph/state.py
77
- tenxgraph_api/cli/templates/prod/graph/thread_name_generator.py
78
83
  tenxgraph_api/cli/templates/prod/graph/tools/__init__.py
79
84
  tenxgraph_api/cli/templates/prod/graph/tools/weather_tool.py
80
85
  tenxgraph_api/cli/templates/prod/graph/validators/__init__.py
@@ -86,6 +91,8 @@ tenxgraph_api/cli/templates/prod/tests/conftest.py
86
91
  tenxgraph_api/cli/templates/prod/tests/test_agent_eval.py
87
92
  tenxgraph_api/cli/templates/prod/tests/test_catalog_tools.py
88
93
  tenxgraph_api/cli/templates/prod/tests/test_graph_nodes.py
94
+ tenxgraph_api/cli/templates/prod/worker/__init__.py
95
+ tenxgraph_api/cli/templates/prod/worker/tasks.py
89
96
  tenxgraph_api/cli/templates/skills/10xgraph/SKILL.md
90
97
  tenxgraph_api/cli/templates/skills/10xgraph/references/agents-and-tools.md
91
98
  tenxgraph_api/cli/templates/skills/10xgraph/references/api-client.md
@@ -120,28 +127,52 @@ tenxgraph_api/cli/templates/skills/10xgraph/references/stream-emitter.md
120
127
  tenxgraph_api/cli/templates/skills/10xgraph/references/streaming.md
121
128
  tenxgraph_api/cli/templates/skills/10xgraph/references/testing-and-evaluation.md
122
129
  tenxgraph_api/cli/templates/skills/10xgraph/references/unit-testing.md
130
+ tenxgraph_api/cli/templates/skills/blocks/10xgraph.block.md
123
131
  tenxgraph_api/cli/templates/skills/copilot/10xgraph.instructions.md
132
+ tenxgraph_api/jobs/__init__.py
133
+ tenxgraph_api/jobs/arguments.py
134
+ tenxgraph_api/jobs/config.py
135
+ tenxgraph_api/jobs/context.py
136
+ tenxgraph_api/jobs/middleware.py
137
+ tenxgraph_api/jobs/monitoring.py
138
+ tenxgraph_api/jobs/redis_broker.py
139
+ tenxgraph_api/jobs/scheduler.py
140
+ tenxgraph_api/jobs/state.py
141
+ tenxgraph_api/jobs/worker.py
124
142
  tenxgraph_api/src/__init__.py
125
143
  tenxgraph_api/src/app/__init__.py
126
144
  tenxgraph_api/src/app/loader.py
127
145
  tenxgraph_api/src/app/main.py
146
+ tenxgraph_api/src/app/uvicorn_worker.py
128
147
  tenxgraph_api/src/app/worker.py
129
148
  tenxgraph_api/src/app/core/__init__.py
130
- tenxgraph_api/src/app/core/concurrency.py
149
+ tenxgraph_api/src/app/core/leases.py
150
+ tenxgraph_api/src/app/core/redis_client.py
151
+ tenxgraph_api/src/app/core/request_context.py
152
+ tenxgraph_api/src/app/core/shutdown.py
153
+ tenxgraph_api/src/app/core/threads.py
154
+ tenxgraph_api/src/app/core/audit/__init__.py
155
+ tenxgraph_api/src/app/core/audit/config.py
156
+ tenxgraph_api/src/app/core/audit/sinks.py
131
157
  tenxgraph_api/src/app/core/auth/__init__.py
132
- tenxgraph_api/src/app/core/auth/auth_backend.py
133
- tenxgraph_api/src/app/core/auth/authorization.py
158
+ tenxgraph_api/src/app/core/auth/auth_config.py
134
159
  tenxgraph_api/src/app/core/auth/base_auth.py
135
- tenxgraph_api/src/app/core/auth/identity_cache.py
136
160
  tenxgraph_api/src/app/core/auth/jwt_auth.py
137
- tenxgraph_api/src/app/core/auth/ownership_resolver.py
138
161
  tenxgraph_api/src/app/core/auth/permissions.py
139
- tenxgraph_api/src/app/core/auth/request_config.py
162
+ tenxgraph_api/src/app/core/auth/permissions_registry.py
163
+ tenxgraph_api/src/app/core/auth/rbac.py
164
+ tenxgraph_api/src/app/core/auth/reserved_identity.py
140
165
  tenxgraph_api/src/app/core/auth/revocation.py
141
166
  tenxgraph_api/src/app/core/auth/route_guard.py
167
+ tenxgraph_api/src/app/core/cache_store/__init__.py
168
+ tenxgraph_api/src/app/core/cache_store/base.py
169
+ tenxgraph_api/src/app/core/cache_store/loader.py
170
+ tenxgraph_api/src/app/core/cache_store/memory_store.py
171
+ tenxgraph_api/src/app/core/cache_store/redis_store.py
142
172
  tenxgraph_api/src/app/core/config/__init__.py
143
173
  tenxgraph_api/src/app/core/config/graph_config.py
144
174
  tenxgraph_api/src/app/core/config/media_settings.py
175
+ tenxgraph_api/src/app/core/config/metrics.py
145
176
  tenxgraph_api/src/app/core/config/sentry_config.py
146
177
  tenxgraph_api/src/app/core/config/settings.py
147
178
  tenxgraph_api/src/app/core/config/setup_logs.py
@@ -151,21 +182,23 @@ tenxgraph_api/src/app/core/exceptions/__init__.py
151
182
  tenxgraph_api/src/app/core/exceptions/general_exception.py
152
183
  tenxgraph_api/src/app/core/exceptions/handle_errors.py
153
184
  tenxgraph_api/src/app/core/exceptions/resources_exceptions.py
185
+ tenxgraph_api/src/app/core/exceptions/server_errors.py
154
186
  tenxgraph_api/src/app/core/exceptions/user_exception.py
155
187
  tenxgraph_api/src/app/core/middleware/__init__.py
156
188
  tenxgraph_api/src/app/core/middleware/request_limits.py
157
189
  tenxgraph_api/src/app/core/middleware/security_headers.py
158
190
  tenxgraph_api/src/app/core/middleware/rate_limit/__init__.py
159
- tenxgraph_api/src/app/core/middleware/rate_limit/base.py
160
- tenxgraph_api/src/app/core/middleware/rate_limit/factory.py
161
191
  tenxgraph_api/src/app/core/middleware/rate_limit/keying.py
162
- tenxgraph_api/src/app/core/middleware/rate_limit/memory.py
192
+ tenxgraph_api/src/app/core/middleware/rate_limit/limiter.py
163
193
  tenxgraph_api/src/app/core/middleware/rate_limit/middleware.py
164
- tenxgraph_api/src/app/core/middleware/rate_limit/redis.py
165
194
  tenxgraph_api/src/app/core/utils/__init__.py
166
195
  tenxgraph_api/src/app/core/utils/container.py
167
196
  tenxgraph_api/src/app/core/utils/log_sanitizer.py
197
+ tenxgraph_api/src/app/core/validation/__init__.py
198
+ tenxgraph_api/src/app/core/validation/client_filters.py
199
+ tenxgraph_api/src/app/core/validation/request_config.py
168
200
  tenxgraph_api/src/app/routers/__init__.py
201
+ tenxgraph_api/src/app/routers/me.py
169
202
  tenxgraph_api/src/app/routers/setup_router.py
170
203
  tenxgraph_api/src/app/routers/ag_ui/__init__.py
171
204
  tenxgraph_api/src/app/routers/ag_ui/converter.py
@@ -178,14 +211,13 @@ tenxgraph_api/src/app/routers/checkpointer/schemas/__init__.py
178
211
  tenxgraph_api/src/app/routers/checkpointer/schemas/checkpointer_schemas.py
179
212
  tenxgraph_api/src/app/routers/checkpointer/services/__init__.py
180
213
  tenxgraph_api/src/app/routers/checkpointer/services/checkpointer_service.py
181
- tenxgraph_api/src/app/routers/evals/__init__.py
182
- tenxgraph_api/src/app/routers/evals/router.py
183
- tenxgraph_api/src/app/routers/evals/services/__init__.py
184
- tenxgraph_api/src/app/routers/evals/services/eval_report_service.py
185
214
  tenxgraph_api/src/app/routers/graph/__init__.py
215
+ tenxgraph_api/src/app/routers/graph/idempotency.py
186
216
  tenxgraph_api/src/app/routers/graph/realtime_guard.py
187
217
  tenxgraph_api/src/app/routers/graph/router.py
218
+ tenxgraph_api/src/app/routers/graph/run_guard.py
188
219
  tenxgraph_api/src/app/routers/graph/run_limits.py
220
+ tenxgraph_api/src/app/routers/graph/thread_lock.py
189
221
  tenxgraph_api/src/app/routers/graph/schemas/__init__.py
190
222
  tenxgraph_api/src/app/routers/graph/schemas/graph_schemas.py
191
223
  tenxgraph_api/src/app/routers/graph/services/__init__.py
@@ -197,18 +229,24 @@ tenxgraph_api/src/app/routers/media/schemas.py
197
229
  tenxgraph_api/src/app/routers/ping/__init__.py
198
230
  tenxgraph_api/src/app/routers/ping/readiness.py
199
231
  tenxgraph_api/src/app/routers/ping/router.py
232
+ tenxgraph_api/src/app/routers/ping/startup_checks.py
200
233
  tenxgraph_api/src/app/routers/store/__init__.py
201
234
  tenxgraph_api/src/app/routers/store/router.py
202
235
  tenxgraph_api/src/app/routers/store/schemas/__init__.py
203
236
  tenxgraph_api/src/app/routers/store/schemas/store_schemas.py
204
237
  tenxgraph_api/src/app/routers/store/services/__init__.py
205
238
  tenxgraph_api/src/app/routers/store/services/store_service.py
239
+ tenxgraph_api/src/app/routers/tasks/__init__.py
240
+ tenxgraph_api/src/app/routers/tasks/boot.py
241
+ tenxgraph_api/src/app/routers/tasks/router.py
242
+ tenxgraph_api/src/app/routers/tasks/schemas.py
206
243
  tenxgraph_api/src/app/tasks/__init__.py
207
244
  tenxgraph_api/src/app/tasks/user_tasks.py
208
245
  tenxgraph_api/src/app/utils/__init__.py
209
246
  tenxgraph_api/src/app/utils/callable_helper.py
210
247
  tenxgraph_api/src/app/utils/parse_output.py
211
248
  tenxgraph_api/src/app/utils/response_helper.py
249
+ tenxgraph_api/src/app/utils/run_trace.py
212
250
  tenxgraph_api/src/app/utils/snowflake_id_generator.py
213
251
  tenxgraph_api/src/app/utils/swagger_helper.py
214
252
  tenxgraph_api/src/app/utils/telemetry_store.py
@@ -216,9 +254,12 @@ tenxgraph_api/src/app/utils/thread_name_generator.py
216
254
  tenxgraph_api/src/app/utils/media/__init__.py
217
255
  tenxgraph_api/src/app/utils/media/extractor.py
218
256
  tenxgraph_api/src/app/utils/media/pipeline.py
257
+ tenxgraph_api/src/app/utils/media/signatures.py
219
258
  tenxgraph_api/src/app/utils/schemas/__init__.py
220
259
  tenxgraph_api/src/app/utils/schemas/output_schemas.py
221
260
  tenxgraph_api/src/app/utils/schemas/user_schemas.py
261
+ tenxgraph_api/testing/__init__.py
262
+ tenxgraph_api/testing/cache_store_contract.py
222
263
  tests/test_agentflow_cli_alias.py
223
264
  tests/test_multimodal_sprint2_extraction.py
224
265
  tests/test_sprint4_media_api.py
@@ -0,0 +1,70 @@
1
+ 10xgraph<2.0,>=1.0.0
2
+ fastapi<1.0,>=0.116
3
+ python-multipart<0.1,>=0.0.31
4
+ starlette>=1.3.1
5
+ pydantic<3,>=2.13
6
+ pydantic-settings<3,>=2.3
7
+ uvicorn<1.0,>=0.36
8
+ typer<1.0,>=0.17
9
+ python-dotenv<2,>=1.0
10
+ questionary<3,>=2.0
11
+ rich<15,>=14.0
12
+
13
+ [ag-ui]
14
+ ag-ui-protocol<2,>=1.0
15
+
16
+ [firebase]
17
+ firebase-admin>=6.5.0
18
+ oauth2client>=4.1.3
19
+
20
+ [gcloud]
21
+ google-cloud-logging
22
+
23
+ [images]
24
+ 10xgraph[images]<2.0,>=1.0.0
25
+
26
+ [jobs]
27
+ taskiq>=0.13.0
28
+ taskiq-redis>=1.2.4
29
+
30
+ [jobs-kafka]
31
+ taskiq>=0.13.0
32
+ taskiq-redis>=1.2.4
33
+ taskiq-aio-kafka>=1.0.0
34
+
35
+ [jobs-rabbitmq]
36
+ taskiq>=0.13.0
37
+ taskiq-redis>=1.2.4
38
+ taskiq-aio-pika>=0.6.1
39
+
40
+ [jwt]
41
+ PyJWT<3,>=2.15.0
42
+
43
+ [media]
44
+ textxtract[docx,html,md,pdf,xml]>=0.2.0
45
+
46
+ [metrics]
47
+ opentelemetry-api>=1.45.1
48
+ opentelemetry-sdk>=1.45.1
49
+ opentelemetry-instrumentation-fastapi>=0.66b2
50
+ opentelemetry-exporter-otlp-proto-http>=1.45.2
51
+ opentelemetry-exporter-prometheus>=0.66b2
52
+ prometheus-client>=0.26.0
53
+
54
+ [otel]
55
+ opentelemetry-api>=1.45.1
56
+ opentelemetry-sdk>=1.45.1
57
+ opentelemetry-instrumentation-fastapi>=0.40b0
58
+ opentelemetry-exporter-otlp>=1.20.0
59
+
60
+ [redis]
61
+ redis<9,>=5.0.7
62
+
63
+ [sentry]
64
+ sentry-sdk>=2.10.0
65
+
66
+ [snowflakekit]
67
+ snowflakekit<1.0,>=0.1.1
68
+
69
+ [websocket]
70
+ websockets<17,>=13.0