Tangible Shell for finding and launching Tangible Research projects.
tsh is a small command-line shell for Tangible tools. It can launch Halgorithem in a disposable Docker sandbox and scan the TangibleResearch GitHub organization for new projects, showing each repo with the best run command it can find.
tsh checks for internet access, then routes commands through a small local shell. For Halgorithem, it starts a lightweight Python Docker container, clones the repo from GitHub, installs the verifier dependencies, patches the sandbox to use lightweight local scoring, and opens tui.py.
For project discovery, tsh scans public repositories in the TangibleResearch GitHub organization, reads common project files like README.md, pyproject.toml, package.json, Cargo.toml, go.mod, and main.py, then lists how each project appears to run.
-
Launches Halgorithem in Docker
tsh keeps the Halgorithem runtime isolated from your local Python environment. -
Simple shell command
Runconnect Halgofrom the interactive shell or pass it directly as a command. -
OpenAI API key passthrough
IfOPENAI_API_KEYis available in your environment, tsh passes it into the sandbox container. -
Scans TangibleResearch projects
tsh can list all active public projects in the org and show the best detected install or run command. -
Future-project friendly
New repositories are discovered from GitHub at runtime, so tsh does not need a hardcoded list to notice them.
- Python 3.11 or newer
- Docker Desktop or Docker CLI
- Internet access for scanning GitHub, cloning Halgorithem, and installing packages
- Optional
GITHUB_TOKENfor higher GitHub API limits
To run tsh, follow these steps:
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
source venv/bin/activate -
Install the required modules:
pip install -r requirements.txt
-
Run tsh:
python main.py
-
Connect to Halgorithem:
connect Halgo
-
Scan TangibleResearch projects:
projects
You can also launch Halgorithem directly:
python main.py connect HalgoInteractive shell:
python main.pyDirect command:
python main.py connect HalgoScan TangibleResearch:
python main.py projectsEquivalent scan command:
python main.py scan orgScan another GitHub organization:
python main.py projects SomeOrgNameExit the shell:
exit- tsh does not install Halgorithem on your machine.
- The Docker sandbox is removed after the session closes.
- Halgorithem dependencies are installed inside the container each time tsh launches the sandbox.
- Project run commands are best-effort guesses from repository docs and common project files.
