v1.0.0

Core concepts

Updated 30 Nov 2026Edit this page

The vocabulary of AgenticMind. Projects and revisions, nodes and versions, ports and types, data and control edges, runs and run targets, handles, secrets, traces and checkpoints.

Project

A project is one workflow: a graph plus its uploaded files, run history, memory, datasets, evaluations, deployments and GitHub link. Projects are listed under avatar → My projects and in Settings → Projects.

Revision

Every Save appends an immutable revision of the project’s graph. Revisions are numbered, store the canonical IR and its SHA-256 content hash, and saving identical content is a no-op. Saves use optimistic concurrency (expected_revision), so two editors cannot silently overwrite each other.

Run always executes the latest saved revision, and every run records the IR snapshot and hash it executed, so a result can always be traced to the exact architecture that produced it.

The IR (intermediate representation)

The graph is stored as a JSON document called the IR: ir_version, project, runtime, nodes, edges and metadata. It has a published JSON Schema (GET /api/ir/schema), rejects unknown fields, and has a canonical form (sorted keys and IDs) that makes diffs readable. IR is what Export IR downloads, what GitHub sync commits, and what the compiler turns into an app. See The IR.

Node

A node is one step: an instance of a node type such as agenticmind.rag.retriever at a specific version such as 1.0.0. Each node type has a manifest (a contract) that declares:

  • its input and output ports and their types;
  • its control branches;
  • its configuration schema (which drives the inspector form);
  • its permissions (network, filesystem, database, subprocess, credentials, artifacts, memory);
  • its execution policy (timeout, maximum attempts, whether it is idempotent).

Node versions are semantic and exact: a project that uses LLM 1.1.0 keeps using 1.1.0 even after 1.2.0 is released. New behaviour ships as a new version; the library offers only the latest. There are 77 node types. See Node reference.

Ports and types

Data flows from output ports to input ports. Each port has a type:

Any, String, Number, Boolean, JSON, Document, DocumentSet, EmbeddingModel, VectorStoreHandle, ChatMessage, Tool, AgentState, EvaluationDataset, HTTPRequest, HTTPResponse, Image, Database, Ontology, LoopScope.

Compatibility is deliberately strict:

  • equal types connect;
  • anything connects into Any;
  • String, Number and Boolean connect into JSON (a subtype, no conversion);
  • everything else needs an explicit conversion node: To Text (anything → String) or Parse JSON (String → JSON).

The runtime also checks every value a node produces against its declared output type, so a node cannot quietly send the wrong shape downstream.

An input port is required or optional, and single (one edge) or multiple (many edges; values arrive as a list in edge-ID order, so results are deterministic).

Edges: data and control

There are two kinds of edges, and keeping them distinct is a core design rule:

Edge Connects Means
Data output port → input port “Pass this value.”
Control branch → trigger “Run only if this branch was activated.”

Every node has an implicit trigger control input and at least one control output branch (done for ordinary nodes). Branching nodes declare their own: Conditional (true, false), Router (its routes + default), Classifier (its labels + default), Human Approval (approved, rejected), Input Guard (passed, blocked), Output Guard (passed, failed), Critic (pass, fail).

A node with incoming control edges runs if any of them was activated (OR-join). If none was, it is skipped, and skips propagate through required data inputs. Join is the exception: it runs only if all were activated (AND-join). See Control flow.

Accidental cycles are rejected (GRAPH_CYCLE). Iteration uses an explicit Loop / Loop End pair instead, so graphs stay analysable.

Run

A run is one execution of a saved revision with a set of run inputs (the values Manual Inputs read). A run has a status: queued, running, succeeded, failed, cancelled or waiting (paused for a human). It produces run outputs (one field per Output node key), node outputs, and a trace.

Runs start from the Run button, Chat, the API, an exported app, an MCP call, a trigger or an evaluation; they all share one execution path.

Run targets

A run target runs only one Output node and everything it depends on (through data and control edges). The toolbar lists Run → output for each Output. This is how one project holds independent flows, for example an ingestion flow (Index report) and a question flow (Answer).

Handles

Some values are not data but descriptors of a resource: EmbeddingModel, VectorStoreHandle, Tool, Database and Ontology ports carry handles. The Embedding Model node, for example, outputs “fastembed, BAAI/bge-small-en-v1.5” rather than vectors, and both Index Documents and Retriever consume it. That is how ingestion and querying are guaranteed to use the same model and collection.

Handles may contain secret references (never values). A node that has the credentials permission may resolve the references carried by handles wired into it; tool handles delegate them transitively, so an Agent can use the API key of a Knowledge Search tool’s embedding model, and nothing else.

Secrets

A secret is referenced in config as {"$secret": "NAME"}. Literal values in secret fields are a validation error (SECRET_LITERAL_VALUE). Values are resolved at run time, first from the environment (.env), then from the encrypted workspace store (Settings → Secrets). A node may resolve only the secrets in its own config (or delegated through handles), only with the credentials permission, and resolved values are scrubbed from traces, errors, stored outputs and exports.

Trace and events

Every run emits ordered trace events with a gap-free seq: run_started, node_started, node_succeeded, node_failed, node_retrying, node_skipped, node_cancelled, node_waiting, run_waiting, run_resumed, plus node-specific events such as agent_turn, tool_call, handoff, model_route, loop_iteration and retrieved. Events carry redacted input/output summaries, durations, token usage and cost. They are persisted, streamed to the IDE over Server-Sent Events, and exportable as OpenTelemetry traces. See Observability.

Checkpoints

After each top-level node finishes, its exact outputs are checkpointed. A run paused for approval, or interrupted by a crash, resumes from its checkpoints without repeating finished nodes. See Durable runs and streaming.

Artifacts (project files)

Uploaded files are artifacts, stored outside the IR in a project-scoped store and referenced by ID (art_ + 16 hex characters). Nodes need the artifacts permission to read them. Uploads are limited to an allow-list of types and a size limit (50 MB by default).

Trust and permissions

Built-in nodes are core trust and run in-process. Third-party node packages are installed from wheels and run in isolated worker processes once an admin approves exactly the permissions they request. See Security model and Node packages.

Mapping concepts to the handbook

Concept here Learn the theory
LLM node, tokens, max_tokens, reasoning_effort LLM fundamentals
Embedding Model, Vector Store, Retriever Embeddings and vector search
Agent, Tool, ReAct Agents
Checkpoints, durable runs Production AI systems
Every term on this page Glossary