Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
import { createSearchAPI } from 'fumadocs-core/search/server';
import { getDocsSearchIndexes } from '@/lib/search-index';
// Fallback/local search endpoint. Production search uses Algolia from the client
// when NEXT_PUBLIC_ALGOLIA_* variables are configured.
export const { GET } = createSearchAPI('advanced', {
indexes: getDocsSearchIndexes,
});