Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "model-hub/hosted-tools-status.schema.json",
"title": "HostedToolsStatus",
"description": "The Models → Tools read (vibey-hosted-tools.md §3.3, §8): each tool's settings, saved and effective, and what real use showed. A report only: hop resolution reads config and evidence itself. Saved values are never resolved ones, so a client never writes back an effective value.",
"type": "object",
"required": ["tools"],
"additionalProperties": false,
"properties": {
"tools": {
"type": "array",
"description": "Every catalog tool, in catalog order.",
"items": {
"oneOf": [
{ "$ref": "#/definitions/SearchTool" },
{ "$ref": "#/definitions/ImageTool" },
{ "$ref": "#/definitions/FetchTool" }
]
}
}
},
"definitions": {
"SourceId": { "type": "string", "pattern": "^src_[a-z0-9]{8,}$" },
"Moment": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$" },
"Status": {
"type": "object",
"description": "Passive evidence for the tool, read from memory, the one evidence history (the file catches up at most hourly per success). latest_ok is the newest success whose Source still has the identity it ran under; refused lists the current refusals; verified lists the successes, one per (Source, model), from which Source chips derive.",
"required": ["latest_ok", "refused", "verified"],
"additionalProperties": false,
"properties": {
"latest_ok": {
"oneOf": [
{ "type": "null" },
{
"type": "object",
"required": ["source_id", "model_id", "mode", "at"],
"additionalProperties": false,
"properties": {
"source_id": { "$ref": "#/definitions/SourceId" },
"model_id": { "type": "string", "minLength": 1 },
"mode": { "enum": ["native", "executor", "service", "direct"] },
"at": { "$ref": "#/definitions/Moment" }
}
}
]
},
"refused": {
"type": "array",
"items": {
"type": "object",
"required": ["source_id", "model_id", "aspect", "at", "reason"],
"additionalProperties": false,
"properties": {
"source_id": { "$ref": "#/definitions/SourceId" },
"model_id": { "type": "string", "minLength": 1 },
"aspect": { "enum": ["call", "replay"] },
"at": { "$ref": "#/definitions/Moment" },
"reason": { "type": "string", "minLength": 1, "maxLength": 64, "description": "The record's detail: HTTP status and upstream machine code, never provider prose." }
}
}
},
"verified": {
"type": "array",
"items": {
"type": "object",
"required": ["source_id", "model_id", "mode", "at"],
"additionalProperties": false,
"properties": {
"source_id": { "$ref": "#/definitions/SourceId" },
"model_id": { "type": "string", "minLength": 1 },
"mode": { "enum": ["native", "executor", "service", "direct"] },
"at": { "$ref": "#/definitions/Moment" }
}
}
}
}
},
"ListPrice": {
"type": "object",
"description": "An overlay list price for a hosted tool call, with its date and source.",
"required": ["unit", "usd_per_1k", "extra", "as_of", "url"],
"additionalProperties": false,
"properties": {
"unit": { "enum": ["call", "search", "post", "profile", "fetch"] },
"usd_per_1k": { "type": "number", "minimum": 0 },
"extra": {
"type": "array",
"items": {
"type": "object",
"required": ["unit", "usd_per_1k"],
"additionalProperties": false,
"properties": {
"unit": { "enum": ["call", "search", "post", "profile", "fetch"] },
"usd_per_1k": { "type": "number", "minimum": 0 }
}
}
},
"as_of": { "type": "string", "format": "date" },
"url": { "type": "string", "pattern": "^https://" }
}
},
"ServiceListPrice": {
"allOf": [{ "$ref": "#/definitions/ListPrice" }, { "properties": { "unit": { "const": "search" } } }]
},
"SavedServiceSettings": {
"type": "object",
"additionalProperties": false,
"properties": {
"results": { "type": "integer", "minimum": 1, "maximum": 100 },
"enabled": { "type": "boolean" }
}
},
"ServiceSettings": {
"allOf": [
{ "$ref": "#/definitions/SavedServiceSettings" },
{ "required": ["results", "enabled"] }
]
},
"ModelExecutor": {
"type": "object",
"required": ["kind", "source_id", "model_id", "billing", "relay", "price"],
"additionalProperties": false,
"properties": {
"kind": { "const": "model" },
"source_id": { "$ref": "#/definitions/SourceId" },
"model_id": { "type": "string", "minLength": 1 },
"billing": { "enum": ["monthly", "metered"] },
"relay": { "type": "boolean", "description": "A non-official endpoint is priced at its vendor's API price." },
"price": { "oneOf": [{ "type": "null" }, { "$ref": "#/definitions/ListPrice" }] },
"settings": {
"type": "object",
"description": "Web search only: the executor's switch. Off ends the order and is never tried; X search candidates carry none.",
"required": ["enabled"],
"additionalProperties": false,
"properties": { "enabled": { "type": "boolean" } }
}
}
},
"ServiceExecutor": {
"type": "object",
"description": "A search API's catalog service id occupies model_id; Source health and one-shot trial state are display facts, not a probe.",
"required": ["kind", "source_id", "model_id", "billing", "relay", "price", "settings", "state", "trial_pending", "cooldown_until"],
"additionalProperties": false,
"properties": {
"kind": { "const": "service" },
"source_id": { "$ref": "#/definitions/SourceId" },
"model_id": { "type": "string", "minLength": 1 },
"billing": { "const": "metered" },
"relay": { "const": false },
"price": { "$ref": "#/definitions/ServiceListPrice" },
"settings": { "$ref": "#/definitions/ServiceSettings" },
"state": { "$ref": "source.schema.json#/properties/state" },
"trial_pending": { "type": "boolean" },
"cooldown_until": { "oneOf": [{ "type": "null" }, { "$ref": "#/definitions/Moment" }] }
}
},
"ServiceVendor": {
"type": "object",
"additionalProperties": false,
"required": ["id", "name", "price", "free_tier", "facts", "results_max", "source_ids"],
"properties": {
"id": { "type": "string", "minLength": 1 },
"name": { "type": "string", "minLength": 1 },
"price": { "$ref": "#/definitions/ServiceListPrice" },
"free_tier": { "type": ["string", "null"], "description": "Catalog-verified free-tier description, null when unknown (not a claim of no free tier). The built-in keyless Exa row may state its free IP-rate-limited access." },
"facts": {
"type": "object",
"additionalProperties": false,
"required": ["tool_only", "auto_enroll", "free_check"],
"properties": {
"tool_only": { "type": "boolean" },
"auto_enroll": { "type": "boolean" },
"free_check": { "type": "boolean" },
"built_in": { "type": "boolean", "description": "True for a catalog-provided Source that needs no setup and is not addable." },
"requires_setup": { "type": "boolean" } }
},
"results_max": { "type": "integer", "minimum": 1, "maximum": 100 },
"source_ids": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/definitions/SourceId" }, "description": "All current search-capable Sources for this vendor, including opted-out Sources. A built-in vendor contains its synthetic Source id; empty means not added for ordinary vendors." }
}
},
"SearchTool": {
"type": "object",
"required": ["name", "enabled", "status", "executor_order", "effective_order", "executor_candidates"],
"additionalProperties": false,
"allOf": [{
"if": { "properties": { "name": { "const": "web_search" } } },
"then": { "required": ["prefer_native", "services", "service_order"] },
"else": {
"properties": {
"prefer_native": false, "services": false, "service_order": false, "service_vendors": false,
"executor_candidates": { "items": { "$ref": "#/definitions/ModelExecutor" } }
}
}
}],
"properties": {
"name": { "enum": ["web_search", "x_search"] },
"prefer_native": { "type": "boolean", "description": "Saved preference, true when absent; active search hops honor it." },
"services": {
"type": "object",
"description": "Saved partial overrides for currently search-capable Sources, not resolved defaults. Extant retargeted/retired Sources are omitted while incapable, but their overrides remain in config for when capability returns. Removed Sources are ignored and obsolete catalog bounds read clamped.",
"propertyNames": { "$ref": "#/definitions/SourceId" },
"additionalProperties": { "$ref": "#/definitions/SavedServiceSettings" }
},
"service_order": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/definitions/SourceId" }, "description": "Server-owned tool-only Source creation order, skipping ids that no longer name a Source. Read-only; absent config reads as an empty list." },
"service_vendors": { "type": "array", "items": { "$ref": "#/definitions/ServiceVendor" }, "description": "Catalog vendors exposed with active service candidates and execution." },
"enabled": { "type": "boolean" },
"status": { "$ref": "#/definitions/Status" },
"executor_order": {
"description": "The saved executor order, or null for automatic. Saved as given: an id that names no Source now is kept and skipped.",
"oneOf": [{ "type": "null" }, { "type": "array", "items": { "$ref": "#/definitions/SourceId" } }]
},
"effective_order": { "type": "array", "items": { "$ref": "#/definitions/SourceId" }, "description": "The order the executor chain would try now." },
"executor_candidates": {
"type": "array",
"description": "Every eligible executor Source for the tool, in effective order, with its vendor's executor model; a Claude subscription never is one.",
"items": { "oneOf": [{ "$ref": "#/definitions/ModelExecutor" }, { "$ref": "#/definitions/ServiceExecutor" }] }
}
}
},
"FetchSettings": {
"type": "object", "additionalProperties": false,
"properties": {"enabled": {"type": "boolean"}}
},
"FetchExecutor": {
"type": "object", "additionalProperties": false,
"required": ["kind", "source_id", "model_id", "billing", "relay", "price", "settings", "state", "trial_pending", "cooldown_until"],
"properties": {
"kind": {"enum": ["local", "service"]},
"source_id": {"$ref": "#/definitions/SourceId"},
"model_id": {"type": "string", "minLength": 1},
"billing": {"const": "metered"}, "relay": {"const": false},
"price": {"$ref": "#/definitions/ListPrice"},
"settings": {"allOf": [{"$ref": "#/definitions/FetchSettings"}, {"required": ["enabled"]}]},
"state": {"$ref": "source.schema.json#/properties/state"},
"trial_pending": {"type": "boolean"},
"cooldown_until": {"oneOf": [{"type": "null"}, {"$ref": "#/definitions/Moment"}]}
}
},
"FetchVendor": {
"type": "object", "additionalProperties": false,
"required": ["id", "name", "price", "capabilities", "content_types", "source_ids", "facts"],
"properties": {
"id": {"type": "string", "minLength": 1}, "name": {"type": "string", "minLength": 1},
"price": {"$ref": "#/definitions/ListPrice"},
"capabilities": {"const": ["web_fetch"]},
"content_types": {"type": "array", "items": {"enum": ["html", "pdf", "text", "markdown", "json"]}},
"source_ids": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/definitions/SourceId"}},
"facts": {"type": "object", "additionalProperties": false, "required": ["built_in", "requires_setup", "auto_enroll"],
"properties": {"built_in": {"type": "boolean"}, "requires_setup": {"type": "boolean"}, "auto_enroll": {"type": "boolean"}}}
}
},
"FetchTool": {
"type": "object", "additionalProperties": false,
"description": "Hidden while WEB_FETCH_ACTIVE is false. Saved choices remain readable and writable independently of activation.",
"required": ["name", "enabled", "status", "executor_order", "effective_order", "executor_candidates", "services", "service_vendors"],
"properties": {
"name": {"const": "web_fetch"}, "enabled": {"type": "boolean"}, "status": {"$ref": "#/definitions/Status"},
"executor_order": {"oneOf": [{"type": "null"}, {"type": "array", "uniqueItems": true, "items": {"$ref": "#/definitions/SourceId"}}]},
"effective_order": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/definitions/SourceId"}},
"executor_candidates": {"type": "array", "items": {"$ref": "#/definitions/FetchExecutor"}},
"services": {"type": "object", "propertyNames": {"$ref": "#/definitions/SourceId"}, "additionalProperties": {"$ref": "#/definitions/FetchSettings"}},
"service_vendors": {"type": "array", "items": {"$ref": "#/definitions/FetchVendor"}}
}
},
"ImageTool": {
"type": "object",
"required": ["name", "enabled", "status", "default_model", "effective_default", "models", "image_offered_by"],
"additionalProperties": false,
"properties": {
"name": { "const": "image_generate" },
"enabled": { "type": "boolean" },
"status": { "$ref": "#/definitions/Status" },
"default_model": {
"description": "The saved default, or null for the catalog default. A saved model that is not available now (removed, or its pair refused) stays saved with available false.",
"oneOf": [
{ "type": "null" },
{
"type": "object",
"required": ["source_id", "model_id", "available"],
"additionalProperties": false,
"properties": {
"source_id": { "type": "string", "minLength": 1 },
"model_id": { "type": "string", "minLength": 1 },
"available": { "type": "boolean" }
}
}
]
},
"effective_default": {
"description": "The default a turn would use now: the saved one if available, else the same model id on another Source, else the first available model in catalog order; null when no image model is available.",
"oneOf": [
{ "type": "null" },
{
"type": "object",
"required": ["source_id", "model_id"],
"additionalProperties": false,
"properties": { "source_id": { "$ref": "#/definitions/SourceId" }, "model_id": { "type": "string", "minLength": 1 } }
}
]
},
"models": {
"type": "array",
"description": "Exactly the image_generate enum's candidate pairs, the default first; a refused pair is left out.",
"items": {
"type": "object",
"required": ["source_id", "model_id", "description", "billing", "price"],
"additionalProperties": false,
"properties": {
"source_id": { "$ref": "#/definitions/SourceId" },
"model_id": { "type": "string", "minLength": 1 },
"description": { "type": "string", "minLength": 1, "maxLength": 80 },
"billing": { "enum": ["monthly", "metered"], "description": "The serving Source's billing, as executor candidates carry it: a monthly Source's images are included in its subscription, whatever the list price." },
"price": {
"description": "One image: the vendor's list price, or an estimate from the image's tokens at the model's output rate; null when neither is known (shown as no unit price), never zero.",
"oneOf": [
{ "type": "null" },
{
"type": "object",
"required": ["usd", "basis"],
"additionalProperties": false,
"properties": { "usd": { "type": "number", "minimum": 0 }, "basis": { "enum": ["list", "estimated"] } }
}
]
}
}
}
},
"image_offered_by": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "A catalog fact, independent of configuration: the vendors whose bundled overlay lists image models, sorted. With no model available and no current refusal, the card names them as the keys that would add one." }
}
}
}
}