-
Notifications
You must be signed in to change notification settings - Fork 0
Agent Workflow Guide
Instructions for connecting, instrumenting, and optimizing AI coding agents using GUPPI as a persistent sidecar process.
GUPPI (General-purpose Unifying Pluggable Intelligence) operates as an in-process or background sidecar daemon for LLM-powered coding agents. By providing structured MCP tools, virtual context resources (guppi://), and local SQLite-backed memory, GUPPI addresses three main operational areas:
- Context Window Bloat: Replaces multi-hundred-line file reads with token-compressed AST skeletons (~70–80% token savings) and scope-aware symbol lookups.
-
Loss of Architectural Context & Rule Drift: Automatically indexes project rules (
AGENTS.md,CLAUDE.md,.cursorrules), episodic memory (Fact Triples), and past bug fixes across agent sessions. - Risk of Breaking Changes: Simulates signature mutations across call graphs and creates pre-flight shadow backup snapshots before atomic edits are committed.
GUPPI runs as a standard Model Context Protocol (MCP) server over stdio or HTTP.
Add the following block to your agent's MCP configuration file (e.g. .guppi/mcp.json or global agent config):
{
"mcpServers": {
"guppi": {
"command": "guppi",
"args": ["mcp"],
"env": {
"GUPPI_WORKSPACE": "/absolute/path/to/your/project"
}
}
}
}To instruct an AI agent to prioritize GUPPI tools, include this directive in your workspace AGENTS.md, CLAUDE.md, or system prompt:
# Agent Execution Directive: GUPPI Instrumentation
Before executing file edits or reading large source files, utilize GUPPI MCP tools:
1. Run `guppi_query_context` to fetch past architectural decisions and safety rules.
2. Use `guppi_lst_find_symbols` or `guppi_lst_skeleton_slice` instead of reading full 200+ line files.
3. Trace caller impact using `guppi_lst_find_references` or `guppi_impact_analysis` before modifying public signatures.
4. If an error occurs, run `guppi_auto_fix_suggest` or `guppi_self_heal` to analyze tracebacks.GUPPI exposes a built-in decision matrix (guppi://recipes/tool_selection) mapping common developer goals to tool execution chains:
| Developer Task / Goal | Recommended Tool Execution Chain | Key Benefits |
|---|---|---|
| Exploring Class Structure & Signatures |
guppi_lst_find_symbols guppi_lst_skeleton_slice
|
Reduces LLM tokens by 70–80% while providing exact AST signatures and docstrings. |
| Tracing Downstream Usage & Callers |
guppi_lst_find_references guppi_call_graph_build
|
Identifies every call site, instantiation, and import across the workspace. |
| Refactoring Public Functions / Signatures |
guppi_lst_find_symbols guppi_signature_mutate_simulate guppi_lst_replace_symbol
|
Evaluates breaking change risk across callers and creates a shadow backup snapshot before editing. |
| Diagnosing Build / Test Failures |
guppi_auto_fix_suggest guppi_self_heal guppi_rollback_file
|
Parses tracebacks, matches past RAG memory solutions, and proposes surgical patch diffs. |
| Planning Complex Multi-Agent Features |
guppi_brainstorm_start guppi_task_plan_create guppi_subagent_checkpoint
|
Structured Q&A ideation, DAG step decomposition, and subagent context handoffs. |
GUPPI Documentation — Local agentic sidecar daemon, Lossless Semantic Tree memory engine, and telemetry deck.