Tinkerwell 5: Welcome to the AI age
See what's new
Tinkerwell background image
Tinkerwell Logo Tinkerwell

Documentation

AI Chat Companion
#

Tinkerwell includes a sidebar chat interface that appears alongside your code editor. This provides a conversational way to interact with AI while coding and allows you to give it clear instructions how to write code for you and to describe the tasks.

Getting Started
#

The AI agent works side-by-side with your code editor, providing a conversational interface for coding assistance. Open it using the toolbar button or press Ctrl/Cmd + Shift + L.

Context Awareness
#

The AI can understand your current work by including:

  • Editor content - Your current code
  • Execution output - Results from running your code

Toggle these options below the message input to control what context gets sent with each message. Tinkerwell does not send any other project related content to AI providers.

In addition to that, you can reference files from your project in the prompt either by clicking on the @ button or typing @ and the file name in the chat input. The content of the found file will be included in the prompt and sent to the provider. This is exceptionally useful for providing information about your Models.

AI Providers
#

Choose from multiple AI providers in Settings → AI → Provider Configuration:

Provider Models Requirements
OpenAI GPT-3.5, GPT-4, etc. API key, model selection
Anthropic Claude models API key, model selection, API version
Mistral Mistral AI models API key, model selection
Custom Provider OpenAI-compatible APIs Custom host URL, model selection

Custom Provider Configuration
#

The Custom Provider option allows you to connect to any AI service that implements the OpenAI API standard. This includes services like:

  • Self-hosted OpenAI-compatible models
  • Third-party providers offering OpenAI-compatible endpoints
  • Local AI inference servers (Ollama, LocalAI, etc.)

Requirements:

  • The service must fully implement the OpenAI Chat Completions API (/v1/chat/completions endpoint)
  • Configure the custom host URL pointing to your service

Configuration:

  1. Select "Custom Provider" from the provider dropdown
  2. Enter your custom host URL (e.g., https://api.example.com or http://localhost:11434)
  3. Select or enter the model name supported by your service

💡 All these providers have a developer platform where you can obtain your API key. These keys are usually billed separately from your normal subscription with them, so you need to top of your API credit balance before you can use the key. For Tinkerwell, $5 USD in API cedits go a long way in most cases and will be enough for many conversations.

Session Persistence
#

Your conversations stay active until you close Tinkerwell or the tab and Tinkerwell uses the chat as main context reference.

AI capabilities
#

The capabilities are endless but if you need some ideas for testing the AI assistant, go with these queries.

Using an API
#

Fetch all repositories of the organization "beyondcode" from GitHub and use the Http client
for that

Code Optimization
#

Analyze the current code and suggest optimizations

Analysis
#

Explain what the code in @AppServiceProvider does and identify potential issues

Debugging
#

Based on the output, help me debug this error

Refactoring
#

Refactor this function to be more readable