Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By ohdearquant
Run a local CI pipeline with auto-detected stages for Rust and Python projects, enforce conventional commits with pre-commit hooks, format multi-stack codebases, bootstrap project environments, create GitHub PRs with auto-generated bodies, and capture session context mid-stream — all within a developer's workflow to improve code quality and speed up review cycles.
npx claudepluginhub ohdearquant/lionagi --plugin devxRun local CI pipeline (fmt, lint, test, build) before pushing. Suggest when: "ci", "run checks", "ensure it works", "before PR", or after large changes to verify nothing is broken.
Conventional commit workflow with pre-commit checks, auto-staging, and push. Suggest when: "commit", "save changes", "push", or after completing code changes that need committing.
Multi-stack code formatter. Suggest when: "format", "fmt", "lint", code style issues found, or before committing. Auto-detects Rust/Python/Markdown/TypeScript.
Bootstrap development environment. Suggest when: "init", "setup", "bootstrap", starting on a new project clone, or switching machines. Detects Rust/Python/Node, installs deps, sets up git hooks.
GitHub PR creation with auto-push and conventional titles. Suggest when: "create PR", "open PR", "push and PR", "submit for review", or branch is ready for review.
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Commands, agents, skills, and context for AI-assisted development workflows
PROJECT.md-first autonomous development with hybrid auto-fix documentation. 8-agent pipeline, auto-orchestration, docs auto-update on commit (true vibe coding). Knowledge base system with 90% faster repeat research. Strict mode enforces SDLC best practices automatically. Works for ANY Python/JavaScript/TypeScript/Go project.
Enforce conventional commits, conventional comments, and engineering ownership for commits, PRs, and code reviews
Commands for Git operations, commits, and PRs
Autonomous session orchestrator for Claude Code - manages multi-phase development workflows
Git workflows - commits, branches, PRs, issue processing, auto-close detection, and repository management
Author lionagi playbooks for li play / li o flow
Memory recall, MEMORY.md hygiene, auto-memory bootstrap
Bridge lionagi runs/agents to khive knowledge graph
Direct multi-play DAGs with critic gating and worktree isolation
Multi-perspective research with web search, codebase analysis, and synthesis
Orchestrate multi-agent AI workflows from the command line or Python.
Docs | Discord | PyPI | Changelog
AgentConfig presets (.coding(), .research()) with built-in permission policies, hooks, and tool registration via create_agent().SandboxSession uses git worktrees for isolated editing: create() → edit → diff() → commit() → merge() or discard().DEEPSEEK_API_KEY) and Pi (via Pi Code CLI) are now supported as CLI agent backends.~/.lionagi/settings.yaml and per-project .lionagi/settings.yaml are merged automatically at startup.pip install lionagi
CLI provider auth — CLI aliases spawn subprocess tools, not REST API calls:
claude: install Claude Code CLI → claude login (subscription) or export ANTHROPIC_API_KEY=sk-ant-... (API key)codex: requires ChatGPT Plus/Pro → npm install -g @openai/codex → codex logindeepseek: export DEEPSEEK_API_KEY=sk-... for DeepSeek modelspi: install Pi Code CLI for Pi modelsiModel, Branch): export OPENAI_API_KEY=sk-... for gpt-4.1-mini defaultimport asyncio
from lionagi import Branch
async def main():
b = Branch() # default: gpt-4.1-mini (requires OPENAI_API_KEY)
reply = await b.communicate("Name 3 features of async Python, one sentence each.")
print(reply)
asyncio.run(main())
# output:
1. Coroutines let you write non-blocking I/O without threads.
2. asyncio.gather runs multiple coroutines concurrently under one event loop.
3. async generators stream results lazily, pausing between each yield.
For multi-agent orchestration without Python, see CLI Quick Start.
| Term | What it is |
|---|---|
| Branch | Single conversation thread — message history, tools, model config. Primary API surface. |
| Session | Coordinates multiple Branches; runs DAG workflows across them. |
| flow | li o flow — orchestrator plans a DAG, workers execute with dependency edges resolved. |
| team | Persistent inbox messaging between agents via li team send/receive. |
| operate | branch.operate(instruction=…) — tool use + structured output + optional streaming. |
| persist | Every run saved to ~/.lionagi/runs/{run_id}/. Resume with li agent -r <branch-id>. |
| AgentConfig | Preset agent configurations (coding, research) with permission policies, hooks, and tool registration. |
| Sandbox | Git worktree isolation for safe experimentation — SandboxSession.create() → edit → diff → merge or discard. |
li# Single agent
li agent claude/sonnet "Explain the observer pattern in 3 sentences"
# Fan-out: N workers in parallel, optional synthesis
li o fanout claude/sonnet "Identify code smells in this codebase" -n 3 --with-synthesis
# DAG flow: orchestrator plans agents with dependency edges
li o flow claude/sonnet "Audit the auth module for security issues" --cwd .
# Team messaging: inbox coordination between agents
li team create "review" && li team send "Start analysis" -t <id> --to analyst
# Playbook: parametric flow spec at ~/.lionagi/playbooks/audit.playbook.yaml
li play audit --mode security "the auth service"
li play NAME --help # Show playbook parameters and usage
# Skill: print a CC-compatible reference body to stdout (for agent context injection)
li skill commit
# Resume any run
li agent -r <branch-id> "follow up on your findings"
Full reference → docs/cli-reference.md · Installable templates → examples/
Chat
from lionagi import Branch
b = Branch(chat_model="openai/gpt-5.4", system="You are a concise assistant.")
reply = await b.communicate("What causes rainbows?")
Structured output
from pydantic import BaseModel
class Summary(BaseModel):
points: list[str]
confidence: float
result = await b.operate(instruction="Summarize this text.", response_format=Summary)
Tools + ReAct
from lionagi.tools.types import ReaderTool
branch = Branch(tools=[ReaderTool])
result = await branch.ReAct(
instruct={"instruction": "Summarize /path/to/paper.pdf"},
)