{"id":50124783,"url":"https://github.com/kohaku-lab/kt-template","last_synced_at":"2026-05-23T19:04:29.539Z","repository":{"id":353659797,"uuid":"1218009680","full_name":"Kohaku-Lab/kt-template","owner":"Kohaku-Lab","description":"A template project for create KohakuTerrarium creatures/plugins and more","archived":false,"fork":false,"pushed_at":"2026-04-24T21:01:52.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-24T23:10:11.191Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kohaku-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T12:51:05.000Z","updated_at":"2026-04-24T21:01:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Kohaku-Lab/kt-template","commit_stats":null,"previous_names":["kohaku-lab/kt-template"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/Kohaku-Lab/kt-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kohaku-Lab%2Fkt-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kohaku-Lab%2Fkt-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kohaku-Lab%2Fkt-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kohaku-Lab%2Fkt-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kohaku-Lab","download_url":"https://codeload.github.com/Kohaku-Lab/kt-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kohaku-Lab%2Fkt-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33408515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T18:09:33.147Z","status":"ssl_error","status_checked_at":"2026-05-23T18:09:31.380Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-23T19:04:19.201Z","updated_at":"2026-05-23T19:04:29.536Z","avatar_url":"https://github.com/Kohaku-Lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kt-template\n\nClone this folder to start a new KohakuTerrarium package.\n\nIt is structured as a real reusable pack, not just a loose example:\n\n- `kohaku.yaml` — package manifest used by `kt install`\n- `creatures/` — standalone creature templates\n- `terrariums/` — multi-creature terrarium templates\n- `kt_template/` — installable Python package for reusable code\n\n## What is included\n\n### Standalone creature template\n\n`creatures/template-creature/` includes:\n\n- a heavily commented `config.yaml`\n- prompt files\n- memory files\n- a full template for every custom extension surface:\n  - tool\n  - input\n  - output\n  - trigger\n  - sub-agent config export\n  - plugin\n- each template demonstrates the full user-facing author API for that surface,\n  with comments showing what every overrideable method or field is for\n\nRun it with:\n\n```bash\nkt run creatures/template-creature\n```\n\n## Terrarium template\n\n`terrariums/template-team/` includes:\n\n- a commented `terrarium.yaml`\n- a root prompt\n- three creature roles wired through channels\n\nRun it with:\n\n```bash\nkt terrarium run terrariums/template-team\n```\n\n## Package usage\n\nInstall locally in editable mode while developing:\n\n```bash\nkt install ./kt-template -e\n```\n\nThen run by package reference:\n\n```bash\nkt run @kt-template/creatures/template-creature\nkt terrarium run @kt-template/terrariums/template-team\n```\n\n## How to customize\n\n1. Rename the package in `kohaku.yaml`.\n2. Rename `kt_template/` to your own Python package name.\n3. Rename the creature and terrarium folders.\n4. Update `module:` paths in creature configs if you move files.\n5. Replace prompt and memory content with your actual persona and workflow.\n\n## Notes on config shape\n\nThis repository's config loader accepts custom-module options as inline fields.\nThat is why the sample configs here use:\n\n```yaml\n- name: my_tool\n  type: custom\n  module: ./tools/my_tool.py\n  class: MyTool\n  greeting: hello\n```\n\ninstead of nesting those extra fields under `options:`.\n\n## Suggested first edits\n\n- `kt-template/kohaku.yaml`\n- `kt-template/creatures/template-creature/config.yaml`\n- `kt-template/creatures/template-creature/prompts/system.md`\n- `kt-template/terrariums/template-team/terrarium.yaml`\n- `kt-template/kt_template/tools/package_tool.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkohaku-lab%2Fkt-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkohaku-lab%2Fkt-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkohaku-lab%2Fkt-template/lists"}