Skip to content
Konstera
Docs · Reference
Konstera documentation.

Getting started, SDK quickstart, manifest reference, kernel MCP services, deploy guide and FAQ — everything you need to build and run agents on Konstera.

Manifest reference

agent-manifest.v3.json is the contract between an agent and the Konstera platform. The platform reads it to render the catalog, enforce resource limits, wire credentials, and apply the autonomy policy. Every agent — reference, custom, or community — ships with one.

Schema source of truth: schemas/agent-manifest.v3.json in the Konstera/sdk repo. The platform validates manifests against this schema on upload.

ArchitectureWhat the platform does with each part of your manifest Interactive — click a block

Minimal example#

JSON
{
  "$schema": "https://schemas.konstera.ai/agent-manifest.v3.json",
  "id": "hello-world",
  "version": "0.1.0",
  "name": "Hello World",
  "description": "Greets the customer by name.",
  "runtime": {
    "kind": "container",
    "image": "ghcr.io/your-org/hello-world:0.1.0"
  },
  "input": { "type": "object", "properties": { "name": { "type": "string" } } },
  "autonomy": "autonomous",
  "needs": ["llm"]
}

Required fields#

FieldTypeNotes
idstringGlobally unique within the tenant. kebab-case, max 64 chars.
versionsemver stringImmutable per upload — new version = new upload.
namestringShown in the catalog + reviewer inbox.
runtimeobjectHow the kernel runs this agent. See below.
inputJSON SchemaAccepted invocation payload shape.
autonomyenumautonomous · require_review · require_approval.
needsstring[]Kernel MCP services this agent calls — llm, vector, state, credentials, etc.

runtime#

How the kernel executes an agent. Three kinds today:

kindShapeWhen
containerimage, optional command, env, resourcesDefault. OCI container, one instance per invocation.
mcp-stdiocommand, argsLocal-dev shortcut. Launches an MCP process over stdio.
mcp-httpurl, optional authAgent runs anywhere, reachable by HTTP. For dev / integration tests.

runtime.resources#

JSON
"runtime": {
  "kind": "container",
  "image": "ghcr.io/your-org/forecaster:1.2.0",
  "resources": {
    "cpu": "500m",
    "memory": "512Mi",
    "timeout": "60s"
  }
}

autonomy#

Autonomy is a scope-stacked policy — the tenant admin can override the manifest's declared autonomy without redeploying the agent. The manifest declares the agent's intended default; the deployment can lower it.

ValueWhat happens to the handler's resultWho decides
autonomousApplied directly. Still logged for audit + replay.No one — the agent
require_reviewLands in the reviewer inbox. Reviewer picks send / edit / redraft / reject.A reviewer
require_approvalStronger than review: approval must come from a named reviewer role.A named reviewer role (configurable per binding)
SequenceScope stacking: the manifest sets the default, the deployment has the last word
ManifestDeploymentKernel1intended default autonomy2tenant admin override (no redeploy)3autonomy bindings (e.g. tier-based)applies the effective policy to each result

For tier-based autonomy (small → autonomous, large → approval), don't encode it in the manifest — use autonomy bindings on the deployment side. The reference prepayments-agent is a worked example.

needs#

Enumerates the kernel services this agent calls. The platform uses this to pre-wire credentials, apply rate limits, and surface a clear capability footprint in the catalog.

JSON
"needs": [
  "llm",         // ctx.llm.*
  "vector",      // ctx.vector.*  (pgvector or external)
  "state",       // ctx.state.get / set / append
  "credentials", // ctx.credentials.get("stripe-api-key")
  "cost",        // automatic — included if "llm" is listed
  "log",         // ctx.log.info / warn / error
  "tool",        // ctx.tool.* — connector-provided tools
  "agents",      // ctx.agents.invoke("other-agent", ...)
  "human",       // ctx.human.request(...)
  "prompt"       // ctx.prompt.get("prompt-id")
]

Full semantics in Kernel MCP services.

What you declare is what an operator sees when deploying the agent — required capabilities, model purposes and review actions, read straight from the manifest:

Portal → Deploy Agent: the "What this version needs" panel is generated from the manifest · example data

Optional fields#

FieldTypeNotes
descriptionstringOne-sentence catalog description.
departmentstringCatalog grouping — Finance, Customer service, Merchandising, etc.
outputJSON SchemaDeclared return shape. Validated at response time.
schedulesobject[]Cron expressions for scheduled invocations.
webhooksobject[]HMAC-verified webhook endpoints that trigger this agent.
retryobjectBackoff + max attempts. Platform defaults are usually fine.
iconstringLucide icon name shown in the catalog.
docsstringURL for "learn more" link in the portal.

Validation#

Platform validates on upload via the schema. CI can validate locally:

Terminal
konstera manifest validate ./manifest.json
# or against a specific schema version
konstera manifest validate --schema v3 ./manifest.json

Breaking schema changes bump the v. The platform supports two major versions concurrently to allow deprecation windows.

A well-scoped manifest#

Before you upload
  • id is kebab-case, at most 64 chars, and unique within the tenant.
  • version is bumped — versions are immutable per upload.
  • needs lists only the kernel services your code actually calls (cost comes automatically with llm). See Kernel MCP services.
  • autonomy is the intended default; tier-based rules live in deployment-side autonomy bindings, not the manifest.
  • runtime.resources sets cpu, memory and timeout for a container agent.
  • output is declared if callers depend on the return shape — it's validated at response time.
  • webhooks are HMAC-verified endpoints; retry is omitted unless the platform defaults don't fit.
  • konstera manifest validate ./manifest.json passes in CI.

What next#