Skip to content

Agent Interface

Agents connect via CLI commands + grep. No MCP, no gRPC, no protocol overhead. An agent has bash. PRISM is already authenticated. Just shell out.

Terminal window
export MARC27_API_KEY=m27_your_key_here
Terminal window
# Search
prism query --platform --semantic "your question" --json
# Grep for materials only
prism query --platform "fatigue" | grep MAT
# Pipe to Python
prism query --platform --json "Ti-6Al-4V" | python3 -c "..."
# Get the full guide
prism agent
  • Default: human-readable, one result per line (grep-friendly)
  • —json: JSON array (pipe to jq/python)
  • —platform: route through MARC27 API (211K nodes, 6.5M edges)