Osy#the first language built for agents
Agents firstAgentic appsWorkflowsDurable Execution — built inSecurityTestingThe editorThe UI modelOne program

Reference

Memory

9 pages.

Search

How you make text findable in Osy#. You never touch a vector, an index, or an embedder — you mark a text field [Searchable] and search it. The one…

How retrieval works

What happens between `Memory.Search("…")` and the list you get back — indexing, matching, ranking and the two narrowings — written out as one…

Memory.Link / Memory.Unlink

State that two records are related, in your app's own words — "supersedes, because it was renegotiated after the Q2 review". Every search hit about…

Memory.Remember / Memory.Forget

Put a file's text into the app's searchable memory, filed against the record it is about — and take it back out again. Uploading a file does not do…

Memory.Statistics / Memory.Prune

`Memory.Statistics` reports what your memory costs and what pruning at a given date would free — counted with the very rule the prune acts on, so it…

SearchHit

One result of a semantic search — the matched text, how relevant it was, where it came from, when it was learned, and what its record connects to…

[Searchable]

Mark a text field searchable. `[Searchable]` gives a String or Markdown property the best relevance search the app can offer — full-text always…

field search (Matches / TextScore / Similarity)

Rank an entity's own rows by a query on an [Searchable(Entity)] field. Matches is the keyword filter (bool), TextScore is the full-text relevance…

using Memory (semantic search)

Opt into semantic (vector) search over your app's content. `using Memory;` adds a searchable store to the app; `Memory.Search("…")` returns the…