Skip to content

null-shot/typescript-agent-tookit

Repository files navigation

🌐 NullShot - Typescript Agent Framework

Building the future of AI Agent Interoperability

Pre-Alpha: This project is in active development.

Discord License: MIT

Welcome to a new paradigm in AI development. MCP provides the foundation for building intelligent, interoperable agents that can communicate, evolve, and generate value at the edge of the network.

Vision

We're extending Cloudflare's vision for AI Agents with a focus on web3 and MCPs as plugins:

  • 🀝 AI Agents as teammates/organizations generating revenue and performing advanced operations
  • πŸ’° Cost-effective shared hosting options
  • πŸ”’ Secure sensitive assets (trading agents, treasuries, etc.)
  • πŸ“ˆ Self-improving agents based on collective usage
  • πŸ’Έ Drive MCP usage revenue to open source contributors
  • πŸ’Ό Monetization avenues for closed-source MCP use cases
  • βš™οΈ Seamless configuration options
  • πŸš€ Quick iteration on ideas locally and in-cloud
  • πŸ”“ No vendor lock-in, self-hosting and personal account options

Project Status

This project is in pre-alpha and actively evolving. Current focus areas:

Ready for Use

  • βœ… Core MCP Framework
  • βœ… Multi Session & Authentication Patterns
  • βœ… Official MCP WebSocket Support and HTTP Streaming Support
  • βœ… Agent Framework (AI SDK)
  • βœ… Seamless MCP Plugins (mcp.json) for Agents
  • βœ… Agent MCP Dependency Management
  • βœ… MCP Webhook / External Service Support
  • βœ… Playground UI for LLMs + MCPs

In Development

  • ☁️ Cloudflare Service Examples (KV, D1, DO state, Analytics, Workflows, Schema Migrations)
  • πŸ€– LangChain and Agent SDK examples coming soon
  • πŸ“„ Cloudflare Pages (SSE / Fullstack) Examples
  • πŸ”‘ Authentication (OAuth, JWT)

Quick Start

Get started with the Null Shot CLI to create MCP servers and AI agents:

Install the CLI

npm install -g @nullshot/cli

Create a new MCP server

nullshot create mcp

Create a new Agent

nullshot create agent

Initialize MCP configuration in existing project

nullshot init

Install MCP dependencies

nullshot install

Run in development mode

nullshot dev

πŸ€– AI Provider Support

This framework supports 6 major AI providers with dynamic model fetching and official SDK integration:

Supported Providers

Provider Latest Models SDK Dynamic API Key
OpenAI GPT-4o, GPT-4o-mini, GPT-3.5-turbo @ai-sdk/openai βœ… βœ…
Anthropic Claude Opus 4.1, Claude Sonnet 4, Claude 3.7 @ai-sdk/anthropic βœ… βœ…
DeepSeek DeepSeek-Chat, DeepSeek-Coder @ai-sdk/deepseek βœ… βœ…
Workers AI Llama 3.1/3.2, Gemma 2, Mistral 7B (~49 models) workers-ai-provider βœ… Cloudflare
Gemini Gemini 1.5 Pro Latest, Gemini 1.5 Flash Latest @ai-sdk/google βœ… βœ…
Grok Grok-4, Grok-3, Grok-3-mini, Grok-2-1212 @ai-sdk/xai βœ… βœ…

Key Features

  • πŸ”„ Dynamic Model Fetching: Real-time model lists from provider APIs with intelligent fallbacks
  • 🎯 Official SDK Integration: Uses official AI SDK providers for consistent, reliable integration
  • πŸ’Ύ Smart Caching: Model lists cached for 30 minutes with API key validation
  • πŸ”§ Provider-Aware UI: Auto-loading saved API keys and intelligent model selection
  • πŸ“‘ Streaming Support: Real-time responses across all providers
  • ⚑ Fallback Handling: Graceful degradation when APIs are unavailable

Implementation Examples

Documentation

Comprehensive documentation is available at Null Shot Docs:

Release Process

This repository uses an automated release workflow following semantic versioning:

  1. Pull Request Testing - When you create a PR, it automatically runs tests and a semantic-release dry run
  2. Automated Publishing - When merged to main, changed packages are automatically published to npm
  3. Versioning - Package versions are determined by Conventional Commits standards

For detailed information about our release process, see .github/RELEASE_PROCESS.md.

Contributing

We welcome contributions! Our vision is to create a collaborative ecosystem where AI and human developers work together. Soon, we'll have an AI agent to audit and govern contributions based on our shared vision.

If you're interested in contributing, please:

  1. Join our Discord community
  2. Watch this repository for updates
  3. Star the project if you find it interesting

License

MIT License - see the LICENSE file for details.


Built with ❀️ by the Xava DAO Community

About

Null Shot's Typescript Vibework (Framework) for Serverless AI Agents

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 10