Skip to main content

Tiesta — Local AI Coding Assistant powered by Ollama

Project description

Tiesta: Your AI Engineering Companion

A fully autonomous, 100% local, VRAM-efficient AI agent powered by Ollama.

PyPI Version Python Support License: MIT


Tiesta is not just an agent; it's your second engineer. It goes beyond simple autocomplete or conversational chatbots. Tiesta is a true companion who actively explores your codebase, autonomously executes terminal commands, resolves compilation errors, and, when finished, politely asks: "I've finished my part, what's next?"

Designed from the ground up to run entirely locally, Tiesta empowers developers to build, refactor, and debug complex applications with zero data privacy concerns and absolute flexibility.


🌟 Features

  • 100% Local & Private: No external API calls. Your code never leaves your machine. Powered natively by Ollama.
  • Bring Your Own Model (BYOM): During onboarding, dynamically discover and select any Ollama model installed on your system. Highly optimized for qwen2.5-coder:3b for ultra-fast, low-VRAM execution.
  • Hardware-in-the-Loop: A killer feature for embedded systems. Tiesta can autonomously scan active serial ports and read hardware logs (ESP32, ROS 2, Arduino) to instantly debug your hardware and patch the corresponding Python/C++ code.
  • Unified Permission Control Plane: An elegant Rich-powered UI intercepts and gates destructive terminal commands (rm, massive code deletions), ensuring absolute human oversight before modifying your system.
  • Polyglot Linter: Validates syntax proactively. If Tiesta makes a syntax error in Python, JavaScript, C++, Rust, or Dart, it will instantly catch the traceback and self-correct without bothering you.
  • Dynamic Architecture Maps: Automatically generates and updates Mermaid.js visual maps (TIESTA_ARCHITECTURE.md), allowing the agent to see your project structurally while providing human-readable documentation.
  • Zero-Dependency Semantic RAG: Instead of relying on heavy tree-sitter C-bindings, Tiesta uses a highly efficient, regex-powered semantic chunking system to precisely locate symbols, classes, and variables.
  • LSP Integration: Built on jedi, it understands your code context natively (go to definition, find usages) without spinning up a heavy background language server.

🚀 Getting Started

Prerequisites

  1. Install Ollama and ensure the daemon is running.
  2. Pull the recommended default model (or any model of your choice):
    ollama pull qwen2.5-coder:3b
    

Installation

Install Tiesta globally via PyPI:

pip install tiesta

Quickstart

Run Tiesta interactively in your current project directory:

tiesta

On the very first run, Tiesta's Onboarding Wizard will automatically launch to detect your installed Ollama models and set up your preferred environment.

You can also run one-shot tasks directly from the terminal:

tiesta "Refactor the user authentication logic in core/auth.py"

🧠 How it Works

Tiesta employs a sophisticated "Precision Coding Protocol" via a customized Agentic Execution Loop (The Orchestrator):

  1. Context Loading: Tiesta silently loads a lightweight Zero-Shot workspace awareness map (directory trees, git statuses, architecture graphs).
  2. Decomposition: It forces the underlying LLM to think step-by-step and enumerate a checklist of sub-tasks.
  3. Execution & Self-Correction: Tiesta executes tools natively in a sandboxed environment. If a compilation error or git conflict occurs, the Orchestrator autonomously feeds the traceback back to the LLM to self-correct up to 3 times before asking for human help.
  4. Result Verification: Before rendering the final response to the user, the agent cross-verifies its output against its internal checklist to guarantee completeness.

🔗 Links


"Speed is secondary to correctness. Measure Twice, Cut Once."

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiesta-0.1.1.tar.gz (58.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiesta-0.1.1-py3-none-any.whl (67.0 kB view details)

Uploaded Python 3

File details

Details for the file tiesta-0.1.1.tar.gz.

File metadata

  • Download URL: tiesta-0.1.1.tar.gz
  • Upload date:
  • Size: 58.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for tiesta-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9d8a95c8bbc92c9eee2b52181b874ed0a4ed3d6c4db6fd8359f8f3d56a8a5774
MD5 8900fe7775062ad4613fe999a90444c9
BLAKE2b-256 25d311c277bd0099225ea59515a25a12ad6822f56c978cc9a42a4689245d300c

See more details on using hashes here.

File details

Details for the file tiesta-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tiesta-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 67.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for tiesta-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b31a423f045208bd1c3f8b4dec386b934df2262e238dabb033a1520ab837932
MD5 1de881182f266aab799b1b8a55e53728
BLAKE2b-256 68ee8a159d390eca0348e1ea5ed9da6ebd7d00c14d54f852b3fb33713d47de51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page