{"id":13877564,"url":"https://github.com/icebaker/nano-bots-spec","last_synced_at":"2025-10-06T10:31:57.465Z","repository":{"id":163721812,"uuid":"639181102","full_name":"icebaker/nano-bots-spec","owner":"icebaker","description":"Open spec for Nano Bots: small, AI-powered bots that can be easily shared as a single file, designed to support multiple providers such as Cohere Command, Google Gemini, Maritaca AI MariTalk, Mistral AI, Ollama, OpenAI ChatGPT, and others, with support for calling tools (functions).","archived":false,"fork":false,"pushed_at":"2024-06-23T21:17:57.000Z","size":288,"stargazers_count":26,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-01T01:12:43.987Z","etag":null,"topics":["anthropic","chatgpt","cohere","cohere-ai","gemini","gemini-pro","google-ai","google-gemini","gpt","gpt-4","gpt-4o","llama","llm","maritaca-ai","mistral","mistral-ai","nano-bots","ollama","openai","openai-api"],"latest_commit_sha":null,"homepage":"https://spec.nbots.io","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icebaker.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}},"created_at":"2023-05-10T23:59:46.000Z","updated_at":"2025-01-29T18:01:57.000Z","dependencies_parsed_at":"2023-11-19T21:27:53.746Z","dependency_job_id":"42f9ded1-017c-44ee-b9f2-13e5f7fca506","html_url":"https://github.com/icebaker/nano-bots-spec","commit_stats":{"total_commits":63,"total_committers":2,"mean_commits":31.5,"dds":"0.015873015873015928","last_synced_commit":"10c23e5859858308707ba058195c64aaf6fe1a96"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/icebaker/nano-bots-spec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icebaker%2Fnano-bots-spec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icebaker%2Fnano-bots-spec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icebaker%2Fnano-bots-spec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icebaker%2Fnano-bots-spec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icebaker","download_url":"https://codeload.github.com/icebaker/nano-bots-spec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icebaker%2Fnano-bots-spec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399628,"owners_count":25980330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["anthropic","chatgpt","cohere","cohere-ai","gemini","gemini-pro","google-ai","google-gemini","gpt","gpt-4","gpt-4o","llama","llm","maritaca-ai","mistral","mistral-ai","nano-bots","ollama","openai","openai-api"],"created_at":"2024-08-06T08:01:09.207Z","updated_at":"2025-10-06T10:31:57.180Z","avatar_url":"https://github.com/icebaker.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Nano Bots\n\n![Nano Bot](https://user-images.githubusercontent.com/113217272/237534390-3f0e0dc7-1f92-4490-a12d-bfc9d145cddb.png)\n_Image artificially created by Midjourney through a prompt generated by a Nano Bot specialized in Midjourney._\n\n**Nano Bots** is an open specification that can be implemented in any programming language. It specifies a configuration file with human-readable instructions for creating small and specialized AI-powered bots that can be effortlessly shared as a single, lightweight file.\n\n- [Full Specification](https://spec.nbots.io)\n- [Implementations](#implementations)\n  - [Projects](#projects)\n- [Example](#example)\n\n## Implementations\n\nImplementations of this specification:\n\n- [Nano Bots CLI (Ruby)](https://github.com/icebaker/ruby-nano-bots)\n\n### Projects\n\n- [Nano Bots CLI (Ruby)](https://github.com/icebaker/ruby-nano-bots)\n- [Nano Bots for Sublime Text](https://github.com/icebaker/sublime-nano-bots)\n- [Nano Bots for Visual Studio Code](https://github.com/icebaker/vscode-nano-bots)\n- [Nano Bots for Obsidian](https://github.com/icebaker/obsidian-nano-bots)\n- [Nano Bots API](https://github.com/icebaker/nano-bots-api)\n  - [Public API](https://api.nbots.io)\n- [Nano Bots Clinic (Live Editor)](https://clinic.nbots.io)\n- [Nano Bots Marketplace](https://nbots.io)\n\n## Example\n\nHere's what a Nano Bot _Cartridge_ looks like:\n\n```yaml\n---\nmeta:\n  symbol: 🤖\n  name: Nano Bot Name\n  author: Your Name\n  version: 1.0.0\n  license: CC0-1.0\n  description: A helpful assistant.\n\nbehaviors:\n  interaction:\n    directive: You are a helpful assistant.\n\nprovider:\n  id: openai\n  credentials:\n    address: ENV/OPENAI_API_ADDRESS\n    access-token: ENV/OPENAI_API_KEY\n  settings:\n    user: ENV/NANO_BOTS_END_USER\n    model: gpt-4o\n```\n\nHere's what a fully-functional implementation of Nano Bots feels like:\n\n```bash\nnb - - eval \"hello\"\n# =\u003e Hello! How may I assist you today?\n\nnb to-en-us-translator.yml - eval \"Salut, comment ça va?\"\n# =\u003e Hello, how are you doing?\n\nnb midjourney.yml - eval \"happy cyberpunk robot\"\n# =\u003e A cheerful and fun-loving robot is dancing wildly amidst a\n#    futuristic and lively cityscape. Holographic advertisements\n#    and vibrant neon colors can be seen in the background.\n\nnb lisp.yml - eval \"(+ 1 2)\"\n# =\u003e 3\n\ncat article.txt |\n  nb to-en-us-translator.yml - eval |\n  nb summarizer.yml - eval\n# -\u003e LLM stands for Large Language Model, which refers to an\n#    artificial intelligence algorithm capable of processing\n#    and understanding vast amounts of natural language data,\n#    allowing it to generate human-like responses and perform\n#    a range of language-related tasks.\n```\n\n```bash\nnb - - repl\n\nnb assistant.yml - repl\n```\n\n```text\n🤖\u003e Hi, how are you doing?\n\nAs an AI language model, I do not experience emotions but I am functioning\nwell. How can I assist you?\n\n🤖\u003e |\n```\n\nNano Bots can also be powered by _Tools_ (Functions):\n\n```yaml\n---\ntools:\n  - name: random-number\n    description: Generates a random number between 1 and 100.\n    fennel: |\n      (math.random 1 100)\n```\n\n```\n🤖\u003e please generate a random number\n\nrandom-number {} [yN] y\n\nrandom-number {}\n59\n\nThe randomly generated number is 59.\n\n🤖\u003e |\n```\n\nCheck out the full specification for Nano Bots: https://spec.nbots.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficebaker%2Fnano-bots-spec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficebaker%2Fnano-bots-spec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficebaker%2Fnano-bots-spec/lists"}