0

Agent OS

Launch the optional Streamlit interface for browser chat, tools, sessions, and streamed replies.

Ag
Agent OS
Chapter 045StartBrowserIndex
01Orientation

Agent OS is MTP's optional Streamlit browser interface. It shares the Python runtime and supports provider selection, conversation history, tool activity, and streamed replies.

Use this when

Launch the optional Streamlit interface for browser chat, tools, sessions, and streamed replies.

  • Install and launch
  • Configure a conversation
  • If startup fails
02 / syntax starter
pip install "mtpx[ui-streamlit,groq,dotenv]"
mtp agent-os
03 / manual

Read the system

The complete source manual—syntax, examples, linked references, edge cases, and implementation notes.

Documentation index ↗

Agent OS is MTP's optional Streamlit browser interface. It shares the Python runtime and supports provider selection, conversation history, tool activity, and streamed replies.

Install and launch

bashpip install "mtpx[ui-streamlit,groq,dotenv]"
mtp agent-os

Launch from the workspace you want the agent to use. The launcher passes that directory to the app through MTP_AGENT_OS_CWD and starts Streamlit's local server. Open the local URL printed by Streamlit.

Configure a conversation

Choose a provider and model in the app. Configure the matching SDK and credentials before making a request. A local Ollama or LM Studio provider needs a running server. The terminal UI has a separate setup flow described in the TUI operating guide.

Agent OS streams provider text and displays runtime tool events. The browser app keeps a conversation history and can use session storage. For an application integration, consume runtime events directly and use the agent API.

If startup fails

Install mtpx[ui-streamlit] in the same Python environment as the mtp command. If the launcher reports a missing Streamlit package, installing it in another environment will not fix that command. Check the terminal for the server URL and runtime errors.

01

Read

Understand where Agent OS sits in the agent loop before adding abstractions.

02

Wire

Connect the smallest useful provider, registry, store, or event stream first.

03

Observe

Expose events, logs, results, and failure states while the runtime is still moving.

04

Harden

Add policy, tests, retries, and audit traces after the behavior is visible.

Next docWhat changed in 0.1.37