Nibble
Nibble is an AI-powered production incident investigation prototype built with the Model Context Protocol (MCP) and the OpenAI Agents SDK.
What it does
Nibble exposes production observability data through an MCP server, including:
- Service health
- Service logs
- Recent deployments
- Deployment details
An OpenAI agent can use these tools to autonomously investigate production incidents and identify likely root causes.
Example
Prompt:
Customers are reporting that checkout is failing. Investigate the incident and determine the likely root cause. Then indicate which deployment(s) caused it and who is responsible for the deployment(s).
Agent run output:
The agent can autonomously:
- Check service health
- Identify degraded services
- Inspect relevant logs
- Correlate failures with recent deployments
- Inspect deployment changes
- Determine a likely root cause
Architecture
OpenAI Agent
|
| MCP / stdio
v
Nibble MCP Server
|
+-- get service health
+-- get service logs
+-- get deployments
+-- get deployment details
|
v
Mock production data
Running locally
Install dependencies:
npm install
Create a .env file:
OPENAI_API_KEY=your_api_key
Run:
npx tsx src/agents.ts