MCPcopy Create free account

hub / github.com/Harmeet10000/AgentNexus-LangChain-FastAPI / functions

Functions1,424 in github.com/Harmeet10000/AgentNexus-LangChain-FastAPI

Methodprobe_ttl_ms
(self)
src/app/shared/circuit_breaker/service.py:38
Functionprocess_document
Example task: Process a document with resilient defaults.
src/tasks/example.py:21
Functionprocess_document_ingestion
( *, document_id: str, user_id: str, filename: str, content_type: str, object_uri: str
src/app/features/documents/service.py:452
Functionprocess_documents_batch
Process multiple documents concurrently.
src/app/shared/rag/document_processing/docling_enhanced.py:388
Functionprocess_payment
(user_id: int, amount: float)
src/app/examples/logger_usage_example.py:37
Methodprocessor
(self)
src/app/features/crawler/service.py:57
Functionput_object
( storage: StorageService, *, key: str, data: bytes, content_type: str, metadata: dict[str, str] )
src/app/shared/services/storage.py:732
Methodput_object
( self, *, key: str, data: bytes, content_type: str, metadata:
src/app/shared/services/storage.py:143
Methodput_object
( self, *, key: str, data: bytes, content_type: str, metadata:
src/app/shared/services/storage.py:284
Functionqna_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:147
Functionquery_analyzer_node
(state: RetrievalState)
src/app/shared/langgraph_layer/retrieval_kb/nodes.py:93
Functionquery_knowledge_graph
Query the legal knowledge graph for risk-relevant context. Searches across: - Current document's clause episodes (doc-scoped)
src/app/shared/langchain_layer/agents/tools/query_knowledge_graph.py:40
Functionrag_search
( payload: RagSearchRequest, service: SearchServiceDep, )
src/app/features/search/router.py:64
Functionrate_limit_dependency
(request: Request)
src/app/utils/rate_limit/dependencies.py:20
Methodrate_limiter
(self)
src/app/features/crawler/service.py:63
Functionread_file
Read the contents of a file and return them as a string.
src/app/shared/langchain_layer/agents/tools/shell.py:97
Methodread_resource
(self, uri: str)
src/mcp_core/testing.py:35
Functionreadiness_check
()
src/mcp_core/server/tools.py:196
Functionreconcile_node
(state: ReconciliationState)
src/app/shared/langgraph_layer/reconciliation/nodes.py:136
Methodrecovery_timeout_ms
(self)
src/app/shared/circuit_breaker/service.py:34
Functionredact_sensitive_data
Intercepts the log record and blanks out dangerous keys.
src/app/utils/logger.py:87
Functionredis
()
tests/conftest.py:76
Functionrefresh_token
( body: RefreshRequest, response: Response, service: AuthServiceDep, )
src/app/features/auth/router.py:149
Functionrefresh_token_repo
(redis)
tests/conftest.py:82
Functionregister
( body: RegisterRequest, service: AuthServiceDep, )
src/app/features/auth/router.py:103
Methodregister
(cls, task_name: str, payload_model: type[CeleryTaskPayload])
src/app/connections/celery_registry.py:58
Functionregister_tool
Decorator to register a @tool-decorated function in the global registry. Usage:: @register_tool("search", "web") @tool
src/app/shared/langchain_layer/agents/tools/base.py:125
Functionrelationship_mapping_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:522
Functionremove_from_list
Remove items from a Redis list. Args: redis: Redis client instance object_type: Entity type for namespacing key: List key
src/app/utils/cache/redis_func.py:705
Functionreranker_node
(state: RetrievalState)
src/app/shared/langgraph_layer/retrieval_kb/nodes.py:201
Functionresearcher
Conduct focused research on one supervisor-assigned topic.
src/app/shared/langgraph_layer/open_deep_search/graph.py:274
Functionresearcher_tools
Execute researcher tool calls.
src/app/shared/langgraph_layer/open_deep_search/graph.py:331
Functionresend_verification
( body: ResendVerificationRequest, service: AuthServiceDep, )
src/app/features/auth/router.py:183
Functionreset_password
( body: ResetPasswordRequest, service: AuthServiceDep, )
src/app/features/auth/router.py:208
Methodresume_after_approval
Resume a paused (human-in-the-loop) agent after human approval. Call this after updating the agent's state via LangGraph's update_sta
src/app/shared/langchain_layer/agents/factory.py:310
Functionretrieve_full_document
Retrieve the full content of a specific document by title. Use this when chunks don't provide enough context or when you need to see the
src/app/shared/rag/rag_agent_advanced.py:287
Functionretrieve_statute_section
Retrieve the exact text of a specific statute section. Use this when you already know the statute and section number. For discovery (
src/app/shared/langchain_layer/agents/tools/retrieve_statute_section.py:42
Functionrevoke_all_sessions
( claims: CurrentClaims, service: AuthServiceDep, keep_current: Annotated[bool, Query()] = True, )
src/app/features/auth/router.py:340
Functionrevoke_session
( session_id: Annotated[str, Path()], claims: CurrentClaims, service: AuthServiceDep, )
src/app/features/auth/router.py:330
Methodrevoke_session
( self, session_id: str, user_id: str, reason: str = "logout", )
src/app/features/auth/repository.py:302
Functionrisk_analysis_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:548
Methodrisk_tools
(self)
src/app/shared/rag/graphiti/registry.py:90
Functionroot
Root endpoint - health check.
src/app/main.py:110
Functionroute_after_qna
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:191
Functionroute_deep_research
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:817
Functionroute_from_orchestrator
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:246
Functionroute_researcher
Router: crawl calls go to crawl_executor, other tool calls go to researcher_tools.
src/app/shared/langgraph_layer/open_deep_search/graph.py:301
Functionrun_all_seeders
Run all seeders in order.
src/database/seeders/run_seeders.py:4
Functionrun_deep_research
( question: str, allow_clarification: bool = False, max_concurrent_research_units: int
src/app/shared/langgraph_layer/open_deep_search/tools.py:52
Functionrun_memory_decay
Run memory decay from a synchronous task runner.
src/tasks/memory_decay_reconciliation_tasks.py:179
Functionrun_reconciliation_for_active_users
Run reconciliation for an already-resolved set of active users.
src/tasks/memory_decay_reconciliation_tasks.py:197
Functionrun_reconciliation_for_user
Run reconciliation for a single user.
src/tasks/memory_decay_reconciliation_tasks.py:185
Functionsaul_ws_endpoint
WebSocket session lifecycle: 1. Accept connection. 2. Receive first frame — MUST be WSStartMessage. 3. Delegate entirely to Ag
src/app/features/agent_saul/router.py:72
Functionscope_from_router_decision
Build a validated scope from router-produced structured output.
src/app/shared/langchain_layer/agents/memory/memory_scope.py:202
Functionsearch
( query: str, limit: int = 5, offset: int = 0, )
src/mcp_core/server/tools.py:245
Functionsearch_episodic_memory
Retrieve relevant past decisions from Cognee's episodic memory. Uses recall() with auto-routing — returns structured knowledge, not raw chunk
src/app/shared/langchain_layer/agents/memory/cognee_client.py:219
Functionsearch_for_precedent_chains
Search the knowledge graph for compliance precedents. Searches user's historical approved reports — the highest-trust episodic memory — to fi
src/app/shared/rag/graphiti/client.py:409
Functionsearch_for_risk_context
Search the knowledge graph for risk-relevant context. Searches across: - Current document episodes (group_id=doc_id) for clause-level context
src/app/shared/rag/graphiti/client.py:356
Functionsearch_index
Search a Redis search index (FT.SEARCH). Args: redis: Redis client instance index_name: Name of the index to search query
src/app/utils/cache/redis_func.py:1146
Functionsearch_knowledge_base
Standard semantic search over chunks. Args: query: The search query limit: Maximum number of results Returns: F
src/app/shared/rag/rag_agent_advanced.py:243
Functionsearch_legal_precedents
Search for legal precedents and statutes relevant to a clause. Combines Graphiti knowledge graph (prior approved documents) with Post
src/app/shared/langchain_layer/agents/tools/search_legal_precedents.py:55
Functionsearch_web
Search the web using Tavily. - **query**: Search query - **max_results**: Maximum number of results (max 20) - **include_answer**: I
src/app/features/crawler/router.py:73
Functionsearch_with_multi_query
Search using multiple query variations in parallel (Multi-Query RAG). This combines query expansion with parallel execution for better recal
src/app/shared/rag/rag_agent_advanced.py:94
Functionsearch_with_reranking
Two-stage retrieval: Fast vector search + precise cross-encoder re-ranking. Args: query: The search query limit: Final numbe
src/app/shared/rag/rag_agent_advanced.py:174
Functionsearch_with_self_reflection
Self-reflective search: evaluate results and refine if needed. This implements a simple self-reflection loop: 1. Perform initial search
src/app/shared/rag/rag_agent_advanced.py:343
Functionsegment_document_node
(state: IngestionState)
src/app/shared/langgraph_layer/ingestion_kb/nodes.py:152
Functionsegmentation_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:427
Functionsend_email
()
src/tasks/auth_email_tasks.py:31
Functionsend_email
()
src/tasks/auth_email_tasks_typed.py:69
Functionsend_password_reset_email
Deliver password reset link. Wire your mailer of choice here.
src/tasks/auth_email_tasks.py:64
Functionsend_password_reset_email
Deliver password reset link. Wire your mailer of choice here.
src/tasks/auth_email_tasks_typed.py:102
Functionsend_verification_email
Deliver email verification link. Wire your mailer of choice here.
src/tasks/auth_email_tasks.py:14
Functionsend_verification_email
Deliver email verification link. Wire your mailer of choice here.
src/tasks/auth_email_tasks_typed.py:47
Methodsend_wrapper
(message: dict)
src/app/middleware/server_middleware.py:64
Functionserve_mcp
(parent_app: FastAPI)
src/mcp_core/lifespan_mcp.py:25
Methodset_active
(self, user: User, *, is_active: bool)
src/app/features/users/repository.py:64
Functionset_hash
Store a hash (object-like) in Redis. Args: redis: Redis client instance object_type: Entity type for namespacing key: Has
src/app/utils/cache/redis_func.py:311
Methodset_key
( self, namespace: str, key: str, value: Any, ttl: int | None = None )
src/app/utils/cache/redis_protocol_adapter.py:28
Functionset_stored_mcp_tokens
(config: RunnableConfig, tokens: dict[str, Any])
src/mcp_core/client/auth.py:85
Functionsetup_celery
Verify Celery connection to RabbitMQ.
src/app/lifecycle/lifespan.py:82
Functionsetup_langgraph_checkpointer
Initialize AsyncPostgresSaver using existing PostgreSQL connection. AsyncPostgresSaver creates its own async connection pool, reusing th
src/app/shared/langgraph_layer/checkpointer.py:27
Functionsetup_signal_handlers
Defer SIGINT and SIGTERM handling to the ASGI server.
src/app/lifecycle/signals.py:6
Functionshell_tool
Execute a shell command and return stdout/stderr. Use carefully — only for trusted, sandboxed environments.
src/app/shared/langchain_layer/agents/tools/shell.py:43
Functionshould_retry_or_generate
(state: RetrievalState)
src/app/shared/langgraph_layer/retrieval_kb/nodes.py:309
Functionshould_run_graph
(state: RetrievalState)
src/app/shared/langgraph_layer/retrieval_kb/nodes.py:302
Functionsmart_chunk_markdown
Hierarchically split markdown by #, ##, ### headers, then by characters. Ensures all chunks are less than max_len while preserving header co
src/app/shared/crawler/chunker.py:30
Functionstop_mcp
(handle: MCPServerHandle | None)
src/mcp_core/lifespan_mcp.py:45
Functionstore_final_report
Store a human-approved final report in Cognee's episodic memory. Dataset name: {user_id}.legal_reports After remember() + improve(), the repo
src/app/shared/langchain_layer/agents/memory/cognee_client.py:121
Functionstore_relationships
Store the legal relationship graph summary in Cognee. Stored in {user_id}.legal_relationships — allows querying patterns like 'contracts wher
src/app/shared/langchain_layer/agents/memory/cognee_client.py:173
Methodstrip_whitespace
Strip leading/trailing whitespace from optional fields.
src/app/shared/langchain_layer/prompts.py:88
Methodsubmit_document
Submit for indexing. Prefer Celery for production.
src/app/shared/rag/pageindex/client.py:74
Functionsupervisor
Plan research and delegate focused topics to researcher subgraphs.
src/app/shared/langgraph_layer/open_deep_search/graph.py:136
Functionsupervisor_tools
Execute supervisor tool calls for reflection and research delegation.
src/app/shared/langgraph_layer/open_deep_search/graph.py:158
Functiontavily_search
Fetch and summarize Tavily search results.
src/app/shared/langgraph_layer/open_deep_search/utils.py:39
Methodtest_acquire_returns_allow_when_closed
(self)
tests/unit/test_circuit_breaker.py:17
Functiontest_already_correct_dim
()
tests/unit/documents/test_normalize_embedding.py:12
Functiontest_assemble_rag_context_groups_by_document_and_merges_adjacent_chunks
()
tests/unit/search/test_rag.py:4
Methodtest_assemble_rag_context_groups_chunks_by_document
(self)
tests/integration/test_search.py:192
Methodtest_assemble_rag_context_respects_max_tokens
(self)
tests/integration/test_search.py:219
Methodtest_bypass_cache_skips_redis
(self, redis)
tests/integration/test_search.py:290
← previousnext →1,201–1,300 of 1,424, ranked by callers