Start with an idea.
Describe a task in your terminal. PyLattice brings the relevant history, workspace tools, and skills into context.
Help me find my way around.A coding agent. A connected workspace.
Think in Python. Work through your tools.
Keep the whole process in your terminal.
execute_codefiles = await call_tool("list_files", {"path": "src"})
entry = await call_tool("read_file", {"path": "src/main.py"})
config = await call_tool("read_file", {"path": "pyproject.toml"})Your project, a little clearer.
src/main.pyThe starting pointsrc/tools/The building blockstests/The safety net01 / THE WORKFLOW
No juggling tool calls. No losing the thread.
Just a clear path from “what if” to what’s next.
Describe a task in your terminal. PyLattice brings the relevant history, workspace tools, and skills into context.
Help me find my way around.Code Mode writes a Python program that calls tools and passes results between them, all within a single run.
await call_tool(name, args)Follow a continuous transcript, expand tool traces, and approve actions. Every step stays close to the prompt.
A clear result. Room to keep going.02 / SMALL PROGRAMS. REAL PROGRESS.
Some tasks need a sequence, not another conversation. Code Mode lets one Python program read files, use their results, and return what matters.
Dependent tool calls in a single run
Syntax and types checked before execution
Workspace policies and approvals stay in place
# Find the pieces.
listing = await call_tool(
"list_files", {"path": "src"}
)
# Connect them in one run.
results = []
for path in listing["output"]["files"][:3]:
result = await call_tool(
"read_file", {"path": path}
)
results.append(result["output"])
# Bring back what matters.
results03 / MAKE IT YOURS
Start with the defaults.
Build out the way you like to work.
Bring SKILL.md workflows, plugins, and persistent SQLite memory to the conversation.
Add MCP servers and middleware hooks. Let your workspace reach a little further.
Replace agent components through Python factories, from prompts to providers and routing.
04 / YOUR NEXT IDEA STARTS HERE
A terminal. A little Python.
And something you want to build.
git clone https://github.com/Protocol-Lattice/PyLattice.git
cd PyLatticeuv sync
cp .env.example .envAdd your OPENROUTER_API_KEY to .env.
uv run agent-tui05 / GOOD QUESTIONS
Yes. After installing dependencies, run uv run agent-tui --demo. The offline demo needs no credentials and makes no network requests.
Code Mode programs run in Monty, with no direct host filesystem or network access. They reach the workspace through validated tool calls, which keep workspace policies, middleware, and approvals in place.
Connect MCP servers, add SKILL.md workflows, or use middleware hooks. Python factories also let you replace components such as providers, prompts, tools, and routing.
Inspect tool traces and approve actions in the terminal. Press Esc to stop a running program, or launch with --read-only to disable mutating tools.
Less friction.
More possibility.