Concepts
Understand the core building blocks of SynapseKit.
📄️ How RAG Works
Retrieval-Augmented Generation (RAG) solves a fundamental limitation of LLMs: they can only answer questions about information in their training data.
📄️ How Agents Work
An agent is an LLM that can take actions. Instead of generating a single response, it decides what to do next, executes that action, observes the result, and repeats until the task is complete.
📄️ How Graph Workflows Work
SynapseKit's StateGraph lets you build reliable, stateful pipelines as directed acyclic graphs (DAGs). Nodes are Python functions. Edges define execution order. State flows through the graph as a shared dictionary that every node can read and write.
📄️ Embeddings and Vector Search
Embeddings are the foundation of semantic search, RAG, and recommendation systems. This guide explains what they are, how vector search works under the hood, and how to choose the right embedding model.
📄️ GroundedSignal
A small, stateless value type that tags any learning-relevant number — a reward, a quality score, a cost observation — with who vouched for it. Either the value came from something other than the agent under evaluation (an independent judge, a human, an EvalSuite), or the agent supplied it about itself (a bid estimate, a output["quality"] field, a self-graded score). Consumers — reputation stores, routers, eval gates, audit trails — treat a self-reported signal as discounted, filterable evidence rather than silently trusting it as ground truth.