lynx-coder
v0.0.1
Published
Lynx IA coding agents
Readme
Lynx Coder
A collection of Lynx AI coding agents, skills, and actions for the Agent Smith toolkit — provides a multi-agent coding team with coordinator, planner, reviewer, and specialist agents.
✨ Features
- 🤖 16 specialized agents — Coordinator, coder, planner, reviewer, doc writer, tester, searcher, manager, and worker agents
- 🧠 Coordinator pattern —
lx.ymldelegates tasks to specialized agents via therun-agenttool - 🤝 Collaborator pattern —
lx-colab.ymlandlx-ts-colab.ymluserun-collaboratorto fork independent agent instances - 🏗️ Worker pattern —
wagent.ymldelegates long-running tasks to worker agents (worker-shell.yml) - 📚 3 reusable skills —
create-or-edit-code,task-planning, andtask-success-evaluationfor structured workflows - 🔧 Custom actions — npm command execution with path authorization and shell sanitization
- 📝 Context fragments — Dynamic context injection via
{file:...}syntax for workspace awareness
📦 Installation
npm install -g lynx-coder🚀 Quick Start
Using the Coordinator Agent
The easiest way to use Lynx Coder is through the coordinator agent lx. It orchestrates a team of specialized agents to handle complex development tasks:
# Create a REST API with Express and TypeScript
lm lx "Create a REST API with Express and TypeScript" --workspace /workspace/my-projectThe coordinator will load skills, delegate planning to lx-planner, assign implementation to lx-coder or lx-ts, request review from lx-review, and report results back.
Using a Specialist Agent Directly
You can also invoke specialist agents directly for focused tasks:
# Create a utility file
lm lx-coder "Create a new file src/utils.ts with utility functions" --workspace /workspace/my-project
# Generate documentation
lm lx-doc "Write API documentation for the project" --workspace /workspace/my-project
# Review code
lm lx-review "Review the code in src/ for potential issues" --workspace /workspace/my-project
# Plan a task
lm lx-planner "Break down building a React app with authentication into steps" --workspace /workspace/my-project📖 Usage
Available Agents
| Agent | Model | Description | |-------|-------|-------------| | lx | qwen35b | Coordinator — orchestrates the coding team | | lx-ts | qwen35b | TypeScript coordinator with npm support | | lx-coder | qwen80b | General-purpose coding agent (create/edit files) | | lx-coder-ts | qwen80b | TypeScript-focused coding agent with npm commands | | lx-planner | qwen35b | Task decomposition & planning | | lx-review | qwen35b | Adversarial code reviewer (tools: rshell, readfile) | | lx-doc | qwen35b | Documentation generation agent | | lx-test | qwen35b | Test execution & debugging agent | | lx-search | qwen35b | Web search & page reading agent | | lx-manager | qwen35b | Task management & success evaluation | | lx-project | qwen35b | Project-level coordination | | lx-colab | qwen35b | Collaborator mode (run-collaborator) | | lx-ts-colab | qwen35b | TypeScript collaborator | | lxa | qwen35b | General-purpose agent | | wagent | qwen4b | Test agent with worker delegation | | worker-shell | qwen4b | Shell operations worker (read, write, search) |
Skills
create-or-edit-code
Structured workflow for code implementation:
- Check for execution plan (call
lx-plannerif missing) - Execute steps one at a time with verification
- Request code review from
lx-review - Evaluate success criteria and report
task-planning
Task decomposition workflow:
- Analyze task and determine goals
- Call
lx-plannerfor execution plan - Define success criteria
- Write goals to
.agents/tasks/[task-name]/state.md
task-success-evaluation
Task completion assessment:
- Read goals from
.agents/tasks/[task-name]/state.md - Review the implemented code
- Evaluate against success criteria
- Provide evaluation report
Context Fragments
Agents reference these markdown fragments for dynamic context injection:
| Fragment | Purpose |
|----------|---------|
| workspace.md | Workspace path and Linux environment instructions |
| ctx-helper-files.md | Project context helper file locations |
| agents-manager.md | List of available sub-agents (general) |
| agents-manager-ts.md | List of available sub-agents (TypeScript-focused) |
Custom Action: run-npm-command
Execute npm commands safely within the workspace. Pipe characters (|), shell operators (&, ;), and output redirection (2>) are sanitized — this runs npm directly, not through a shell interpreter.
📁 Project Structure
lynx-coder/
├── dist/
│ ├── agents/ # 16 YAML agent definitions
│ │ ├── lx.yml # Main coordinator (qwen35b)
│ │ ├── lx-ts.yml # TypeScript coordinator (qwen35b)
│ │ ├── lx-coder.yml # Coding agent (qwen80b)
│ │ ├── lx-coder-ts.yml # TypeScript coding agent (qwen80b)
│ │ ├── lx-planner.yml # Planning agent (qwen35b)
│ │ ├── lx-review.yml # Code review agent (qwen35b)
│ │ ├── lx-colab.yml # Collaborator agent (qwen35b)
│ │ ├── lx-ts-colab.yml # TypeScript collaborator (qwen35b)
│ │ ├── wagent.yml # Test agent with workers (qwen4b)
│ │ └── ... # Other agents
│ ├── skills/ # 3 skill definitions
│ │ ├── create-or-edit-code/SKILL.md
│ │ ├── task-planning/SKILL.md
│ │ └── task-success-evaluation/SKILL.md
│ ├── actions/ # Custom tool actions
│ │ └── run-npm-command.js
│ ├── fragments/ # Context helper markdown files
│ │ ├── workspace.md
│ │ ├── ctx-helper-files.md
│ │ ├── agents-manager.md
│ │ └── agents-manager-ts.md
│ └── utils.js # Path parsing utilities
├── package.json
└── README.md📝 License
MIT
Part of the Agent Smith toolkit — a TypeScript framework for building local-first AI agents.
