Appearance
Memory and search
Agents on this platform need two kinds of external knowledge. Memory holds what the system has learned about its users and work over time. Search and extraction bring in what is current on the open web. Both are separate services with their own storage and failure modes, and Hermes consults them only when a request calls for them.
Long-term memory
Memory is provided by Hindsight, a memory service that retains and recalls information for the agent. Its storage is PostgreSQL with the pgvector extension, so vector retrieval sits in the same database engine the rest of the platform already operates and backs up.
| Aspect | Approach |
|---|---|
| Storage | PostgreSQL with pgvector |
| Retention | Agents write observations and outcomes to memory |
| Recall | Hermes retrieves relevant context before composing a response |
| Isolation | Memory is partitioned into separate banks per deployment and agent context |
Web search and extraction
Search is handled by SearXNG, a self-hosted metasearch engine that queries several providers at once. Extraction of page content is handled by a self-hosted Firecrawl service. Keeping both in-house gives control over what is requested and avoids a dependency on a single search vendor.
- Several engines are queried in parallel rather than as a fallback chain, which improves coverage.
- A paid search API is used as one engine among others, and specific requests can exclude it to control cost.
- Timeouts are short and retries are off by default, so a slow provider degrades the answer instead of stalling it.
- Autocomplete and other chatty features are disabled to keep outbound traffic to what the task needs.
Related pages
Design decisions
- Memory is a service, not a prompt. Storing memory outside the agent means it survives redeploys and can be inspected and pruned.
- Postgres as the common substrate. One well-understood database for relational data and vectors reduces operational surface.
- Self-hosted search. Running the metasearch layer locally avoids vendor lock-in and gives control over rate and privacy.
- Fail soft. A missing source produces a weaker answer with fewer citations rather than a failed request.
- Explicit retrieval. Memory and search are called deliberately, which keeps latency and cost predictable.