AIエージェントを
TypeScriptで。
ドキュメント投入。エージェントをデプロイ完了。
import { Agent, RAG } from '@schift-io/sdk' const rag = new RAG({ bucket: 'support-docs', topK: 5 }) export const agent = new Agent({ name: 'support-bot', instructions: 'Answer questions from the knowledge base.', rag, tools: [searchDocs, collectLead], model: 'gpt-4.1-nano', }) const result = await agent.run('How do I reset my password?') console.log(result.output)
TypeScript | RAG | Tools | Any LLM | Open Source
97%+
検索精度 BEIRベンチマーク基準
<300us
p50検索レイテンシ 1Mベクトル基準
5min
初回エージェント デプロイまで
3
すぐ使える テンプレート
今すぐ利用可能
エージェントに必要なすべて。 不要なものなし。
5つのプリミティブ。ボイラープレートゼロ。RAG、ツール、メモリが標準装備のエージェントをすぐにデプロイ。
エージェントランタイム
自動ツールディスパッチ付きReActループ。指示を定義し、ツールを登録し、agent.run()を呼び出すだけ。残りはSchiftが処理します。
import { Agent } from '@schift-io/sdk' const agent = new Agent({ name: 'support-bot', instructions: 'Answer from the knowledge base.', tools: [searchDocs], model: 'gpt-4.1-nano', }) const result = await agent.run('How do I reset?')
内蔵RAG
ドキュメントをアップロードし、意味で検索し、ソース付きで回答。OCR、チャンキング、エンベディング、リランキング — すべてマネージド。
import { RAG } from '@schift-io/sdk' const rag = new RAG({ bucket: 'support-docs', topK: 5, }) await rag.upload(['manual.pdf', 'faq.docx']) const results = await rag.search('password reset')
ツール呼び出し
任意のasync関数をツールとして登録。型安全なパラメータ、自動バリデーション、エラーリカバリ。OpenAIとAnthropicフォーマット対応。
import type { AgentTool } from '@schift-io/sdk' export const collectLead: AgentTool = { name: 'collect_lead', description: 'Collect visitor contact info', parameters: { type: 'object', properties: { email: { type: 'string' } }, }, handler: async ({ email }) => saveLead(email), }
どのLLMでも、エンドポイント1つ
GPT、Claude、Gemini — コード変更なしでモデル切り替え。OpenAI互換ルーティングと自動フォールバック内蔵。
const agent = new Agent({ model: 'gpt-4.1-nano', // swap to 'claude-sonnet-4-6' // or 'gemini-2.5-flash' // — zero code change needed }) // Automatic fallback if primary model fails const result = await agent.run('Summarize this contract')
テンプレートから始める。 より速くデプロイ。
プロダクション対応のエージェントテンプレート。選んで、カスタマイズして、デプロイ。
カスタマーサポート
RAG搭載サポートエージェント + リード収集。
- FAQ回答
- ソース引用
- リードキャプチャ
法律Q&A
契約分析と法律文書検索。
- 条項抽出
- 判例検索
- 韓国法対応
リサーチアシスタント
論文Q&A + クロスリファレンス引用。
- PDFインジェスト
- 論文間クロス分析
- 引用追跡
スキャフォールド。ビルド。 デプロイ。
エージェントをスキャフォールド
npx create-schift — テンプレートを選び、APIキーを入力。数秒で動作するエージェントプロジェクトが完成します。
$ npx create-schift@latest データをアップロード
SDKまたはダッシュボードでドキュメントをプッシュ。SchiftがOCR、チャンキング、エンベディングを処理。エージェントがすぐに検索できます。
await rag.upload(['manual.pdf', 'faq.docx']) 本番にデプロイ
npm run devでローカルテスト。準備ができたらschift deploy。モニタリングとロギング内蔵のエージェントがライブに。
$ schift deploy あらゆるユースケースのためのエージェント。
Live Demo
試してみてください
Schift AIエージェントに直接質問できます。サインアップ不要。
Schiftについて何でも聞いてください — 料金、機能、統合方法など。
質問してみる
2.3x faster than FAISS.
3.3x better tail latency.
Same HNSW algorithm, same machine, same vectors. Schift SQ8 delivers sub-300us p50 with 3.3x tighter p99 than FAISS — at 4x less memory, with persistence, knowledge graphs, and compaction included.
3.3x better tail latency, 2.3x higher throughput
Schift SQ8 p99 is 502us vs FAISS 1,653us at 1M vectors, using 4x less memory. Unlike pure in-memory libraries, Schift includes disk persistence, WAL crash recovery, knowledge graph search, and live compaction.
74K
vectors/sec projection
4x
memory savings (SQ8)
0
re-embedding needed
Apple Silicon, single-thread search, same machine. HNSW M=32, efConstruction=200, efSearch=50. Full benchmark source available on GitHub.
料金
シンプル。 透明。
前払いクレジット、必要時の自動チャージ、大規模チーム向け専用インスタンス。
Metric
Price