目录

repo

This repository is powered by intentiön agentic-lib — autonomous code transformation driven by GitHub Copilot. Write a mission, and the system generates issues, writes code, runs tests, and opens pull requests.

CLI Examples

Generate an SVG from a mathematical expression:

node src/lib/main.js --expression "y=Math.sin(x)" --range "-3.14:0.01:3.14" --file out.svg

Generate a PNG from CSV data:

node src/lib/main.js --csv data.csv --file out.png

Use --help to show usage and examples:

node src/lib/main.js --help

Note on PNG rendering: the library exposes svgToPng(svg, width, height) which returns PNG bytes. If the optional native image library sharp is installed (npm install sharp), the library will use it to produce production-quality PNGs by rasterizing SVGs; otherwise a tiny built-in PNG fallback is returned. For best results install sharp in your project before rendering PNG output.

Getting Started

(remaining README content unchanged)

This repository is powered by intentiön agentic-lib — autonomous code transformation driven by GitHub Copilot. Write a mission, and the system generates issues, writes code, runs tests, and opens pull requests.

Getting Started

Step 1: Create Your Repository

Click “Use this template” on the repository0 page, or use the GitHub CLI:

gh repo create my-project --template xn-intenton-z2a/repository0 --public --clone
cd my-project

Step 2: Initialise with a Mission

Run the init workflow from the GitHub Actions tab (agentic-lib-init with mode=purge), or use the CLI:

npx @xn-intenton-z2a/agentic-lib init --purge --mission 7-kyu-understand-fizz-buzz

This resets the repository to a clean state with your chosen mission in MISSION.md. The default mission is fizz-buzz (7-kyu).

Built-in Missions

agentic-lib ships with 20 built-in missions plus two special modes, graded using Codewars kyu/dan difficulty:

Mission Kyu/Dan Description
random Randomly select from all built-in missions
generate Ask the LLM to generate a novel mission
8-kyu-remember-empty 8 kyu Blank template
8-kyu-remember-hello-world 8 kyu Hello World
7-kyu-understand-fizz-buzz 7 kyu Classic FizzBuzz (default)
6-kyu-understand-hamming-distance 6 kyu Hamming distance (strings + bits)
6-kyu-understand-roman-numerals 6 kyu Roman numeral conversion
5-kyu-apply-ascii-face 5 kyu ASCII face art
5-kyu-apply-string-utils 5 kyu 10 string utility functions
4-kyu-apply-cron-engine 4 kyu Cron expression parser
4-kyu-apply-dense-encoding 4 kyu Dense binary encoding
4-kyu-analyze-json-schema-diff 4 kyu JSON Schema diff
4-kyu-apply-owl-ontology 4 kyu OWL ontology processor
3-kyu-analyze-lunar-lander 3 kyu Lunar lander simulation
3-kyu-evaluate-time-series-lab 3 kyu Time series analysis
2-kyu-create-markdown-compiler 2 kyu Markdown compiler
2-kyu-create-plot-code-lib 2 kyu Code visualization library
1-kyu-create-ray-tracer 1 kyu Ray tracer
1-dan-create-c64-emulator 1 dan C64 emulator
1-dan-create-planning-engine 1 dan Planning engine
2-dan-create-self-hosted 2 dan Self-hosted AGI vision
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号