{"id":43651732,"url":"https://github.com/anchorco/anchor-sdk","last_synced_at":"2026-02-04T20:08:23.106Z","repository":{"id":332484335,"uuid":"1118637924","full_name":"anchorco/anchor-sdk","owner":"anchorco","description":"The official SDKs for Anchor API.","archived":false,"fork":false,"pushed_at":"2026-01-14T03:23:32.000Z","size":7291,"stargazers_count":15,"open_issues_count":6,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-14T07:12:29.963Z","etag":null,"topics":["agents","ai","ai-agents","api-client","audit","checkpoint","compliance","data-governance","llm","policy","python","rollback","storage","typescript"],"latest_commit_sha":null,"homepage":"https://www.getanchor.dev/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anchorco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2025-12-18T04:08:32.000Z","updated_at":"2026-01-14T03:23:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/anchorco/anchor-sdk","commit_stats":null,"previous_names":["anchorco/anchor-sdk"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/anchorco/anchor-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchorco%2Fanchor-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchorco%2Fanchor-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchorco%2Fanchor-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchorco%2Fanchor-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anchorco","download_url":"https://codeload.github.com/anchorco/anchor-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchorco%2Fanchor-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29094730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T19:16:55.479Z","status":"ssl_error","status_checked_at":"2026-02-04T19:16:52.508Z","response_time":62,"last_error":"SSL_read: 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":["agents","ai","ai-agents","api-client","audit","checkpoint","compliance","data-governance","llm","policy","python","rollback","storage","typescript"],"created_at":"2026-02-04T20:08:22.399Z","updated_at":"2026-02-04T20:08:23.100Z","avatar_url":"https://github.com/anchorco.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anchor SDK\n\n[![Version](https://img.shields.io/badge/version-1.1.0-blue.svg)](https://github.com/anchorco/anchor-sdk)\n[![License](https://img.shields.io/badge/license-Apache%202.0-green.svg)](LICENSE)\n\n**Control what your AI agents store. Audit everything.**\n\n_Block_ bad data before storage.\n\n_Prove_ what happened.\n\n_Rollback_ when things break.\n\n\n## Installation\n\n**Python:** ```pip install anchorai```\n\n**TypeScript/JavaScript:** ```npm install anchorai```\n\n## Quick Start\n\n### 1. Sign Up and Get Credentials\n\n1. **Go to [app.getanchor.dev](https://app.getanchor.dev)**\n2. **Sign up** with your email (or log in if you already have an account)\n3. **Copy your API Key** (e.g., `anc_abc123...`)\n4. **Important:** Save this securely - you won't be able to see the API key again!\n\n### 2. Install the SDK\n\n**Python** ([PyPI](https://pypi.org/project/anchorai/1.1.0/), [code](https://github.com/anchorco/anchor-sdk/python-sdk)):\n```python\nfrom anchor import Anchor\n\n# Initialize with your API key\nanchor = Anchor(api_key=\"your-api-key\")\n\n# Create an agent\nagent = anchor.agents.create(\"support-bot\")\n\n# Configure policies\nanchor.config.update(agent.id, {\"policies\": {\"block_pii\": True}})\n```\n\n**TypeScript** ([npm](https://www.npmjs.com/package/anchorai/1.1.0), [code](https://github.com/anchorco/anchor-sdk)):\n```typescript\nimport { Anchor } from 'anchorai';\n\n// Initialize with your API key\nconst anchor = new Anchor({ \n  apiKey: 'your-api-key'\n});\n\nconst agent = await anchor.agents.create('support-bot');\nawait anchor.config.update(agent.id, { policies: { block_pii: true } });\n```\n\n| Namespace | Purpose | API coverage |\n|-----------|-----------|-----------|\n| `anchor.agents` | Manage agents | create, get, list, update, delete, suspend, activate|\n| `anchor.config` | Version configurations |get, update, versions, get version, rollback|\n| `anchor.data` | Store data with policy enforcement |write, read, read full, delete, delete prefix, list, search|\n| `anchor.checkpoints` | Create state snapshots and restore |create, list, get, restore, delete|\n| `anchor.audit` | Keep hash-chained audit trail |query, get, verify, export|\n\n## Documentation\n\n[**Python Reference**](https://github.com/anchorco/anchor-sdk/tree/release/v1.1.0/python-sdk)\n  \n**TypeScript Reference**: typescript-sdk/README.md\n  \n**Contributing**: Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n**License**: This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## Links\n\n- Website: https://getanchor.dev\n- Documentation: https://docs.getanchor.dev\n- Python SDK Docs: python-sdk/README.md\n- TypeScript SDK Docs: typescript-sdk/README.md\n- GitHub Issues: https://github.com/anchorco/anchor-sdk/issues\n- Support: founders@getanchor.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchorco%2Fanchor-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanchorco%2Fanchor-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchorco%2Fanchor-sdk/lists"}