Swival/swival

A small, powerful, open-source CLI coding agent that works with open models.

What it solves

Swival is a coding agent designed to work across different AI models, whether they are hosted locally or via online services. It addresses the challenge of maintaining context and security when switching between models of varying sizes and capacities.

How it works

Swival operates as a Python-based tool that allows users to set goals for coding tasks. It manages conversation space and working notes to help smaller models perform effectively. For security, it includes secret encryption to hide API keys and tokens, and filters to remove private details like customer names and internal URLs before sending data to the model.

Who it’s for

Developers who want a flexible coding agent that can switch between local and online models without changing the agent's logic, and those who need built-in security audits and review steps for their code.

Highlights

  • Model Agnostic: Works with both local and online AI models.
  • Security Focused: Includes secret encryption and private detail filters.
  • Context Management: Maintains working notes to track progress on long-term goals and resume interrupted sessions.
  • Built-in Review: Supports a review step where the agent or a separate model can check for bugs and errors.
  • Extensible: Written in Python and can be integrated into other tools or run as part of a Python program.

Related

  • Project
  • Project
  • Project
  • Project
  • Project