Embeddings
Choose the embedding model behind PentAGI's memory and knowledge search.
Embeddings power semantic search over memorymemoryWhat agents keep so they can build on earlier work instead of starting from scratch: long-term, working and episodic memory., the knowledge baseknowledge baseThe documents that agents can search, kept in the vector store. and past results. OpenAI is the default providerproviderA service or server that gives PentAGI its language models, such as OpenAI, Anthropic or a local Ollama.; with no EMBEDDING_ set it uses text-embedding-ada-002. An example configuration in .env:
EMBEDDING_PROVIDER=openai # openai, ollama, mistral, jina, huggingface, googleai, voyageai
EMBEDDING_MODEL=text-embedding-3-small
# optional custom endpoint
EMBEDDING_URL=
# provider API key, if required
EMBEDDING_KEY=
EMBEDDING_BATCH_SIZE=512 # default
EMBEDDING_MAX_TEXT_BYTES=8192 # defaultAny service that implements OpenAI's / API works with EMBEDDING_ and a custom EMBEDDING_.
If you change the embedding provider or model, recompute the stored vectors with docker exec -it pentagi / — vectors from different models are not comparable. Do not run etester flush for this: it deletes every stored document, the knowledge base included.
Custom CA certificates
If a model backend or tooltoolWhat an agent acts through: a built-in capability such as the terminal, the isolated browser or web search, or a program in the sandbox such as nmap, metasploit or sqlmap. server uses a private CA and you see x509: certificate signed by unknown authority, put the PEM bundle into the pentagi-ssl volume and point PentAGI at it:
EXTERNAL_SSL_CA_PATH=/opt/pentagi/ssl/ca-bundle.pem
EXTERNAL_SSL_INSECURE=falseThen restart with docker compose up -d pentagi.
Last updated on
LLM providers
Connect PentAGI to built-in providers such as OpenAI, Anthropic, Gemini, Bedrock and Ollama, or to any OpenAI-compatible endpoint, with failover.
Search engines
Give agents fresh information from the web and exploit databases through DuckDuckGo, Sploitus, Tavily, SearXNG, Perplexity and other engines.