← 开源
TrafficGuard

typedai

TypeScript AI platform with AI chat, Autonomous agents, Software developer agents, chatbots and more

AI EngineeringBuild agent workflow (SDK)TypeScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.20k
Star
91
Fork
+-1
本周
9
贡献者
创建于 2024-04-10 · 更新于 2026-10-13 · 今日第 11192 名
主要开发者

TrafficGuard/typedai 排名第 11,192,有 1,197 个星标。

同类别比较

TrafficGuard/typedai 排名第 11,192,此处有 8 个同类条目;cubiq/ComfyUI_essentials 排名第 11,182。

同类别比较
名称排名指标
lquesada/ComfyUI-Inpaint-CropAndStitch11,171
语言:
Python
星标数:
1,202
分叉数:
86
简介:
ComfyUI nodes to crop before sampling and stitch back after sampling that speed up inpainting
siemens/ros-sharp11,177
语言:
C#
星标数:
1,201
分叉数:
409
简介:
ROS# is a set of open source software libraries and tools in C# for communicating with ROS from .NET applications, in particular Unity3D
FranciscoMoretti/chat-js11,179
语言:
TypeScript
星标数:
1,200
分叉数:
124
简介:
Production-ready AI chat. Start here and make it your own. Formerly Sparka AI
cubiq/ComfyUI_essentials11,182
语言:
Python
星标数:
1,199
分叉数:
186
paralleldrive/riteway11,203
语言:
JavaScript
星标数:
1,196
分叉数:
40
简介:
Simple, readable, helpful unit tests. Optimized for AI Driven Development.
zjunlp/LightMem11,210
语言:
Python
星标数:
1,195
分叉数:
116
简介:
[ICLR 2026] LightMem: Lightweight and Efficient Memory-Augmented Generation
ykdojo/kaguya11,214
语言:
JavaScript
星标数:
1,194
分叉数:
185
简介:
A ChatGPT plugin that allows you to load and edit your local files in a controlled way, as well as run any Python, JavaScript, and bash script. (No longer active - check https://github.com/ykdojo/safeclaw/)
yjacquin/fast-mcp11,224
语言:
Ruby
星标数:
1,192
分叉数:
107
简介:
A Ruby Implementation of the Model Context Protocol
关键参数与规格
关键参数与规格
参数值
语言TypeScript
类别AI Engineering
子类别Build agent workflow (SDK)
星标数1,197
分叉数91
贡献者9
创建日期2024-04-10
更新日期2026-10-13
1 天星标数0
7 天星标数-1
排名11,192
上次排名11,143
排名变化-49
7 天星标排名17,252
上次 7 天星标排名17,247
7 天星标排名变化-5
总星标排名9,728
上次总星标排名9,716
总星标排名变化-12
国家Australia
README 摘录

Included are capable software engineering agents, which have assisted building the platform. Key features Advanced Autonomous agents Software developer agents Pull request code review agent AI chat interface Slack chatbot Supports many LLM services - OpenAI, Anthropic (native & Vertex), Gemini, Groq, Fireworks, Together. ai, DeepSeek, Ollama, Cerebras, SambaNova, OpenRouter, X. ai Multi-agent extend-reasoning implementations of the LLM interface Configurable Human-in-the-loop settings Functional callable tools/integrations (Filesystem, Jira, Slack, Perplexity, Google Cloud, Gitlab, GitHub etc) CLI and

Web UI interface Run locally or deployed on the cloud with multi-user/SSO OpenTelemetry based observability Leverages the extensive Python AI ecosystem through executing Python scripts/packages CLI Usage TypedAI provides powerful command-line tools for automation and development workflows: The script runs locally while runs in Docker for isolation. Both provide access to all CLI agents including the specialized for autonomous code editing tasks. For comprehensive CLI documentation, see the CLI Usage Guide. Autonomous agents Reasoning/planning inspired

from Google's Self-Discover and other papers Memory and function call history for complex workflows Iterative planning with hierarchical task decomposition Sandboxed execution of generated code for multi-step function calling and logic LLM function schemas auto-generated from source code Human-in-the-loop for budget control, agent initiated questions and error handling More details at the Autonomous agent docs Software developer agents Code Editing Agent for local repositories Auto-detection of project initialization, compile, test and lint Task

file selection agent selects the relevant files Design agent creates the implementation plan. Code editing loop with compile, lint, test, fix Final review of the changes with an additional code editing loop if required. Software Engineer Agent (For ticket to Pull Request workflow): Find the appropriate repository from GitLab/GitHub Clone and create branch Call the Code Editing Agent Create merge request Code Review agent: Configurable code review guidelines Posts comments on GitLab merge requests at the appropriate line with

suggested changes Repository ad hoc query agent Codebase awareness - optional index creation used by the task file selection agent More details at the Software developer agents docs. Flexible run/deploy options Run from the repository or the provided Dockerfile in single user mode. CLI interface Web interface Scale-to-zero deployment on Firestore & Cloud Run Multi-user SSO enterprise deployment (with Google Cloud IAP) Terraform, infra scripts and more authentication options coming soon. UI Examples List agents New Agent Agent

error handling Agent LLM calls Sample trace (Google Cloud) Human in the loop notification Code review configuration AI Chat User profile Default values can also be set from environment variables. Code Examples TypedAI vs LangChain TypedAI doesn't use LangChain, for many reasons that you can read online The scope of the TypedAI platform covers functionality found in LangChain and LangSmith. Let's compare the LangChain document example for Multiple Chains to the equivalent TypedAI implementation. LangChain TypedAI The TypedAI code also

has the advantage of static typing with the prompt arguments, enabling you to refactor with ease. Using simple control flow

常见问题

记录了多少星标和分叉?

TrafficGuard/typedai 有 1,197 个星标和 91 个分叉。

仓库排名是多少?

TrafficGuard/typedai 排名第 11,192。

记录的语言和类别是什么?

TrafficGuard/typedai 有 1,197 个星标,语言为 TypeScript,类别为 AI Engineering。

哪个仓库排名最接近?

TrafficGuard/typedai 与 cubiq/ComfyUI_essentials 比较,后者排名第 11,182,有 1,199 个星标。

README

The TypeScript-first AI platform for developers

Autonomous AI agents and LLM based workflows

Documentation site

Home | Setup | Observability | Function calling | Autonomous AI Agent | AI Software Engineer | AI Code reviews | Tools/Integrations | Roadmap


Features | UI Examples | Code examples | Contributing

TypedAI is a full-featured platform for developing and running agents, LLM based workflows and chatbots.

Included are capable software engineering agents, which have assisted building the platform.

Key features

CLI Usage

TypedAI provides powerful command-line tools for automation and development workflows:

# Quick examples using the ai wrapper script
ai query "What test frameworks does this repository use?"
ai code "Add error handling to the user authentication function"  
ai research "Latest developments in large language models"

The ai script runs locally while aid runs in Docker for isolation. Both provide access to all CLI agents including the specialized codeAgent for autonomous code editing tasks.

For comprehensive CLI documentation, see the CLI Usage Guide.

Autonomous agents

  • Reasoning/planning inspired from Google's Self-Discover and other papers
  • Memory and function call history for complex workflows
  • Iterative planning with hierarchical task decomposition
  • Sandboxed execution of generated code for multi-step function calling and logic
  • LLM function schemas auto-generated from source code
  • Human-in-the-loop for budget control, agent initiated questions and error handling

More details at the Autonomous agent docs

Software developer agents

  • Code Editing Agent for local repositories
    • Auto-detection of project initialization, compile, test and lint
    • Task file selection agent selects the relevant files
    • Design agent creates the implementation plan.
    • Code editing loop with compile, lint, test, fix
      • Compile error analyser can search online, add additional files and install packages
    • Final review of the changes with an additional code editing loop if required.
  • Software Engineer Agent (For ticket to Pull Request workflow):
    • Find the appropriate repository from GitLab/GitHub
    • Clone and create branch
    • Call the Code Editing Agent
    • Create merge request
  • Code Review agent:
    • Configurable code review guidelines
    • Posts comments on GitLab merge requests at the appropriate line with suggested changes
  • Repository ad hoc query agent
  • Codebase awareness - optional index creation used by the task file selection agent

More details at the Software developer agents docs.

Flexible run/deploy options

  • Run from the repository or the provided Dockerfile in single user mode.
  • CLI interface
  • Web interface
  • Scale-to-zero deployment on Firestore & Cloud Run
  • Multi-user SSO enterprise deployment (with Google Cloud IAP)
  • Terraform, infra scripts and more authentication options coming soon.

UI Examples

List agents

New Agent

Agent error handling

Agent LLM calls

Sample trace (Google Cloud)

Human in the loop notification

Code review configuration

AI Chat

User profile

Default values can also be set from environment variables.

Code Examples

TypedAI vs LangChain

TypedAI doesn't use LangChain, for many reasons that you can read online

The scope of the TypedAI platform covers functionality found in LangChain and LangSmith.

Let's compare the LangChain document example for Multiple Chains to the equivalent TypedAI implementation.

LangChain

import { PromptTemplate } from "@langchain/core/prompts";
import { RunnableSequence } from "@langchain/core/runnables";
import { StringOutputParser } from "@langchain/core/output_parsers";
import { ChatAnthropic } from "@langchain/anthropic";

const prompt1 = PromptTemplate.fromTemplate(
  `What is the city {person} is from? Only respond with the name of the city.`
);
const prompt2 = PromptTemplate.fromTemplate(
  `What country is the city {city} in? Respond in {language}.`
);

const model = new ChatAnthropic({});

const chain = prompt1.pipe(model).pipe(new StringOutputParser());

const combinedChain = RunnableSequence.from([
  {
    city: chain,
    language: (input) => input.language,
  },
  prompt2,
  model,
  new StringOutputParser(),
]);

const result = await combinedChain.invoke({
  person: "Obama",
  language: "German",
});

console.log(result);

TypedAI

import { runAgentWorkflow } from '#agent/agentWorkflowRunner';
import { anthropicLLMs } from '#llms/anthropic'

const cityFromPerson = (person: string) => `What is the city ${person} is from? Only respond with the name of the city.`;
const countryFromCity = (city: string, language: string) => `What country is the city ${city} in? Respond in ${language}.`;

runAgentWorkflow({ llms: anthropicLLMs() }, async () => {
  const city = await llms().easy.generateText(cityFromPerson('Obama'));
  const country = await llms().easy.generateText(countryFromCity(city, 'German'));

  console.log(country);
});

The TypedAI code also has the advantage of static typing with the prompt arguments, enabling you to refactor with ease. Using simple control flow allows easy debugging with breakpoints/logging.

To run a fully autonomous agent:

startAgent({
  agentName: 'Create ollama',
  initialPrompt: 'Research how to use ollama using node.js and create a new implementation under the llm folder. Look at a couple of the other files in that folder for the style which must be followed',
  functions: [FileSystem, Perplexity, CodeEditinAgent],
  llms,
});

Automated LLM function schemas

LLM function calling schema are automatically generated by having the @func decorator on class methods, avoiding the definition duplication using zod or JSON.

@funcClass(__filename)
export class Jira {
    instance: AxiosInstance | undefined;
    
    /**
     * Gets the description of a JIRA issue
     * @param {string} issueId - the issue id (e.g. XYZ-123)
     * @returns {Promise} the issue description
     */
    @func()
    async getJiraDescription(issueId: string): Promise {
        if (!issueId) throw new Error('issueId is required');
        const response = await this.axios().get(`issue/${issueId}`);
        return response.data.fields.description;
    }
}

Contributing

We warmly welcome contributions to the project through issues, pull requests or discussions

排名相邻
同类项目