Semi-QUalified Agent Companion Kit — the stateful intelligence + MCP server layer for fledgling-equipped agents.
Project description
squackit
Semi-QUalified Agent Companion Kit. A code intelligence toolkit that works two ways: as an MCP server for AI agents, and as a CLI for humans.
Built on pluckit (CSS selectors over ASTs) and fledgling (SQL macros over DuckDB).
Install
pip install squackit
CLI usage
# Run any tool from the shell
squackit tool list
squackit tool view "src/**/*.py" ".fn#main"
squackit tool find_names "**/*.py" ".class"
squackit tool complexity "src/**/*.py" ".fn"
# JSON output for scripting
squackit --json tool find "src/**/*.py" ".fn"
# Pluckit chain queries
squackit pluck "src/**/*.py" find .fn containing cache names
squackit pluck "src/api.py" find .class#Handler children find .fn names
# Start the MCP server
squackit mcp serve
Tool names resolve in three conventions: find_names, find-names, FindNames.
Tab completion is built in (eval "$(_SQUACKIT_COMPLETE=bash_source squackit)").
What agents get via MCP
- 20 tools — CSS-selector code queries (via pluckit), file I/O, git history, doc navigation, diagnostics
- 4 compound workflows —
explore,investigate,review,search - 3 prompt templates — pre-loaded with live project data
- 5 resources — project overview, docs, git status, session log, diagnostics
plucktool — full pluckit chain grammar for multi-step AST queries, with mutation safety (blocked by default, opt-in viaallow_mutations=true)- Smart defaults — infers language, doc layout, main branch automatically
- Token-aware output — configurable truncation with
max_results/max_lines
Architecture
Layer 4 Consumers (Claude Code, agents, IDE extensions)
│
Layer 3b squackit ─── CLI + MCP server + intelligence
│ smart defaults, caching, truncation,
│ workflows, pluckit tools, mutation safety
│
Layer 3a pluckit ──── fluent Python API (CSS selectors over ASTs)
│
Layer 2 fledgling ── SQL macros + Python bundler
│
Layer 0 DuckDB extensions (sitting_duck, markdown, duck_tails, read_lines)
Pluckit tools take priority over fledgling equivalents when both provide a
capability (e.g., pluckit's find supersedes fledgling's find_definitions).
Note: pluckit is published on PyPI as
ast-pluckit. The import name ispluckit.
Documentation
Full docs at squackit.readthedocs.io.
License
Apache 2.0
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file squackit-0.5.0.tar.gz.
File metadata
- Download URL: squackit-0.5.0.tar.gz
- Upload date:
- Size: 312.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e583cdd455ffb6e247a382bc70ee65ef29ff09bfe0ed59ab79c9b182e1ae290f
|
|
| MD5 |
f617db7ae83ca2ad38ea8173c890f203
|
|
| BLAKE2b-256 |
4fffa626965d5990be13f35d91ac582099c3afcb59d72bbae00823d34a8e6762
|
Provenance
The following attestation bundles were made for squackit-0.5.0.tar.gz:
Publisher:
release.yml on teaguesterling/squackit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
squackit-0.5.0.tar.gz -
Subject digest:
e583cdd455ffb6e247a382bc70ee65ef29ff09bfe0ed59ab79c9b182e1ae290f - Sigstore transparency entry: 1636395293
- Sigstore integration time:
-
Permalink:
teaguesterling/squackit@8b245eb5dacff724b6294c910a974f709f040bb8 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/teaguesterling
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8b245eb5dacff724b6294c910a974f709f040bb8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file squackit-0.5.0-py3-none-any.whl.
File metadata
- Download URL: squackit-0.5.0-py3-none-any.whl
- Upload date:
- Size: 59.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e338e720f104fee766b53f6751f90060c28efa00a1dce6c1d856f02bf8db747
|
|
| MD5 |
97449a5746e29d6eabcc66889a92d49a
|
|
| BLAKE2b-256 |
74b40851ba175ee9d2eba2e74672e3a8a971ed4658a2bc7018c9967515c72699
|
Provenance
The following attestation bundles were made for squackit-0.5.0-py3-none-any.whl:
Publisher:
release.yml on teaguesterling/squackit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
squackit-0.5.0-py3-none-any.whl -
Subject digest:
2e338e720f104fee766b53f6751f90060c28efa00a1dce6c1d856f02bf8db747 - Sigstore transparency entry: 1636395626
- Sigstore integration time:
-
Permalink:
teaguesterling/squackit@8b245eb5dacff724b6294c910a974f709f040bb8 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/teaguesterling
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8b245eb5dacff724b6294c910a974f709f040bb8 -
Trigger Event:
push
-
Statement type: