This release is a pre-release and may not be stable for production use.
🌌 What is Senjutsu?
Senjutsu is an AI coding agent that thinks like an expert developer before writing a single line of code.
Instead of generating code immediately, it runs a Precision Absolute pipeline inspired by cognitive models from the Naruto universe:
| Module | Role |
|---|---|
| 🔵 Byakugan | Reveals the real structure of a request — not what is said, but what IS |
| 🌍 Mode Sage | Evaluates global systemic coherence — a locally perfect decision can be globally catastrophic |
| 👁️ Jōgan | Detects emergent trajectories — rejects decisions correct now but dangerous later |
| 📚 RAG Booster | Retrieves relevant skills from 150+ sources (anthropics, microsoft, vercel, cursorrules...) |
| 🛡️ Security | Triple-layer validation — every skill is scanned before use |
| 💻 Dev Expert | Enforces full-stack architecture, security, SEO, and stack selection standards |
⚡ Quick Start
pip install senjutsu
from senjutsu import SenjutsuAgent
agent = SenjutsuAgent(api_key="gsk_your_groq_key")
result = agent.run("Build a multi-tenant SaaS analytics dashboard")
print(result.byakugan) # Structural analysis
print(result.mode_sage) # Systemic coherence
print(result.jougan) # Trajectory anticipation
print(result.execution) # Production-ready code
🏗️ Architecture
Your Task (vague)
↓
🔵 BYAKUGAN → Reveals real structure (not the words — the reality)
↓
🌍 MODE SAGE → Evaluates systemic coherence + recommends stack
↓
👁️ JŌGAN → Anticipates drifts, identifies points of no return
↓
📚 RAG BOOSTER → Gravitational scoring across 150+ skills
↓
🛡️ SECURITY → Pattern scan + LLM semantic review of selected skills
↓
💻 EXECUTION → Production-ready deliverable guided by triple perception
Skills Sources (RAG Booster)
| Source | Format | Skills |
|---|---|---|
anthropics/skills |
SKILL.md | ~50 |
microsoft/skills |
SKILL.md | 131 |
vercel-labs/skills |
SKILL.md | ~30 |
regenrek/agent-skills |
SKILL.md | ~15 |
awesome-cursorrules |
.cursorrules | 300+ |
| Built-in: dev-expert, github-actions, svg-animations | SKILL.md | 3 |
📦 Allpath Runner Compatible
Senjutsu follows the Allpath Runner specification:
// allpath.expose.json
{
"name": "senjutsu-coding-agent",
"language": "python",
"entry_point": "senjutsu/main.py",
"functions": [
{"name": "run", "description": "Full Precision Absolute pipeline"},
{"name": "version"},
{"name": "skills_list"}
]
}
# From any language via Allpath
result = allpath.call("senjutsu-coding-agent", "run", [task, api_key])
🛡️ Security
Every skill goes through a triple validation:
- Fast pattern scan — regex detection of prompt injection, exfiltration, credential theft
- LLM semantic review — Byakugan-inspired analysis of skill intent
- Sanitization — Remove malicious lines, keep useful content
from senjutsu.core.security import is_skill_safe, sanitize_skill
safe, issues = is_skill_safe(skill_content)
clean = sanitize_skill(skill_content)
🔧 Advanced Usage
from senjutsu import SenjutsuAgent, SkillsRAG
# Custom skills directory
rag = SkillsRAG(
cache_dir=".my_cache",
local_skills_dir="./my_skills"
)
rag.pull_repos() # Clone anthropics, microsoft, vercel, regenrek
rag.index_all() # Index all found skills with security validation
agent = SenjutsuAgent(
api_key="gsk_...",
provider="groq", # or "openai"
model="moonshotai/kimi-k2-instruct",
rag=rag,
verbose=True
)
result = agent.run("Your task here")
print(f"Skills used: {result.skills_used}")
print(f"Total time: {result.total_seconds:.1f}s")
CLI
senjutsu "Build a FastAPI authentication service with JWT" --api-key gsk_...
senjutsu --skills # List all indexed skills
senjutsu --version
👨🏾💻 About the Author
Daouda Abdoul Anzize — Computational Paradigm Designer
24 years old • Cotonou, Bénin → Global Remote
"I don't build apps. I build the clay others use to build apps."
Creator of: NEXUS AXION • NGPC • Allpath Runner • Nexus Backpressure Protocol
🎯 Open to: Research labs, Protocol foundations, Fellowships, Remote roles
📫 anzize.contact@proton.me • @Nexusstudio100 • tryboy869.github.io/daa
MIT License • Senjutsu Coding Agent v1.0.0-beta
Metadata
Release files for senjutsu 1.0.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| senjutsu-1.0.0b1.tar.gz | 37.1 kB | Without provenance | Details for senjutsu-1.0.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| senjutsu-1.0.0b1-py3-none-any.whl | Python 3 | none | any | Details for senjutsu-1.0.0b1-py3-none-any.whl |
Total release size: 74.6 kB
Release files / senjutsu-1.0.0b1.tar.gz
| Download URL | senjutsu-1.0.0b1.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
060ef90c83271992d5ee9738d7c3d38bc701f4ba1b9289c277613ed6cf20a2da
|
|
BLAKE2b-256 checksum How to use checksums |
3757eb3b04dd892bc58e42a4ed2c4e3fc6747b6683acd3b25736ca3be4254701
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / senjutsu-1.0.0b1-py3-none-any.whl
| Download URL | senjutsu-1.0.0b1-py3-none-any.whl |
|---|---|
| Size | 37.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb44a02ae59f29bc209c4cf1b0ae2a581b9a9782e771848d1ca2b96683df0be3
|
|
BLAKE2b-256 checksum How to use checksums |
848768fff82febfd1fd8e838699c60d3488f035a83a2f14692956753558cc091
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for senjutsu 1.0.0b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.