Skip to main content

Python SDK + CLI for corebrain MCP server

Project description

forge — Python SDK

Python SDK + CLI for corebrain MCP server.

Install

pip install forge-client

Quickstart

from forge import Forge

with Forge(api_key="sk-...") as f:
    f.memory.save("Sambhaji ships solo via Sonnet sub-agents", tags=["thesis"])
    hits = f.memory.search("solo dev thesis", limit=5)
    print(hits)

Async:

from forge import AsyncForge

async with AsyncForge(api_key="sk-...") as f:
    await f.memory.save("async note")
    print(await f.memory.list(limit=10))

CLI

forge init                       # writes ~/.forge/config.toml
forge memory save "hello" -t demo
forge memory search "hello"
forge memory list
forge tools-list

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sbknext_forge-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sbknext_forge-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file sbknext_forge-0.1.0.tar.gz.

File metadata

  • Download URL: sbknext_forge-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for sbknext_forge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 705fa60d917f34b7d6d0876adc27e3d8e42b613e1a135e99a1892e8bdbb3d60b
MD5 76da5d8a035af8465758e6d50d4f8ad3
BLAKE2b-256 eeebe1c4de2149ae2142f3bf7d80137e2ae233d6378041a4cde5afbcca935ebb

See more details on using hashes here.

File details

Details for the file sbknext_forge-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sbknext_forge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for sbknext_forge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84c5cd0973854416cb744770c3807bef5498908f400faecf055e8c34cfc3ea5b
MD5 ec709fccfde7136ec473146a8db2c894
BLAKE2b-256 dada6243f63ea8971b30e45b21080d1cddb66e4eee1f2235c8545f5450e0ab8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page