@avasis-ai/synthcode weekly downloads statistics
By avasis-ai · npm · Claude Code
SynthCode - Synthesize any LLM into a production-grade AI agent. Battle-tested agentic patterns, model-agnostic, TypeScript-first.
@avasis-ai/synthcode has 119 recorded weekly downloads on npm, ranking #1853 of 2,667 tracked listings.
About @avasis-ai/synthcode
Install
# TUI -- the full experience
npx @avasis-ai/synthcode-tui@latest
# Framework -- programmatic API
bun add @avasis-ai/synthcode
Screenshots
<div align="center"> <table><tr> <td><img src="tui/assets/chat.svg" width="420" alt="Chat Mode" /></td> <td><img src="tui/assets/gate-trace.svg" width="420" alt="Gate Trace" /></td> </tr><tr> <td><img src="tui/assets/world-model.svg" width="420" alt="World Model" /></td> <td><img src="tui/assets/architecture.svg" width="420" alt="Architecture" /></td> </tr></table> </div>The Six Gates
| Gate | Verifies | Latency |
|---|---|---|
| Structure | AST well-formedness, syntax validity | ~1ms |
| Scope | Variable bindings, lexical resolution | ~2ms |
| Type | Type consistency, inference chains | ~3ms |
| Safety | Side-effect boundaries, mutation control | ~2ms |
| Control Flow | Reachability, termination guarantees | ~3ms |
| Semantic | Logical coherence, intent alignment | ~5ms |
Features
- Dual-path verification -- neural output passes six symbolic gates before touching your codebase
- Zero-dependency framework -- 10KB gzipped, no runtime deps
- Agentic chat -- up to 15 autonomous rounds with inline gate feedback
- Six screen modes -- chat, gates, code view, world model, trust boundary, playground
- Provider-agnostic -- Gemini, Groq, OpenRouter, OpenAI, Ollama
- 269 tests -- 300+ consecutive CI runs, zero failures
- OpenTUI engine -- built on Zig+TS for native terminal performance
Quick Start
TUI:
npx @avasis-ai/synthcode-tui@latest
Framework:
import { Agent, BashTool, DualPathVerifier } from "@avasis-ai/synthcode";
import { OllamaProvider } from "@avasis-ai/synthcode/llm";
const agent = new Agent({
model: new OllamaProvider({ model: "qwen3:32b" }),
tools: [BashTool],
dualPathVerifier: new DualPathVerifier(),
});
for await (const event of agent.run("List all TypeScript files in src/")) {
if (event.type === "text") process.stdout.write(event.text);
}
Architecture
<div align="center"> <img src="tui/assets/hero.svg" width="700" alt="Architecture Overview" /> </div> LLM Output
|
v
+----------+ +-------+ +------+ +--------+ +------------+ +----------+
| Structure|-->| Scope |--->| Type |--->| Safety |--->| ControlFlow|--->| Semantic |
+----------+ +-------+ +------+ +--------+ +------------+ +----------|
| |
v v
REJECT ACCEPT
Framework API
import {
Agent, BashTool, FileReadTool, FileWriteTool,
DualPathVerifier, WorldModel, CostTracker, CircuitBreaker,
AnthropicProvider, OpenAIProvider, OllamaProvider,
} from "@avasis-ai/synthcode";
const agent = new Agent({
model: new AnthropicProvider({ model: "claude-sonnet-4-20250514" }),
tools: [BashTool, FileReadTool, FileWriteTool],
dualPathVerifier: new DualPathVerifier(),
costTracker: new CostTracker(),
});
npx @avasis-ai/synthcode "Explain this codebase" # auto-detect
npx @avasis-ai/synthcode "Refactor this" --ollama qwen3:32b # local
npx @avasis-ai/synthcode adapt catalog # 30+ models
Agent Patterns
SynthCode is designed for autonomous agents that run 24/7. Here are common patterns:
Error Handling & Resilience
Autonomous agents must handle failures gracefully:
import { createResilientTool, ErrorLogger, CircuitBreaker } from "@avasis-ai/synthcode";
// Wrap tools with retry logic and circuit breaking
const bashTool = createResilientTool(
new BashTool(),
new ErrorLogger(),
new CircuitBreaker(),
{ maxRetries: 3 }
);
// The agent continues even when tools fail temporarily
See examples/error-handling.ts for a complete implementation with:
- Automatic retry with exponential backoff
- Circuit breaker pattern for failing tools
- Structured error logging for debugging
- Graceful degradation when tools are unavailable
Continuous Monitoring…
Description from the npm listing.
- ai
- agent
- llm
- agentic
- claude
- claude-code
- gpt
- tool-use
- mcp
- context-management
- synthcode
- typescript
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (1)Similar npm Claude Code plugins
All 20 @avasis-ai/synthcode alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@avasis-ai/synthcode. First seen Oct 29, 2026; last successful collection Oct 29, 2026. See the methodology.