Buckets:

download
raw
5.3 kB
# Copyright Thales 2026
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Agent registry for the standalone Fred agents pod.
Why this module exists:
- `create_agent_app(...)` expects a `dict[str, ReActAgentDefinition]`
- keeping registry assembly here keeps HTTP bootstrap separate from agent code
How to use it:
- import `REGISTRY` from `fred_agents.main`
- add future agent definitions to this module as the pod grows
Example:
- `from fred_agents.agents import REGISTRY`
"""
from fred_sdk.contracts.models import GraphAgentDefinition, ReActAgentDefinition
from fred_agents.comparison import COMPARISON_AGENT
from fred_agents.deep_assistant import DEEP_ASSISTANT_AGENT
from fred_agents.general_assistant import GENERAL_ASSISTANT_AGENT
from fred_agents.mindmap import MINDMAP_AGENT
from fred_agents.platform_ops import PLATFORM_OPS_AGENT
from fred_agents.rag_expert import RAG_EXPERT_AGENT
from fred_agents.react_rag_mcp import REACT_RAG_MCP_AGENT
from fred_agents.self_test import SELF_TEST_AGENT
from fred_agents.sentinel import SENTINEL_AGENT
from fred_agents.sql_expert import SQL_EXPERT_AGENT
from fred_agents.test_assistant.graph_agent import TEST_ASSISTANT_AGENT
def build_registry() -> dict[str, ReActAgentDefinition | GraphAgentDefinition]:
"""
Build the pod agent registry.
Agent lineup:
- fred.github.assistant General-purpose ReAct agent. Pure LLM baseline,
no MCP by default. Admins equip it with catalog
MCP servers via the control-plane agent form.
First entry → default agent in fred-agents-cli.
- fred.github.deep_assistant General-purpose deep-agent (LangGraph planner)
counterpart to fred.github.assistant. No
filesystem MCP by default (DeepAgentRuntime's
filesystem-tool guard blocks it until an
operator adds it explicitly).
- fred.github.sentinel Monitoring ReAct agent. Requires OpenSearch MCP.
Expected to fail gracefully in standalone mode —
useful for validating error detection and handling.
- fred.github.rag_expert Document-grounded ReAct agent (Rico). Uses the Fred
built-in knowledge.search declared_tool_ref (not
MCP). Reference for ReAct/built-in-tool pattern.
- fred.github.react_rag_mcp Document-grounded ReAct template backed by the
Knowledge Flow MCP text-search server. Exposes
library picker, search policy, and RAG scope in
the Tools tab. Operator sets the name at
enrollment time.
- fred.github.platform_ops Read-only admin-ops ReAct template. Defaults to
the `platform_postgres` capability (read-only SQL
over the platform database). ADMIN_GATED like
every template; the capability is server-enforced
read-only.
- fred.dt.mindmap.graph Graph agent that turns grounded transcript
material into a structured `mindmap-json`
payload for frontend visualization.
- fred.dt.comparison.graph Graph agent that compares two picked documents via
the targeted `similarity_search` MCP tool and reports
agreements / contradictions / gaps. Showcase for the
comparison primitive (FILES-03); the LLM only judges.
- fred.github.test_assistant No-LLM graph agent. Exercises every SSE event
type without any external service. Used for UI
validation and integration scenario testing.
"""
return {
# First entry is the default agent selected by fred-agents-cli on connect.
GENERAL_ASSISTANT_AGENT.agent_id: GENERAL_ASSISTANT_AGENT,
DEEP_ASSISTANT_AGENT.agent_id: DEEP_ASSISTANT_AGENT,
SENTINEL_AGENT.agent_id: SENTINEL_AGENT,
RAG_EXPERT_AGENT.agent_id: RAG_EXPERT_AGENT,
REACT_RAG_MCP_AGENT.agent_id: REACT_RAG_MCP_AGENT,
MINDMAP_AGENT.agent_id: MINDMAP_AGENT,
COMPARISON_AGENT.agent_id: COMPARISON_AGENT,
SQL_EXPERT_AGENT.agent_id: SQL_EXPERT_AGENT,
PLATFORM_OPS_AGENT.agent_id: PLATFORM_OPS_AGENT,
TEST_ASSISTANT_AGENT.agent_id: TEST_ASSISTANT_AGENT,
SELF_TEST_AGENT.agent_id: SELF_TEST_AGENT,
}
REGISTRY: dict[str, ReActAgentDefinition | GraphAgentDefinition] = build_registry()

Xet Storage Details

Size:
5.3 kB
·
Xet hash:
ab42a7f60966de93be63e00aa50d463c26c8fef6d722a667adcf318bc575da9c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.