惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
MyScale Blog
MyScale Blog
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
N
Netflix TechBlog - Medium
MongoDB | Blog
MongoDB | Blog
I
InfoQ
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Help Net Security

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - demirbey05/erdos-problem-solver-cli: CLI for qui...
demirbey05 · 2026-04-28 · via Hacker News: Show HN

A Go-based CLI agent that fetches open Erdős problems from the community database, sends them to an LLM for proof or disproof attempts, and securely saves the generated solutions.

📺 Overview

Overview

✨ Features

  • Automated Scraping: Fetches the latest open problems from the community database (problems.yaml) and scrapes detailed problem descriptions directly from erdosproblems.com.
  • LLM Integration: Uses the any-llm library to interface seamlessly with various LLM providers (OpenAI, Anthropic, Gemini, Groq, Ollama) and orchestrate proof generation.
  • Secure Credentials: Prompts securely for API keys and stores them via OS keychain encryption for seamless future runs.
  • Continuous Solve Loop: Allows for selecting and solving multiple problems in a continuous execution loop without needing to restart the CLI.
  • Robust Error Handling: Retries automatically on transient errors (timeouts, rate limits, network issues) with exponential backoff, and supports long-running LLM requests (up to 120 minutes).
  • Solution Archiving: Automatically saves generated proofs as markdown files in a designated solns/ directory.

🚀 Getting Started

Prerequisites

  • Go 1.21 or higher installed on your system.

Build and Run

  1. Clone the repository:

    git clone https://github.com/demirbey05/erdos-agent.git
    cd erdos-agent
  2. Build the executable binary:

    go build -o erdos-agent .
  3. Run the agent:

    ./erdos-agent

🛠 Usage & Workflow

  1. Configuration: On the first run, the agent will prompt you to select an LLM provider (e.g., openai, anthropic, gemini, groq, ollama), a specific model, and your API key (hidden input). This configuration is securely encrypted and saved to ~/.erdos-agent/config.enc.
  2. Problem Selection: The agent retrieves and displays a list of currently open Erdős problems. You can then:
    • Enter a comma-separated list of problem numbers (e.g., 1, 42, 108).
    • Type all to attempt all open problems.
    • Type prize to attempt only problems that have an associated cash prize.
  3. Execution: The agent will automatically fetch the full problem details, query the configured LLM with a specialized prompt to generate an unconditional proof or disproof, and wait for the response.
  4. Results: Generated solutions are saved in the solns/ directory. Each markdown file includes the attempt details and is easily readable.

🧠 Architecture Overview

The codebase is organized as follows:

  • main.go: The entry point that orchestrates the CLI flow, fetches metadata, and handles the continuous execution loop.
  • internal/scraper/: Retrieves and parses YAML metadata from GitHub and scrapes HTML descriptions from the web.
  • internal/solver/: Interfaces with the LLM via gollm, constructs the mathematical prompts, and handles saving the solutions.
  • internal/keystore/: Securely manages API keys using AES-256-GCM encryption.
  • internal/models/: Defines core domain data types like Problem and Status.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.