File size: 385 Bytes
bd36f17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()