Observed since 21 Oct, 09:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Moss semantic search integration for Agora Conversational AI via MCP (streamable HTTP)
Moss semantic search for Agora Conversational AI, exposed as a single MCP tool (search_knowledge_base) over streamable HTTP.
Drop it behind a public URL, add one mcp_servers entry to your ConvoAI join body, and your voice agent can search your Moss index. Nothing else changes — the package never owns the LLM hop.
This is the Agora analog of vapi-moss and elevenlabs-moss.
pip install agora-moss
# or
uv add agora-moss
import uvicorn
from agora_moss import MossAgoraSearch, create_mcp_app
search = MossAgoraSearch(
project_id="moss-project-id",
project_key="moss-project-key",
index_name="my-index",
top_k=5,
alpha=0.8,
)
mcp = create_mcp_app(search)
app = mcp.streamable_http_app()
uvicorn.run(app, host="0.0.0.0", port=8080)
Expose the server at a public URL, then point Agora ConvoAI at it by adding this to your join body:
"llm": {
"mcp_servers": [{
"name": "moss",
"endpoint": "https://<public-host>/mcp",
"transport": "streamable_http",
"allowed_tools": ["search_knowledge_base"]
}]
},
"advanced_features": { "enable_tools": true }
Agora constraints (verified April 2026):
name: ≤48 chars, alphanumeric only (no hyphens / underscores).streamable_http only.advanced_features.enable_tools must be true.| Symbol | Kind | Purpose |
|---|---|---|
MossAgoraSearch(*, project_id, project_key, index_name, top_k=5, alpha=0.8) | class | Moss adapter; async load_index(), async search(query) -> AgoraSearchResult. |
create_mcp_app(search) -> FastMCP | function | Returns a FastMCP server exposing search_knowledge_base; runs search.load_index() in its lifespan. |
AgoraSearchResult | dataclass | documents: list[dict], `time_taken_ms: int |
See apps/agora-moss for a runnable end-to-end demo (Docker image + start_agent.py that calls ConvoAI's join REST).
moss>=1.0.0mcp>=1.2 (Model Context Protocol Python SDK, FastMCP)>=3.10,<3.15BSD-2-Clause. See repository root.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.1 | 4 Jun 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 09:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c4b55306292d74badb7cc130ecbe085a97697b908bb7ee36d4e65e8b82fea135