Skip to content

Astromesh Leia

Astromesh Leia is a Claude Code plugin. You describe the agent you need, in English or Spanish, and Leia designs a complete astromesh/v1 manifest with a real system prompt, shows it to you, and can deploy it, test it and diagnose it on a Nexus hub. It is named after a lemon beagle.

  • Prompts, not a program. Leia is ten slash commands, five subagents, six templates and four reference schemas, all Markdown and YAML. Claude Code runs them; the actual work happens through curl, kubectl and ollama on your machine.
  • An agent designer. Its architect subagent knows the agent schema up to astromesh core 0.38.1: per-role models, the real orchestration patterns, spec.chain, spec.output_schema, which tool types load, and the mistakes that make a runtime ignore a section without saying so.
  • A deploy-and-test loop for a Nexus hub: publish, poll, chat with the agent, run scored test scenarios, and walk a diagnostic checklist when something fails.

It is not a hosted service, a GUI or an agent framework. The agents it builds run on Nexus and the Astromesh runtime.

SubagentModelDoes
leia-interpreterSonnetTurns a sentence into an intent (create, deploy, status, test, diagnose…) and entities (business, channel, name, tenant, vertical), then routes
leia-architectOpusReads the bundled schemas and the closest template, checks ollama list, picks a pattern, and writes the manifest
leia-operatorSonnetCalls the Nexus API with curl and the cluster with kubectl
leia-testerSonnetProxies a chat to the agent, or runs five scenarios and scores them
leia-doctorSonnetWalks a fixed checklist, stops at the first failure, and gives a root cause and the fix
PartNexus 0.3.x (operator)Nexus 0.26.x (managed hub)
/leia create (design, preview, write YAML)WorksWorks
/leia templatesWorksWorks
/leia configWorksWorks
Publishing (create → deploy, /leia deploy)WorksRefused (401): key sent as Bearer
/leia status, logs, testWorksRefused (401); status also reads tenant CRDs
/leia bootstrap local, teardownWorksInstalls the old operator: Nexus’s hack/bootstrap.sh still does
/leia bootstrap remoteWorksAuth check fails (401)
leia-doctor checks 3–8WorksUse kubectl resources that no longer exist

Until Leia is synced with the managed hub, design with Leia and publish the YAML with Cortex or the Nexus API:

Terminal window
curl -X POST "$NEXUS_URL/api/v1/agents" \
-H "X-API-Key: $NEXUS_API_KEY" -H "Content-Type: application/yaml" \
--data-binary @agents/my-agent.yaml
LeiaNexusAstromesh core knowledge
0.5.x0.3.x0.29 – 0.38.x
0.4.x0.3.x0.29 – 0.36.x
0.2.x0.3.x0.18 – 0.28.9

Leia’s value is what the architect knows, so each release is a knowledge sync with a core version.

VersionSynced toAdded
0.5.0core 0.38.1spec.chain and spec.output_schema: when to offer them, that every agent in on_complete must be deployed first, and that an older runtime ignores both silently. The doctor checks chain declarations
0.4.0core 0.36.0Only builtin, agent and client tools load from YAML; which model keys each source reads; the streaming contract and usage.by_model; RAG pipeline and workflow endpoints
0.3.0core 0.29.0Per-role models (default + roles), litellm, the roles each pattern asks for
0.2.1core 0.28.9Moonshot / Kimi through openai_compat
0.2.0core 0.28.5, Nexus 0.3.0Fixed templates that the runtime silently ignored (flat memory, limit instead of max_chars) and invalid patterns; dual auth