Who it is forA developer who likes minimal tools and wants to use Smol as a small daily terminal agent.
The problemThe bare prompt has no line editing or history, and running model-chosen shell commands on your main machine is risky.
The outcomeA comfortable Smol session with persistent history in ~/.smol_history, running somewhere where arbitrary commands are acceptable.
What you need first
- Python 3 or Go
- An OpenAI Responses API compatible endpoint, such as a local proxy that adds your key
Steps
- Install rlwrap with your package manager
- Set up a container or VM where the agent may run any command
- Put a small proxy in front that holds your API key, since Smol adds no credentials
- Run
rlwrap -H ~/.smol_history python3 smol.py http://127.0.0.1:8787/v1/responses - Or with Go:
rlwrap -H ~/.smol_history go run golf/smol.go http://127.0.0.1:8787/v1/responses - Exit with empty input or ctrl+d
Prompt for your agent
Write me a minimal standard-library-only proxy that keeps my API key outside smol and forwards requests to <provider> on 127.0.0.1:8787, then a docker run command that starts smol with rlwrap history inside a throwaway container.
Caveat. Run it only where arbitrary shell commands are acceptable.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for smol-env/smol and "Use Smol day to day with line editing and history"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer