Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import * as Effect from "effect/Effect"
import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient"
import * as HttpClient from "effect/unstable/http/HttpClient"
Effect.gen(function*() {
const client = yield* HttpClient.HttpClient
const res = yield* client.get("https://jsonplaceholder.typicode.com/posts/1")
yield* res.json
}).pipe(
Effect.provide(FetchHttpClient.layer),
Effect.runPromise
)