Spaces:
Running
Running
intro
Browse files- demo/app.py +26 -0
demo/app.py
CHANGED
|
@@ -16,6 +16,32 @@ def create_app() -> gr.Blocks:
|
|
| 16 |
"""Create the Gradio application with a minimal notebook-like health cell."""
|
| 17 |
with gr.Blocks(title="Aileen3 Demo") as demo:
|
| 18 |
gr.HTML(f"<style>{CELL_CSS}</style>")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
with cell("π§ͺ Health check"):
|
| 20 |
health_panel = gr.HTML(value=health.render_placeholder_notice())
|
| 21 |
run_button = gr.Button("Run health check", variant="primary")
|
|
|
|
| 16 |
"""Create the Gradio application with a minimal notebook-like health cell."""
|
| 17 |
with gr.Blocks(title="Aileen3 Demo") as demo:
|
| 18 |
gr.HTML(f"<style>{CELL_CSS}</style>")
|
| 19 |
+
with cell("π Introduction"):
|
| 20 |
+
gr.Markdown(
|
| 21 |
+
"""
|
| 22 |
+
# Aileen 3 Core
|
| 23 |
+
|
| 24 |
+
Large Language Models (LLMs) rely on tools β sometimes provided by MCP servers β to interact with the outside world. Aileen 3 Core is an MCP server focused on **Information Foraging**: mining high-noise sources for novel insights and turning them into dense briefings you can consume quickly.
|
| 25 |
+
|
| 26 |
+
This Space shows a small, notebook-style slice of that system so you can verify the core MCP server is reachable and working in this environment.
|
| 27 |
+
|
| 28 |
+
Today, Aileen 3 Core is a contender in the **[MCP's 1st Birthday β Hosted by Anthropic and Gradio](https://huggingface.co/MCP-1st-Birthday)** hackathon. It also powers the **[Aileen 3 Agent](https://github.com/ndurner/aileen3-agent)** project, a [capstone](https://ndurner.de/links/aileen3-kaggle-writeup) for the [*AI Agents Intensive Course with Google*](https://www.kaggle.com/learn-guide/5-day-agents).
|
| 29 |
+
|
| 30 |
+
For more details on setup, usage, and background, see the full project README.
|
| 31 |
+
"""
|
| 32 |
+
)
|
| 33 |
+
|
| 34 |
+
with cell("π§ How this demo is organized"):
|
| 35 |
+
gr.Markdown(
|
| 36 |
+
"""
|
| 37 |
+
Think of this interface as a lightweight notebook: instead of code cells, you get a sequence of interactive βcellsβ that walk through key aspects of the Aileen 3 Core MCP server.
|
| 38 |
+
|
| 39 |
+
- The **Introduction** cell gives you the high-level context from the README.
|
| 40 |
+
- The **Health check** cell below connects to the MCP server used by the Space and shows whether it can be started successfully.
|
| 41 |
+
- Future cells will demonstrate the problem statement and core information-foraging capabilities.
|
| 42 |
+
"""
|
| 43 |
+
)
|
| 44 |
+
|
| 45 |
with cell("π§ͺ Health check"):
|
| 46 |
health_panel = gr.HTML(value=health.render_placeholder_notice())
|
| 47 |
run_button = gr.Button("Run health check", variant="primary")
|