Thanks to visit codestin.com
Credit goes to github.com

Skip to content

abozaralizadeh/SandBox

Repository files navigation

SandBox

These projects are not isolated tools but rather facets of a broader exploration into AI autonomy. The presence of these three distinct yet related projects reveals a cohesive vision. My work is not merely about code but about exploring the potential of agentic AI to interact with and reason about the real world in increasingly sophisticated ways. The repository's associated topics, such as AI governance, ethics, and simulation, underscore this focus on the higher-order implications of autonomous systems.

AI Blog

An Autonomous AI Researcher That Writes About AI AIBlog is an autonomous agent that discovers new developments in machine learning and generative AI, performs multi-source research, and publishes a daily blog post written entirely by AI. It uses a ReAct agent wrapped in a LangGraph state machine to orchestrate web search, academic reading, synthesis, and final composition into clean HTML.

Each post is automatically:

  • Researched via arXiv, OpenAI, DeepMind, HuggingFace, and other credible sources.
  • Enriched with citations, code snippets, tables, and technical diagrams.
  • Published as a fully responsive, styled HTML article.
  • Illustrated with a custom banner image generated by DALL·E 3 and hosted on Azure Blob Storage.

AIBlog showcases the potential of recursive agent architectures to create high-quality, verifiable technical content without any human-in-the-loop. Read more

Live Demo View the daily AI-written blog: https://SandBoxes.Live/aiblog

AIBlog

AI Open Problem Solver

Autonomous Deep-Search Mathematics Researcher
AI Open Problem Solver extends the LangGraph infrastructure with an open deep-search agent dedicated to long-horizon mathematical research. Given a free-form statement of an unsolved problem, the system resumes prior progress, explores the web with multi-modal tooling, and records daily breakthroughs as rich HTML lab notes.

Key Capabilities

  • Deep Search Agent: Uses LangGraph's open deep-search workflow (with a ReAct fallback) to iteratively plan, browse, and validate new leads.
  • Persistent Research Memory: Stores every daily update, plus structured summaries, next steps, and citations in Azure Table Storage.
  • Resume & Continue: On each run, the agent ingests the historical context and advances the same problem instead of starting from scratch.
  • Infinite Timeline UI: A new Flask route (/ai-open-problem-solver) serves an infinite-scroll page that streams the latest findings first and lazily loads earlier milestones from storage.
  • Tooling Reuse: Shares the Tavily/DDG search stack and Playwright browsing toolkit used by AI Blog, ensuring consistent web research capabilities across projects.
  • Dynamic Problem Picker: The UI queries Azure Table Storage to populate a dropdown of all tracked problems, so you can switch research threads instantly.
  • Problem Catalog Table: Configure aiops_problem_table_name for the dedicated problem registry table; add or remove problems there to control which threads are available in the UI.

Set up the storage names (aiops_table_name, aiops_blob_name) and optionally define AIOPS_DEFAULT_PROBLEM in .env to choose the default unsolved problem tackled by the agent.

Live Demo View the daily progress of AI open problems solver: https://sandboxes.live/ai-open-problem-solver

AIBlog

Tomorrow News

AI-Driven News Prediction and Decision-Making TomorrowNews is an experimental open-source project that uses LangChain Agents and Azure OpenAI to generate speculative, AI-driven news predictions based on real-world events. The project aims to simulate decision-making for the future, providing a creative glimpse into what might happen in various sectors, such as politics, economy, society, and the environment.

By feeding real news as input, this project generates predictions and outcomes for the following day, creating speculative headlines and decisions related to global topics. Read more

Key Features:

  • Autonomous AI Predictions: Uses real-time news data to predict plausible future events.
  • Generative AI Agents: Powered by Azure OpenAI, the system creates detailed and imaginative newspaper articles.
  • Responsive HTML Layout: The final output is a beautifully designed newspaper page optimized for both desktop and mobile screens.
  • Dynamic Image Generation: Incorporates AI-generated images that complement the headlines, ensuring a cohesive and engaging visual experience.

Core Components

1. LangGraph Framework

LangGraph is the backbone of this project, providing a stateful, multi-actor environment for building agent workflows. Key features of LangGraph include:

  • Cycles and Branching: Allows the implementation of loops and conditionals within the application.
  • Persistence: Saves the state of the application after each step, supporting error recovery and human-in-the-loop workflows.
  • Human-in-the-Loop: Enables interruption of graph execution for human approval or edits.
  • Streaming Support: Outputs are streamed as they are generated by each node.
  • Integration with LangChain: Seamlessly integrates with LangChain and LangSmith for enhanced functionality.

2. Azure OpenAI Integration

The project leverages Azure OpenAI for generating news content and images. Using GPT-4, the AI models analyze current events and generate predictions for the next day's newspaper.

3. Tools and Agents

  • News Feed Tool: Fetches the latest news to provide the AI with the necessary context for predictions.
  • Image Generation Tool: Creates realistic images based on detailed prompts to enhance the newspaper's visual appeal.
  • Agent Workflow: The agent processes the news feed, generates predictions, and formats the output into an HTML page. This process involves multiple iterations and decision-making steps to ensure high-quality content.

How It Works

  1. News Collection: The system fetches the latest news every hour using the News Feed Tool.
  2. AI Analysis and Prediction: The generative AI agent analyzes the current news and predicts potential future events.
  3. Content Creation: The agent creates detailed articles and generates appropriate images using the Image Generation Tool.
  4. HTML Newspaper Generation: The content is formatted into an HTML page that resembles a traditional newspaper layout, complete with headlines, articles, and images.
  5. Output Delivery: The HTML page is ready to be rendered in a browser, providing users with a speculative look at tomorrow’s news.

Note: All content generated by this project is purely speculative, based on AI's interpretation of current events, and should not be viewed as factual or actual news predictions.

Live Demo You can view the live version of the project here: https://SandBoxes.Live/tomorrownews

TN

GenBox

This experimental project explores the potential of AI as an autonomous decision-maker for a virtual world. Using Azure OpenAI and a structured prompt-response loop, the system generates daily high-level decisions on critical areas such as economy, society, environment, and global politics. Each decision is designed to be realistic, impactful, and ethically informed, balancing immediate outcomes with long-term sustainability. The goal is to create an engaging and evolving narrative that demonstrates the capabilities of generative AI while inviting users to reflect on governance and the complexities of decision-making in a simulated world. Read more

I invite you to explore the very simple interface at https://SandBoxes.Live/genbox, where you can witness the AI’s daily decisions and follow the evolving narrative of this virtual world.

TV

gunicorn --bind=0.0.0.0 --timeout 600 main:app

About

An AI-powered simulation project that models and visualizes potential futures in real-time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published