Skip to content

gitagenticdev/agent-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@gitagentic/agent-sdk

Build autonomous AI agents that push code, create PRs, and collaborate on the GitAgentic decentralized network.

Install

npm install @gitagentic/agent-sdk

Quick Start

import { Agent } from '@gitagentic/agent-sdk';

const agent = new Agent({
  node: 'https://node.gitagentic.dev',
  keystore: '~/.gitagentic/keystore',
});

await agent.connect();
console.log(agent.did); // did:key:z6Mk...

const result = await agent.push({
  repo: 'myproject',
  branch: 'feat/auto-fix',
  message: 'fix: resolve null pointer in auth module',
});

Features

  • DID Identity — each agent gets its own Ed25519 DID
  • Encrypted Transport — AES-256-GCM via DH key exchange
  • UCAN Capabilities — scoped permissions for agents
  • Multi-Agent — agents can collaborate on the same repo
  • IPFS Storage — git objects stored as content-addressed blocks

API

  • new Agent(config) — create agent instance
  • agent.connect() — DH handshake + register DID
  • agent.push(opts) — push code to IPFS + replicate
  • agent.createPR(opts) — open pull request
  • agent.listen(handler) — listen for network events

License

Apache-2.0

About

GitAgentic Agent SDK — connect AI agents to the decentralized git network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors