AventraOSCore / app.py
Tpayne101's picture
Create app.py
bd36f17 verified
raw
history blame contribute delete
385 Bytes
import gradio as gr
from agentos_core import AgentCore
agent = AgentCore()
def chat(prompt):
return agent.think(prompt)
interface = gr.Interface(
fn=chat,
inputs=gr.Textbox(lines=2, placeholder="Ask AgentOS something..."),
outputs="text",
title="🧠 AgentOS MVP",
description="A self-improving agent that learns from its own behavior."
)
interface.launch()