Skip to main content

Adapters

Adapters are how a venue gets its capabilities. Each adapter contributes a family of operations — self-describing, invocable units with JSON Schema inputs and outputs — that any client, agent, or orchestration can call. Out of the box a venue ships with nearly thirty adapters spanning LLMs, agents, human oversight, files, lattice state, governance, and federation; operators add more as venue modules.

AI and agents​

AdapterOperationsWhat it does
LangChainlangchain:*Call LLMs — OpenAI, Anthropic, Ollama, xAI, and OpenAI-compatible endpoints
Skillsskills:list, skills:readSkill discovery and retrieval; every venue ships a skill library
User Memoryv/ops/memoryDurable per-user memory that agents recall every turn and edit by number
Human-in-the-Loophitl:*Park a job for human approval, choices, or capability grants

Agent execution (agent:*, llmagent:*, goaltree:*) is documented under Agents.

Messaging and chat front doors​

AdapterOperationsWhat it does
Telegram (module)telegram:*Telegram bots as a venue front door; agents that send Telegram messages
Discord (module)discord:*Discord bots — DMs and mentions routed to agents or operations

Federation and connectivity​

AdapterOperationsWhat it does
Gridgrid:*Invoke operations on local or remote venues (federation)
Orchestrator(adapter, not ops)Multi-step DAG workflows, defined as operation assets and run via grid:run
MCPmcp:*Call external MCP servers; bridge their tools into the catalog
A2Aa2a:*Call remote A2A agents; serve A2A inbound
HTTPhttp:*SSRF-protected outbound HTTP requests
Convexconvex:*Query and transact against the Convex lattice network

State and data​

AdapterOperationsWhat it does
Covia (Venue)covia:*CRUD over the venue's lattice state
Assetsasset:*Immutable, content-addressed asset store — store, read, list, pin
Secretssecret:*Per-user encrypted secret store; s/NAME references
Filefile:*Root-jailed local filesystem access
DLFSdlfs:*Decentralised, user-signed file system (WebDAV)
Vaultvault:*Simplified, fixed-drive file access
Archivearchive:*Zip handling — jailed, zip-slip-proof, bomb-guarded
JSONjson:*Pure JSON data manipulation (merge, select, …)
Schemaschema:*JSON Schema validate, infer, coerce — pure and sub-millisecond
Schedulerscheduler:*Run operations later; deferred and agent wakes

Identity and governance​

AdapterOperationsWhat it does
UCANucan:*Issue and verify capability tokens — authority as an inspectable artifact
Authauth:*Caller identity diagnostics (whoami)
Usersuser:*Administrative user registration and authenticator key management

Extensibility​

AdapterOperationsWhat it does
JVMjvm:*In-process utility ops, plus the venue-module mechanism for arbitrary JVM code
SQL (module)sql:*Governed SQL over any JDBC database, delegable per database
Python (module)python:*Operator-configured Python operations, in-process via FFM
Claude Code (module)claudecode:*Drive the Claude Code CLI in venue-authorised project directories

SQL, Python, Telegram, Discord and Claude Code are optional venue modules — separate artifacts (ai.covia:covia-sql, ai.covia:covia-python-adapter, ai.covia:covia-telegram, ai.covia:covia-discord, ai.covia:covia-claude-code), shipped as module jars with each release and loaded by config or at runtime.

How operations are named and invoked​

Operations are written as adapter:op (e.g. grid:run) or as a venue catalog path (v/ops/grid/run). Invoke them over REST (POST /api/v1/invoke), through an SDK, as MCP tools, or as agent tools. Because every operation is self-describing, both humans and agents can discover and call them.

Runtime lifecycle​

Adapters and modules can be changed on a running venue, without a restart:

OperationPurpose
v/ops/venue/adaptersFull registry view — active and disabled adapters (kernel flag, owning module, operations) plus loaded modules
v/ops/venue/adapter/enable / v/ops/venue/adapter/disableRetract or restore a non-kernel adapter's catalog, introspection and dispatch
v/ops/venue/adapter/configureApply a new effective configuration — the same shape as the adapters.<name> config block, replacing it unless merge: true
v/ops/venue/module/load / v/ops/venue/module/unloadLoad or unload a module jar

These are venue-owned: they authorise only for direct execution as the venue identity, or a venue-rooted delegation over <venue DID>/adapters with adapter/manage. An ordinary authenticated user cannot switch adapters off or load code, whatever their own namespace scope.

Module loading is additionally gated by the operator's dynamicModules policy — off by default; when enabled, the module must be a jar name inside the staging directory dynamicModules.dir unless dynamicModules.anyPath widens it, and an optional sha256 pins the jar's content.

Runtime changes are not persisted. After a restart the venue config is authoritative again — the config file remains the record of what a venue is.

What an adapter publishes about itself​

Each adapter owns a subtree at v/adapters/<name>/, published when it becomes active and retracted when it is disabled or unloaded:

PathContents
v/adapters/<name>/infoFacts the adapter publishes about itself — also merged into v/info/adapters/<name>
v/adapters/<name>/configOnly what the adapter explicitly allow-lists as public — nothing by default
v/adapters/<name>/ops/Its operations, mirrored from the canonical catalog (same values, equally invocable)
v/adapters/<name>/skills/Its skills — so a skill is published exactly when its adapter is active
v/adapters/<name>/templates/Its agent templates

This is why discovery answers are always true of the venue you are actually talking to: a disabled adapter's operations, skills and templates disappear with it, and v/adapters/<name>/skills is itself a ready-made skillset for everything one adapter offers.

Adapter lattice views (experimental)​

:::note Availability These routes are implemented on codex/convex-lattice-snapshot; they are not available in released Covia 0.9.11. :::

x/<adapter>/... exposes the active adapter's view for your user. It is a virtual route, separate from private adapter storage. Views are read-only by default; an adapter can permit writes into selected paths through the ordinary covia accessors. Another user's DID-qualified view needs the usual delegation. The venue user receives its own view and has no blanket cross-user bypass.

The test adapter provides a working example:

PathContentsAccess
x/test/contextCaller, addressed user, venue and execution scope with its explicit ownerRead-only
x/test/samplesNested records, number vector, Unicode text, nulls and empty containersRead-only
x/test/scratchPersistent scratch for the addressed userRead/write/delete

Use v/ops/covia/read with {"path":"x/test/context"} to inspect the current scope. Append test events with v/ops/covia/append and {"path":"x/test/scratch/events","value":{"message":"hello"}}. The test adapter documents its routes at v/info/adapters/test/lattice. Bare x does not list adapters. Disabled or unloaded adapters expose no route.

Scratch survives reload and persistent venue restarts; user deletion removes it. It is disposable test data and is not included in user exports. See COG-4 for the state and authority contract.