Skip to main content
Connect Agno agents to Moss with agno-moss. Moss manages embeddings internally and serves queries from an in-memory runtime, so Agno agents get fast response without running a separate embedder or vector database.

Why use Moss with Agno?

Agno’s Knowledge interface is the standard way to plug external knowledge into agents. Moss delivers sub-10ms semantic search that slots directly into this interface via MossRuntime, giving your agents fast, accurate retrieval without the latency overhead of a standalone vector database.

Required tools

  • Moss project credentials from the Moss Portal
  • Python 3.10+
  • An Agno-compatible model provider, such as OpenAI or Anthropic

Integration guide

1

Install

2

Configure credentials

Set your Moss credentials in the environment. MossRuntime reads these automatically when project_id and project_key are omitted.
3

Create Agno knowledge backed by Moss

Point Agno Knowledge at MossRuntime, then enable search_knowledge on your agent.

Configuration

MossRuntime

Model providers

Use any Agno-compatible model provider. For example: