Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
645840b
Add GTN search database infrastructure
dannon Dec 16, 2025
78545c9
Add GTN training agent
dannon Dec 8, 2025
b825838
Tighten exception handling in GTN training agent
dannon Dec 16, 2025
4f9a293
Use sqlite3.Error in GTN search module
dannon Dec 8, 2025
3e0b04c
Backend formatting/cleanup (GTN portion)
dannon Dec 16, 2025
648ef4b
Cleaning up mypy (GTN portion)
dannon Dec 16, 2025
add1359
More linting fixes (GTN portion)
dannon Dec 16, 2025
48432ec
Fix Python 3.9 compatibility in GTN agent
dannon Dec 16, 2025
de87bd1
Add explicit agent_type to GTN training agent
dannon Dec 16, 2025
33a27f5
Improve type safety and exception handling in GTN agent
dannon Dec 16, 2025
c8e319b
Register GTN training agent
dannon Jan 26, 2026
66b4f4c
Fix lint and mypy issues in GTN agent
dannon Jan 27, 2026
c6822a1
Add GTN training handoff to router agent
dannon Jan 28, 2026
5777fe2
Add agent attribution and token usage to chat UI
dannon Jan 28, 2026
6987e21
Standardize agent response metadata across all agents
dannon Jan 28, 2026
de28d15
Fix GTN training suggestions and newline formatting
dannon Jan 28, 2026
6cc2790
Self-review cleanup: fix resource leaks, add download-on-first-use, s…
dannon Feb 26, 2026
aaee43b
Fix build_database.py to handle real-world GTN frontmatter quirks
dannon Feb 27, 2026
1c37427
Reduce GTN agent token usage by trimming search results and limiting …
dannon Mar 11, 2026
e482f82
Strip <mark> tags from FTS5 snippets and remove unused GTNSearchRequest
dannon Mar 11, 2026
c150f38
Point GTN database download URL to depot chatgxy path
dannon Mar 12, 2026
4646320
Catch RuntimeError from corrupt GTN database during agent init
dannon Mar 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ test/functional/tools/cwl_tools/v1.?/
# Involucro tool
involucro

# GTN search database (downloaded on first use)
lib/galaxy/agents/gtn/data/gtn_search.db

# Misc
*.orig
.DS_Store
Expand Down
3 changes: 3 additions & 0 deletions lib/galaxy/agents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
)
from .custom_tool import CustomToolAgent
from .error_analysis import ErrorAnalysisAgent
from .gtn_training import GTNTrainingAgent
from .orchestrator import WorkflowOrchestratorAgent
from .registry import AgentRegistry
from .router import QueryRouterAgent
Expand All @@ -27,6 +28,7 @@
"CustomToolAgent",
"WorkflowOrchestratorAgent",
"ToolRecommendationAgent",
"GTNTrainingAgent",
]

# Global agent registry instance
Expand All @@ -38,3 +40,4 @@
agent_registry.register(AgentType.CUSTOM_TOOL, CustomToolAgent)
agent_registry.register(AgentType.ORCHESTRATOR, WorkflowOrchestratorAgent)
agent_registry.register(AgentType.TOOL_RECOMMENDATION, ToolRecommendationAgent)
agent_registry.register(AgentType.GTN_TRAINING, GTNTrainingAgent)
1 change: 1 addition & 0 deletions lib/galaxy/agents/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ class AgentType:
CUSTOM_TOOL = "custom_tool"
ORCHESTRATOR = "orchestrator"
TOOL_RECOMMENDATION = "tool_recommendation"
GTN_TRAINING = "gtn_training"


# Internal agent response model (simplified for internal use)
Expand Down
14 changes: 14 additions & 0 deletions lib/galaxy/agents/gtn/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""
GTN (Galaxy Training Network) Integration Module.

This module provides search and retrieval capabilities for GTN tutorials
through a lightweight SQLite database with FTS5 full-text search.
"""

from .search import (
FAQResult,
GTNSearchDB,
SearchResult,
)

__all__ = ["GTNSearchDB", "SearchResult", "FAQResult"]
Loading
Loading