Skip to content

valyu-network/gists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Valyu AI Gists

All of Valyu AI's code examples, snippets, and integrations in one place.

tldr: We needed a place to share small code snippets as gists but Github does not allow Org level gists, so this repository serves as our gist collection.

About Valyu AI

Valyu AI provides a unified search API that enables AI agents to access information from multiple high-quality sources:

  • Real-time web search for current internet information
  • Proprietary content including specialized papers and books
  • Financial data with stock prices and market metrics
  • Academic resources spanning millions of scholarly papers
  • Medical literature including peer-reviewed studies
  • Intelligent reranking to surface the most relevant results

Learn more at docs.valyu.ai

Getting Started

1. Get Your API Key

Sign up at Valyu AI to receive your API key. New users get $10 in free credits.

2. Choose an Example

Browse the examples below and navigate to the folder that matches your use case.

3. Follow the Setup Instructions

Each example folder contains its own README with specific setup and usage instructions.

Available Examples

Monitor news and events in real-time using Valyu's search API.

Features:

  • Configurable search queries and domains
  • Scheduled monitoring at custom intervals
  • Relevance filtering and result limits
  • Continuous logging to file and console

Use Cases:

  • Track breaking news from specific sources
  • Monitor industry developments
  • Set up alerts for specific topics

Language: Python


Repository Structure

Each example is contained in its own folder with:

example-name/
β”œβ”€β”€ README.md           # Setup and usage instructions
β”œβ”€β”€ example-code.py     # Main example code
└── requirements.txt    # Dependencies (if applicable)

Contributing Examples

Have a useful Valyu AI integration or example? We'd love to include it!

Guidelines:

  1. Create a new folder with a descriptive name
  2. Include a README.md with setup instructions
  3. Add clear comments in your code
  4. Keep examples focused on a single use case
  5. Test your example before submitting

Resources

Integrations

Valyu AI integrates seamlessly with popular AI frameworks:

  • LangChain
  • LlamaIndex
  • Vercel AI SDK
  • OpenAI
  • Anthropic Claude
  • Model Context Protocol (MCP)

Check our documentation for integration guides.

Pricing

Valyu AI uses transparent CPM (cost per thousand retrievals) pricing. You only pay for what you use - no subscriptions required.


Built with ❀️ by the Valyu AI team

About

A repo for all our gists/ code snippets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages