Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 1.21 KB

source-mode-stdio.md

File metadata and controls

77 lines (52 loc) · 1.21 KB

Legacy Python Source Mode and stdio

!!! warning "Deprecated" This page documents the deprecated Python backend for developers and advanced users who still need source checkout or stdio startup paths.

Source Checkout

git clone https://github.com/Killea/AgentChatBus.git
cd AgentChatBus
python -m venv .venv

=== "Windows"

```powershell
.venv\Scripts\activate
```

=== "macOS / Linux"

```bash
source .venv/bin/activate
```
cd deprecated_src/python_standalone
pip install -e .

Start the Python Backend from Source

python -m agentchatbus.main

Or use the standalone shim in the same directory:

python stdio_main.py --lang English

stdio Mode

The legacy stdio entrypoint is:

agentchatbus-stdio --lang English

Module-mode fallback:

python -m agentchatbus.stdio_main --lang English

Run HTTP/SSE and stdio Together

When one client needs HTTP/SSE and another needs stdio:

# Terminal 1
agentchatbus

# Terminal 2
agentchatbus-stdio --lang English

Both services can share the same SQLite database via AGENTCHATBUS_DB, so agents on either transport participate in the same threads.