Buffett Signal Agent

Generates Warren Buffett-style investment signals backed by fundamental analysis. It may take a minute or two to complete.

  • 2 Entrypoints
  • v0.0.1 Version
  • Enabled Payments
buffet.daydreams.systems

Entrypoints

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

buffett-signal

Invoke

Analyse tickers using Warren Buffett-style fundamentals and return bullish/bearish/neutral signals.

Pricing Invoke: 0.5
Network base
Invoke Endpoint POST /entrypoints/buffett-signal/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "tickers": {
      "description": "One or more ticker symbols to analyse.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "endDate": {
      "description": "Optional end date (YYYY-MM-DD). Defaults to today.",
      "type": "string"
    },
    "showReasoning": {
      "description": "Include the model reasoning in the response.",
      "type": "boolean"
    }
  },
  "required": [
    "tickers"
  ],
  "additionalProperties": false
}
Output Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "endDate": {
      "type": "string"
    },
    "analystSignals": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "signal": {
            "type": "string",
            "enum": [
              "bullish",
              "neutral",
              "bearish"
            ]
          },
          "confidence": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "reasoning": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "maxScore": {
            "type": "number"
          },
          "marginOfSafety": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "intrinsicValue": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "marketCap": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "breakdown": {
            "type": "object",
            "properties": {
              "fundamentals": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "maxScore": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "maxScore"
                ],
                "additionalProperties": false
              },
              "consistency": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "maxScore": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "maxScore"
                ],
                "additionalProperties": false
              },
              "moat": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "maxScore": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "maxScore"
                ],
                "additionalProperties": false
              },
              "pricingPower": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "maxScore": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "maxScore"
                ],
                "additionalProperties": false
              },
              "bookValue": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "maxScore": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "maxScore"
                ],
                "additionalProperties": false
              },
              "management": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "maxScore": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "maxScore"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "fundamentals",
              "consistency",
              "moat",
              "pricingPower",
              "bookValue",
              "management"
            ],
            "additionalProperties": false
          },
          "details": {
            "type": "object",
            "properties": {
              "fundamentals": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "consistency": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "moat": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "pricingPower": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "bookValue": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "management": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "valuation": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "fundamentals",
              "consistency",
              "moat",
              "pricingPower",
              "bookValue",
              "management",
              "valuation"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "signal",
          "confidence",
          "reasoning",
          "score",
          "maxScore",
          "marginOfSafety",
          "intrinsicValue",
          "marketCap",
          "breakdown",
          "details"
        ],
        "additionalProperties": false
      }
    },
    "errors": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "endDate",
    "analystSignals"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'http://buffet.daydreams.systems/entrypoints/buffett-signal/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "tickers": [
          "string"
        ]
      }
    }
  '

growth-signal

Invoke

Analyse tickers using growth-focused metrics, insider activity, and financial health to return bullish/bearish/neutral signals.

Pricing Invoke: 0.5
Network base
Invoke Endpoint POST /entrypoints/growth-signal/invoke
Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "tickers": {
      "description": "One or more ticker symbols to analyse.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "endDate": {
      "description": "Optional end date (YYYY-MM-DD). Defaults to today.",
      "type": "string"
    },
    "showReasoning": {
      "description": "Include the model reasoning in the response.",
      "type": "boolean"
    }
  },
  "required": [
    "tickers"
  ],
  "additionalProperties": false
}
Output Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "endDate": {
      "type": "string"
    },
    "analystSignals": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "signal": {
            "type": "string",
            "enum": [
              "bullish",
              "neutral",
              "bearish"
            ]
          },
          "confidence": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "weightedScore": {
            "type": "number"
          },
          "scores": {
            "type": "object",
            "properties": {
              "growth": {
                "type": "number"
              },
              "valuation": {
                "type": "number"
              },
              "margins": {
                "type": "number"
              },
              "insider": {
                "type": "number"
              },
              "health": {
                "type": "number"
              }
            },
            "required": [
              "growth",
              "valuation",
              "margins",
              "insider",
              "health"
            ],
            "additionalProperties": false
          },
          "reasoning": {
            "type": "object",
            "properties": {
              "historical_growth": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "revenue_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "revenue_trend": {
                    "type": "number"
                  },
                  "eps_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "eps_trend": {
                    "type": "number"
                  },
                  "fcf_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fcf_trend": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "revenue_growth",
                  "revenue_trend",
                  "eps_growth",
                  "eps_trend",
                  "fcf_growth",
                  "fcf_trend"
                ],
                "additionalProperties": false
              },
              "growth_valuation": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "peg_ratio": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "price_to_sales_ratio": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "score",
                  "peg_ratio",
                  "price_to_sales_ratio"
                ],
                "additionalProperties": false
              },
              "margin_expansion": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "gross_margin": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "gross_margin_trend": {
                    "type": "number"
                  },
                  "operating_margin": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "operating_margin_trend": {
                    "type": "number"
                  },
                  "net_margin": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "net_margin_trend": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "gross_margin",
                  "gross_margin_trend",
                  "operating_margin",
                  "operating_margin_trend",
                  "net_margin",
                  "net_margin_trend"
                ],
                "additionalProperties": false
              },
              "insider_conviction": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "net_flow_ratio": {
                    "type": "number"
                  },
                  "buys": {
                    "type": "number"
                  },
                  "sells": {
                    "type": "number"
                  }
                },
                "required": [
                  "score",
                  "net_flow_ratio",
                  "buys",
                  "sells"
                ],
                "additionalProperties": false
              },
              "financial_health": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "debt_to_equity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "current_ratio": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "score",
                  "debt_to_equity",
                  "current_ratio"
                ],
                "additionalProperties": false
              },
              "final_analysis": {
                "type": "object",
                "properties": {
                  "signal": {
                    "type": "string",
                    "enum": [
                      "bullish",
                      "neutral",
                      "bearish"
                    ]
                  },
                  "confidence": {
                    "type": "number"
                  },
                  "weighted_score": {
                    "type": "number"
                  }
                },
                "required": [
                  "signal",
                  "confidence",
                  "weighted_score"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "historical_growth",
              "growth_valuation",
              "margin_expansion",
              "insider_conviction",
              "financial_health",
              "final_analysis"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "signal",
          "confidence",
          "weightedScore",
          "scores",
          "reasoning"
        ],
        "additionalProperties": false
      }
    },
    "errors": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "endDate",
    "analystSignals"
  ],
  "additionalProperties": false
}
Invoke with curl
curl -s -X POST \
  'http://buffet.daydreams.systems/entrypoints/growth-signal/invoke' \
  -H 'Content-Type: application/json' \
  -d '
    {
      "input": {
        "tickers": [
          "string"
        ]
      }
    }
  '

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.PRIVATE_KEY as Hex | string;
const baseURL = process.env.RESOURCE_SERVER_URL as string; // e.g. https://example.com
const endpointPath = process.env.ENDPOINT_PATH as string; // e.g. /weather
const url = `${baseURL}${endpointPath}`; // e.g. https://example.com/weather

if (!baseURL || !privateKey || !endpointPath) {
  console.error("Missing required environment variables");
  process.exit(1);
}

/**
 * Demonstrates paying for a protected resource using x402-fetch.
 *
 * Required environment variables:
 * - PRIVATE_KEY            Signer private key
 * - RESOURCE_SERVER_URL    Base URL of the agent
 * - 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…