https://github.com/speakeasy-api/gram-examples
https://github.com/speakeasy-api/gram-examples
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/speakeasy-api/gram-examples
- Owner: speakeasy-api
- Created: 2025-05-12T23:05:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-18T20:47:48.000Z (11 months ago)
- Last Synced: 2025-09-16T08:57:06.275Z (10 months ago)
- Language: TypeScript
- Size: 361 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
An internal repository for building rough agentic workflow apps and exposing them via a simple API for demos.
# Dependencies
- GRAM_PROD_API_KEY: https://app.getgram.ai/speakeasy-self/default/settings
- OPENAI_API_KEY: https://platform.openai.com/settings/organization/api-keys
# Typescript
We expose our execute API via a simple express server:
```sh
cd typescript
npm install
npm run start
```
# Python
We expose our execute API via a simple FastAPI server:
```sh
cd python
pip install -r requirements.txt
python main.py
```
# Executing a Request
*replace with any agent workflow name*
```sh
curl -s -X POST http://127.0.0.1:9000/execute/gtm-agent
```
```sh
curl -s -X POST http://127.0.0.1:9000/execute/gtm-agent/{framework} \
-H "Content-Type: application/json" \
-d '{"company": "speakeasy"}'
```
LANGCHAIN JS HAS A BREAKING CHANGE TO TOO CALLING. USE 0.3.23 UNTIL THEY FIX IT