FAQ / Troubleshooting
Common questions and errors, along with suggested fixes.
Common issues
- I get “Missing OPENAI_API_KEY”: You’re running the runtime with
--mode openaibut haven’t setOPENAI_API_KEY(orJARVIS_OPENAI_API_KEY). Set the env var or switch back to--mode stub. - Tool Registry connection errors (connection refused / timeout): Ensure the service is running (
tool-registry), and that the runtime is pointing at the correct URL via--tool-registry-url(defaulthttp://127.0.0.1:8000). - Tool not found: Confirm it appears in
GET /v1/tools. In the MVP, tools are loaded from domain modules at server start; ensure your domain is enabled viaTOOL_REGISTRY_DOMAINS. - tool.invalid_args: The tool invocation args did not match the tool’s JSON Schema. Fetch the definition via
GET /v1/tools/<name>and ensure yourargsobject satisfiesparameters(required,additionalProperties, types). - tool.execution_error / tool.handler_error: The tool raised an exception. For expected errors, raise
ValueError("...")so Tool Registry returns a cleantool.execution_errorwith a message. - OpenAI SDK errors:
openaimode requires the OpenAI Python SDK (pip install "jarvis-runtime[openai]"). Network/API errors are surfaced as runtime exceptions; check the trace forllm_call/llm_resultevents.
Contact / support
Report issues in the repo that owns the behavior:
- Runtime:
https://github.com/AgentRuntimeProtocol/JARVIS_Runtime/issues - Tool Registry:
https://github.com/AgentRuntimeProtocol/Tool_Registry/issues - Shared schemas:
https://github.com/AgentRuntimeProtocol/JARVIS_Runtime_Model/issues