MCPcopy Create free account

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

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

Functiongraphiti_upsert_node
(state: IngestionState)
src/app/shared/langgraph_layer/ingestion_kb/nodes.py:351
Functiongrounding_verification_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:646
Methodhard_delete
(self, user: User)
src/app/features/users/repository.py:69
Methodhas_permission
(self, permission: Permission)
src/app/features/auth/model.py:91
Methodhas_role
(self, *roles: UserRole)
src/app/features/auth/model.py:94
Methodhead_bucket
(self)
src/app/shared/services/storage.py:170
Methodhead_object
(self, *, key: str)
src/app/shared/services/storage.py:167
Functionhealth
Deep health check — probes all critical dependencies in parallel.
src/app/main.py:119
Functionhealth_check
()
src/mcp_core/server/tools.py:181
Functionhealth_report
System health summary workflow.
src/mcp_core/server/prompts.py:111
Functionhealth_resource
()
src/mcp_core/server/resources.py:108
Functionhuman_review_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:673
Functionhybrid_retrieval_node
(state: RetrievalState)
src/app/shared/langgraph_layer/retrieval_kb/nodes.py:172
Functionhybrid_retrieve_precedents
Retrieve legal precedents using hybrid vector + knowledge graph search. Combines: 1. pgvector semantic clause search (user's histor
src/app/shared/langchain_layer/agents/tools/precedent_tools.py:50
Functionhybrid_search
( payload: HybridSearchRequest, service: SearchServiceDep, )
src/app/features/search/router.py:53
Functionimpersonate_user
( user_id: Annotated[str, Path()], service: UserAdminServiceDep, claims: Annotated[TokenClaims, De
src/app/features/users/router.py:130
Methodincrement_rate_limit
Increment rate limit counter.
src/app/shared/services/rate_limiter.py:97
Functioningest_all
( progress_callback: Callable[..., None] | None = None, )
src/app/shared/rag/document_processing/ingest_v2.py:399
Functioningest_document
( payload: SearchIngestRequest, service: SearchServiceDep, )
src/app/features/search/router.py:29
Functioningest_document
( self: ResilientTask, *, document_id: str, user_id: str, filename: str, content_type:
src/tasks/document_tasks.py:32
Functioningest_document_node
(state: DocumentIngestionState)
src/app/features/documents/ingestion_graph.py:74
Functioningest_extractions_to_graph
Convert grounded LangExtract output → property graph nodes/rels.
src/app/shared/rag/langextract/langextract_to_graph.py:21
Functioningest_one
(file_path: str)
src/app/shared/rag/document_processing/ingest_v2.py:409
Functioningest_pageindex_document
(file_path: str, user_id: str)
src/tasks/pageindex_tasks.py:5
Functioningest_search_document
Chunk, embed, and persist search data for a queued document.
src/tasks/search_tasks.py:33
Functioningestion_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:325
Methodinitialize_agent
(self, agent_handler: Any)
src/app/utils/cache/redis_protocol_adapter.py:18
Functioninitialize_chunking
Initialize chunking dependencies. Args: config: Chunking configuration Returns: Tuple of (tokenizer, hybrid_chunker)
src/app/shared/rag/document_processing/chunker.py:253
Methodinject_dynamic_prompt
(state, request)
src/app/shared/langchain_layer/agents/middlewares/guardrails.py:274
Methodinject_todos
(state, request)
src/app/shared/langchain_layer/agents/middlewares/guardrails.py:91
Functioninteraction_error_wrapper
(**kwargs: Any)
src/mcp_core/client/auth.py:99
Functioninvalidate_all_user_caches
Mass invalidate all user caches (use carefully!).
src/app/examples/redis_examples.py:395
Functionlegal_document_extraction_batch_task
Celery entrypoint — runs in dedicated worker pool.
src/tasks/document_extraction_tasks.py:13
Functionlifespan
Manage application startup and shutdown with parallel execution.
src/app/lifecycle/lifespan.py:97
Methodlimit_fields
Apply field limiting (projection).
src/app/utils/api_features.py:70
Methodlist_allowed_tools
(self, server_name: str)
src/mcp_core/client/manager.py:48
Functionlist_directory
List files in a directory, optionally filtering by glob pattern.
src/app/shared/langchain_layer/agents/tools/shell.py:131
Methodlist_keys
List all keys in a namespace.
src/app/shared/langchain_layer/agents/memory/cognee_client.py:318
Functionlist_multipart_upload_parts
( storage: StorageService, *, key: str, upload_id: str )
src/app/shared/services/storage.py:800
Functionlist_objects
( storage: StorageService, *, prefix: str = "", max_keys: int = 1000 )
src/app/shared/services/storage.py:764
Methodlist_objects
(self, *, prefix: str, max_keys: int)
src/app/shared/services/storage.py:173
Methodlist_parts
(self, *, key: str, upload_id: str)
src/app/shared/services/storage.py:238
Methodlist_prompts
(self)
src/mcp_core/testing.py:50
Methodlist_remote_tools
(self, server_name: str)
src/mcp_core/client/manager.py:92
Methodlist_resources
(self)
src/mcp_core/testing.py:45
Functionlist_sessions
( claims: CurrentClaims, service: AuthServiceDep, )
src/app/features/auth/router.py:318
Functionlist_upstream_servers
(limit: int = 10, offset: int = 0)
src/mcp_core/server/tools.py:319
Functionlist_users
( service: UserAdminServiceDep, page: Annotated[int, Query(ge=1)] = 1, per_page: Annotated[int, Qu
src/app/features/users/router.py:27
Methodlist_users
Return (items, total_count) for the requested page.
src/app/features/users/repository.py:30
Functionlog_activity_endpoint
Log user activity. Endpoint example: POST /api/v1/users/123/activity { "timestamp": "2024-01-15T10:30:00Z", "action": "lo
src/app/examples/redis_examples.py:269
Functionlog_task_failure
( task_id: str | None = None, exception: BaseException | None = None, sender: Task | None = None,
src/app/connections/celery.py:345
Functionlog_task_postrun
( task_id: str | None = None, task: Task | None = None, state: str | None = None, **_: Any, )
src/app/connections/celery.py:312
Functionlog_task_prerun
( task_id: str | None = None, task: Task | None = None, args: tuple[Any, ...] | None = None, k
src/app/connections/celery.py:291
Functionlog_task_published
( sender: str | None = None, headers: dict[str, Any] | None = None, exchange: str | None = None,
src/app/connections/celery.py:275
Functionlog_task_retry
( request: Any | None = None, reason: BaseException | None = None, **_: Any, )
src/app/connections/celery.py:327
Functionlogin
( body: LoginRequest, request: Request, response: Response, service: AuthServiceDep, )
src/app/features/auth/router.py:116
Functionlogout
( body: LogoutRequest, response: Response, service: AuthServiceDep, )
src/app/features/auth/router.py:138
Functionmain
()
src/lynk/cmd/lynk/main.go:10
Functionmain
()
scripts/replay_outbox.py:59
Functionmake_deep_research_tool
Build a ToolNode-compatible deep research tool.
src/app/shared/langgraph_layer/open_deep_search/tools.py:46
Functionmake_detect_graph_conflicts_tool
Tool: detect contradicting obligations in the knowledge graph. Finds circular obligations (A owes B who owes A) and override chains (clause o
src/app/shared/langchain_layer/agents/tools/precedent_tools.py:153
Functionmake_hybrid_retrieve_precedents_tool
Factory: hybrid precedent retrieval tool. Step 1: pgvector — find N most similar clauses from user's history Step 2: Graphiti — semantic enti
src/app/shared/langchain_layer/agents/tools/precedent_tools.py:35
Functionmake_mock_user
(**kwargs)
tests/conftest.py:93
Functionmake_structured_tool
Wrap an async function as a StructuredTool with typed input. Automatically registers it in the global registry.
src/app/shared/langchain_layer/agents/tools/base.py:149
Functionmanage_context
Unified context management. Call before passing messages to a model. strategy="summarize" (default): LLM-based; best quality. strategy="
src/app/shared/langchain_layer/messages.py:157
Functionmark_for_removal
Return RemoveMessage objects for LangGraph's add_messages reducer. Use inside a graph node to delete specific messages from state.
src/app/shared/langchain_layer/messages.py:199
Functionmetrics
Prometheus metrics endpoint — served via OTel PrometheusMetricReader.
src/app/main.py:153
Methodmodel_post_init
(self, __context: object)
src/app/shared/langchain_layer/agents/middlewares/guardrails.py:45
Methodmodel_post_init
(self, __context: object)
src/app/config/settings.py:371
Methodnames
(self)
src/app/shared/langchain_layer/agents/tools/base.py:91
Methodnamespace_prefix
(self)
src/mcp_core/common/models.py:68
Functionnormalization_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:393
Functionoauth_authorize
( provider: Annotated[str, Path()], response: Response, service: AuthServiceDep, )
src/app/features/auth/router.py:220
Functionoauth_callback
( provider: Annotated[str, Path()], request: Request, code: Annotated[str | None, Query()] = None,
src/app/features/auth/router.py:243
Functionobject_exists
(storage: StorageService, *, key: str)
src/app/shared/services/storage.py:760
Methodok
(cls, data: dict[str, Any], **meta: Any)
src/app/shared/langchain_layer/agents/tools/idempotency.py:46
Methodon_failure
( self, exc: Any, task_id: str, args: Any, kwargs: Any, einfo:
src/app/connections/celery.py:144
Methodon_llm_end
(self, *args: Any, run_id: UUID, **kwargs: Any)
src/app/shared/langchain_layer/callback.py:41
Methodon_llm_end
(self, response: Any, **kwargs: Any)
src/app/shared/langchain_layer/callback.py:62
Methodon_llm_end
(self, *args: Any, **kwargs: Any)
src/app/shared/langchain_layer/callback.py:91
Methodon_llm_error
(self, *args: Any, run_id: UUID, **kwargs: Any)
src/app/shared/langchain_layer/callback.py:47
Methodon_llm_error
(self, *args: Any, **kwargs: Any)
src/app/shared/langchain_layer/callback.py:94
Methodon_llm_new_token
(self, token: str, **kwargs: Any)
src/app/shared/langchain_layer/callback.py:88
Methodon_llm_start
(self, *args: Any, run_id: UUID, **kwargs: Any)
src/app/shared/langchain_layer/callback.py:38
Methodon_retry
( self, exc: Any, task_id: str, args: Any, kwargs: Any, einfo:
src/app/connections/celery.py:128
Methodon_success
( self, retval: Any, task_id: str, args: Any, kwargs: Any, )
src/app/connections/celery.py:163
Methodon_success
( self, retval: Any, task_id: str, args: tuple[Any, ...], kwargs: dict
src/app/connections/celery_registry.py:111
Functionorchestrator_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:200
Functionotel_sink
(message)
src/app/shared/otel/logs.py:38
Functionoverride_reducer
Reducer function that allows overriding values in state.
src/app/shared/langgraph_layer/open_deep_search/state.py:62
Methodpaginate
Apply offset-based pagination.
src/app/utils/api_features.py:80
Methodparse
(self, text: str)
src/app/utils/toon_parser.py:10
Functionparse_document_node
(state: IngestionState)
src/app/shared/langgraph_layer/ingestion_kb/nodes.py:90
Functionparse_mcp_http_transport
(value: str)
src/mcp_core/common/models.py:88
Methodparse_todo_commands
(state, response)
src/app/shared/langchain_layer/agents/middlewares/guardrails.py:111
Methodpassword_strong_enough
(cls, v: str)
src/app/features/auth/dto.py:18
Methodpassword_strong_enough
(cls, v: str)
src/app/features/auth/dto.py:74
Methodpassword_strong_enough
(cls, v: str)
src/app/features/profile/dto.py:21
Functionpersist_memory_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:773
Functionplanner_node
(state: LegalAgentState)
src/app/shared/langgraph_layer/agent_saul/nodes.py:268
← previousnext →1,101–1,200 of 1,424, ranked by callers