Capabilities, Skills, Tools, and MCP
Definitions
Tool
Atomic capability.
Examples:
filesystem.read
filesystem.write
process.execute
git.diff
git.commit
mail.send
cortex.search
browser.navigate
Skill
Reusable procedure composed from tools, constraints, success conditions, and optional J-Space strategy.
Examples:
software.debug.rust
software.review.pull_request
research.deep
communication.answer_email
operations.release
Capability Graph
Authoritative semantic catalog describing:
- what a capability means,
- required tools/resources,
- possible effects,
- providers,
- compatible Machines,
- required credentials,
- policy constraints,
- cost/performance metadata.
Router pipeline
intent
→ deterministic aliases
→ metadata/tags
→ lexical retrieval
→ semantic retrieval
→ small router model if needed
→ J-Space if genuinely ambiguous
→ hard constraint filter
→ top-K candidates
A model should not receive thousands of schemas.
MCP role
MCP is one provider protocol under the Capability Graph.
Capability Graph
├─ Native AIEN provider
├─ MCP provider
├─ WASM provider
├─ Process provider
├─ HTTP/OpenAPI provider
└─ Fabric remote provider
Session ownership
aien-mcp owns live MCP sessions.
J-Space receives immutable or versioned capability snapshots.
For irreversible tools:
J-Space
→ stages intent
→ winner selected
→ OMEGA formalizes program
→ PHYSICS lowers realization
→ AEGIS verifies contract
→ Effect Broker adapter
→ aien-mcp effect driver
→ MCP tools/call
For safe tools, J-Space may request execution through the speculation-safe lane.
Wire migration
Recommended sequence:
McpWireseam + in-memory provider.- Attach official Rust
rmcp. - Add session manager/discovery snapshots.
- Enforce effect classes.
- Add vault-backed credential references.
- Migrate
spark-debuggerandspark-harness.
Authorization type rule
Do not expose an unrestricted production constructor that lets arbitrary code mint AuthorizedEffect<T>.
Production authority must be minted only by the policy path.
EffectIntent<T>
-> policy evaluation
-> AuthorizedEffect<T>
Test fixtures may use an explicit test-only constructor.
Effect classification
Each tool declares its effects.
PURE
READ_FILESYSTEM
READ_NETWORK
SPAWN_PROCESS
LOCAL_EPHEMERAL
WORLD_MUTATION
EXTERNAL_WRITE
EXTERNAL_IRREVERSIBLE
SECRET_BEARING
J-Space can execute only speculation-safe effect classes. External writes are staged until commit.