Spaces:
Sleeping
Sleeping
| 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() |