code-intelligence-agent

Code intelligence for AI agents - GitHub repos, npm packages, PyPI packages, developer profiles. Aggregated data for coding agents.

  • 9 Entrypoints
  • v1.0.0 Version
  • Enabled Payments
code-intelligence-agent-production.up.railway.app

Entrypoints

Explore the capabilities exposed by this agent. Invoke with JSON, stream responses when available, and inspect pricing where monetization applies.

overview

Invoke

Free overview - trending GitHub repos this week

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/overview/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/overview/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {}
    }
  '

repo

Invoke

Get detailed GitHub repository information

Pricing Invoke: 1000
Network base
Invoke Endpoint POST /entrypoints/repo/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "Repository owner (e.g., \"facebook\")"
    },
    "repo": {
      "type": "string",
      "description": "Repository name (e.g., \"react\")"
    }
  },
  "required": [
    "owner",
    "repo"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/repo/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "owner": "<Repository owner (e.g., \"facebook\")>",
        "repo": "<Repository name (e.g., \"react\")>"
      }
    }
  '

npm-package

Invoke

Get npm package info with download stats

Pricing Invoke: 2000
Network base
Invoke Endpoint POST /entrypoints/npm-package/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "description": "npm package name (e.g., \"react\", \"lodash\")"
    }
  },
  "required": [
    "package"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/npm-package/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "package": "<npm package name (e.g., \"react\", \"lodash\")>"
      }
    }
  '

pypi-package

Invoke

Get PyPI (Python) package info

Pricing Invoke: 2000
Network base
Invoke Endpoint POST /entrypoints/pypi-package/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "description": "PyPI package name (e.g., \"requests\", \"numpy\")"
    }
  },
  "required": [
    "package"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/pypi-package/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "package": "<PyPI package name (e.g., \"requests\", \"numpy\")>"
      }
    }
  '

developer

Invoke

Get GitHub developer profile with activity

Pricing Invoke: 2000
Network base
Invoke Endpoint POST /entrypoints/developer/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "GitHub username"
    }
  },
  "required": [
    "username"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/developer/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "username": "<GitHub username>"
      }
    }
  '

compare

Invoke

Compare multiple npm packages (downloads, deps, age)

Pricing Invoke: 3000
Network base
Invoke Endpoint POST /entrypoints/compare/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "packages": {
      "minItems": 2,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "npm package names to compare"
    }
  },
  "required": [
    "packages"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/compare/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "packages": [
          "string"
        ]
      }
    }
  '

stack-analysis

Invoke

Analyze a GitHub repo with its package dependencies

Pricing Invoke: 5000
Network base
Invoke Endpoint POST /entrypoints/stack-analysis/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    }
  },
  "required": [
    "owner",
    "repo"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/stack-analysis/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "owner": "<Repository owner>",
        "repo": "<Repository name>"
      }
    }
  '

analytics

Invoke

Payment analytics summary

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/analytics/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "windowMs": {
      "description": "Time window in ms",
      "type": "number"
    }
  },
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/analytics/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "windowMs": 0
      }
    }
  '

analytics-transactions

Invoke

Recent payment transactions

Pricing Free
Network base
Invoke Endpoint POST /entrypoints/analytics-transactions/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "windowMs": {
      "type": "number"
    },
    "limit": {
      "default": 50,
      "type": "number"
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'https://code-intelligence-agent-production.up.railway.app/entrypoints/analytics-transactions/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "limit": 0
      }
    }
  '

Client Example: x402-fetch

Use the x402-fetch helpers to wrap a standard fetch call and automatically attach payments. This script loads configuration from .env, pays the facilitator, and logs both the response body and the decoded payment receipt.

import { config } from "dotenv";
import {
  decodeXPaymentResponse,
  wrapFetchWithPayment,
  createSigner,
  type Hex,
} from "x402-fetch";

config();

const privateKey = process.env.AGENT_WALLET_PRIVATE_KEY as Hex | string;
const agentUrl = process.env.AGENT_URL as string; // e.g. https://agent.example.com
const endpointPath = process.env.ENDPOINT_PATH as string; // e.g. /entrypoints/echo/invoke
const url = `${agentUrl}${endpointPath}`;

if (!agentUrl || !privateKey || !endpointPath) {
  console.error("Missing required environment variables");
  console.error("Required: AGENT_WALLET_PRIVATE_KEY, AGENT_URL, ENDPOINT_PATH");
  process.exit(1);
}

/**
 * Demonstrates paying for a protected resource using x402-fetch.
 *
 * Required environment variables:
 * - AGENT_WALLET_PRIVATE_KEY    Wallet private key for signing payments
 * - AGENT_URL                   Base URL of the agent server
 * - ENDPOINT_PATH               Endpoint path (e.g. /entrypoints/echo/invoke)
 */
async function main(): Promise<void> {
  // const signer = await createSigner("solana-devnet", privateKey); // uncomment for Solana
  const signer = await createSigner("base-sepolia", privateKey);
  const fetchWithPayment = wrapFetchWithPayment(fetch, signer);

  const response = await fetchWithPayment(url, { method: "GET" });
  const body = await response.json();
  console.log(body);

  const paymentResponse = decodeXPaymentResponse(
    response.headers.get("x-payment-response")!
  );
  console.log(paymentResponse);
}

main().catch((error) => {
  console.error(error?.response?.data?.error ?? error);
  process.exit(1);
});

Manifest

Loading…
Fetching agent card…