ஷானன் ஏ.ஐ. சின்னம்
SHANNON A.I.
அரட்டை விலை நிர்ணயம் API ஆராய்ச்சி நிறுவனம் பென்டெஸ்ட் AI தொடக்க பூஸ்ட்
உள்நுழையவும்
திட்டம் & பயன்பாடு
அரட்டை விலை நிர்ணயம் API ஆராய்ச்சி நிறுவனம் பென்டெஸ்ட் AI தொடக்க பூஸ்ட் உள்நுழையவும் திட்டம் & பயன்பாடு

உங்கள் மொழியை தேர்வு செய்யவும்

எல்லா மொழிகளும் சமம். நீங்கள் உலாவ விரும்பும் ஒன்றைத் தேர்ந்தெடுக்கவும்.

API ஆவணம்

ஷானன் ஏபிஐ

செயல்பாட்டு அழைப்பு, வலைத் தேடல் மற்றும் கட்டமைக்கப்பட்ட வெளியீடுகளுடன் OpenAI & Anthropic இணக்கமான AI API.

உங்கள் API விசையைப் பெறுங்கள் விளையாட்டு மைதானத்தை முயற்சிக்கவும் V2
ஆவணப்படுத்தல்
  • OV கண்ணோட்டம்
  • CP திறன்கள்
  • QS விரைவு தொடக்கம்
  • PG API விளையாட்டு மைதானம் புதியது
  • AU அங்கீகாரம்
  • ML மாதிரிகள்
  • FN செயல்பாடு அழைப்பு
  • JS கட்டமைக்கப்பட்ட வெளியீடுகள்
  • SS ஸ்ட்ரீமிங்
  • WS உள்ளமைக்கப்பட்ட இணைய தேடல்
  • AN மானுடவியல் வடிவம்
  • CT cli-tools புதியது
  • SD SDKகள்
  • ER கையாளுவதில் பிழை
  • CL சேஞ்ச்லாக்
  • AK உங்கள் API விசை
  • US உங்கள் பயன்பாடு

Shannon AI API Documentation

கண்ணோட்டம்

பொது ஆவணங்கள்

ஷானனின் OpenAI மற்றும் Anthropic இணக்கமான API உடன் நீங்கள் அனுப்ப வேண்டிய அனைத்தும்.

அடிப்படை URL OpenAI- இணக்கமானது
https://api.shannon-ai.com/v1/chat/completions

செயல்பாடு அழைப்பு மற்றும் ஸ்ட்ரீமிங்குடன் Chat Completions API ஐப் பயன்படுத்தவும்.

அடிப்படை URL மானுடவியல்-இணக்கமானது
https://api.shannon-ai.com/v1/messages

கருவிகள் மற்றும் மானுட-பதிப்பு தலைப்புடன் கிளாட் செய்திகளின் வடிவம்.

தலைப்புகள் அங்கீகாரம்
அங்கீகாரம்: தாங்குபவர் <உங்கள்-விசை>

அல்லது கிளாட் பாணி அழைப்புகளுக்கான மானுட-பதிப்புடன் கூடிய X-API-Key.

அணுகல் நிலை
பொது ஆவணம் - அழைக்க விசை தேவை

ஸ்ட்ரீமிங், செயல்பாட்டு அழைப்பு, கட்டமைக்கப்பட்ட வெளியீடுகள், வலைத் தேடல்.

சரிபார்ப்பு பட்டியலை துவக்கவும்
  • +
    உங்கள் SDK ஐ ஷானனில் சுட்டிக்காட்டவும்
    மேலே உள்ள OpenAI அல்லது Anthropic endpointsக்கு baseURL ஐ அமைக்கவும்.
    அமைவு
  • +
    உங்கள் API விசையை இணைக்கவும்
    OpenAI அழைப்புகள் அல்லது X-API-Key + ஆந்த்ரோபிக்-பதிப்புக்கு Bearer டோக்கன்களைப் பயன்படுத்தவும்.
    பாதுகாப்பு
  • +
    கருவிகள் & கட்டமைக்கப்பட்ட வெளியீடுகளை இயக்கு
    OpenAI கருவிகள்/செயல்பாடுகள், JSON ஸ்கீமா மற்றும் உள்ளமைக்கப்பட்ட web_search ஆகியவற்றை ஆதரிக்கிறது.
    திறன்கள்
  • +
    பயன்பாட்டைக் கண்காணிக்கவும்
    உங்கள் கணக்கில் உள்நுழைந்திருக்கும்போது இந்தப் பக்கத்தில் டோக்கன் மற்றும் தேடல் நுகர்வுகளைப் பார்க்கவும்.
    பகுப்பாய்வு

திறன்கள்

OpenAI + ஆந்த்ரோபிக்

கருவிகள், கட்டமைக்கப்பட்ட வெளியீடுகள் மற்றும் உள்ளமைக்கப்பட்ட இணையத் தேடலுக்கான சொந்த ஆதரவுடன் OpenAI மற்றும் Anthropic APIகளுக்கான டிராப்-இன் மாற்றீடு.

AI

டிராப்-இன் மாற்று

இணக்கமானது

OpenAI மற்றும் Anthropic SDKகளுடன் வேலை செய்கிறது. அடிப்படை URL ஐ மட்டும் மாற்றவும்.

AI

செயல்பாடு அழைப்பு

கருவிகள்

கருவிகளை வரையறுக்கவும், ஷானன் அவற்றை அழைக்கட்டும். தானாக, கட்டாயப்படுத்தப்பட்ட மற்றும் எதுவும் இல்லாத முறைகளை ஆதரிக்கிறது.

AI

உள்ளமைக்கப்பட்ட இணைய தேடல்

தேடு

மூல மேற்கோள்களுடன் நிகழ்நேர வலைத் தேடல். தானாகவே கிடைக்கும்.

AI

கட்டமைக்கப்பட்ட வெளியீடுகள்

JSON

நம்பகமான தரவைப் பிரித்தெடுப்பதற்கான JSON பயன்முறை மற்றும் JSON திட்ட அமலாக்கம்.

AI

மல்டி-டர்ன் கருவிகள்

முகவர்

தானியங்கி செயல்பாடு செயல்படுத்தல் சுழல்கள். ஒரு கோரிக்கைக்கு 10 மறு செய்கைகள் வரை.

AI

ஸ்ட்ரீமிங்

வேகமாக

நிகழ்நேர டோக்கன் ஸ்ட்ரீமிங்கிற்காக சேவையகம் அனுப்பிய நிகழ்வுகள்.

விரைவு தொடக்கம்

5 நிமிடங்கள்

மூன்று படிகளில் தொடங்கவும். ஷானன் OpenAI மற்றும் Anthropic வாடிக்கையாளர்களை பிரதிபலிக்கிறது.

1

உங்கள் அடிப்படை URL ஐ அமைக்கவும்

OpenAI-இணக்கமான இறுதிப்புள்ளியைப் பயன்படுத்தவும்.

https://api.shannon-ai.com/v1/chat/completions
2

உங்கள் API விசையைச் சேர்க்கவும்

அங்கீகாரத் தலைப்பில் தாங்கி அங்கீகாரத்தைப் பயன்படுத்தவும்.

3

உங்கள் முதல் செய்தியை அனுப்பவும்

ஒரு மொழியைத் தேர்ந்தெடுத்து உங்கள் விசையை மாற்றவும்.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1"
)

response = client.chat.completions.create(
    model="shannon-1.6-lite",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello, Shannon!"}
    ],
    max_tokens=1024
)

print(response.choices[0].message.content)
JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://api.shannon-ai.com/v1'
});

const response = await client.chat.completions.create({
  model: 'shannon-1.6-lite',
  messages: [
    { role: 'system', content: 'You are a helpful assistant.' },
    { role: 'user', content: 'Hello, Shannon!' }
  ],
  max_tokens: 1024
});

console.log(response.choices[0].message.content);
Go
package main

import (
    "context"
    "fmt"
    openai "github.com/sashabaranov/go-openai"
)

func main() {
    config := openai.DefaultConfig("YOUR_API_KEY")
    config.BaseURL = "https://api.shannon-ai.com/v1"
    client := openai.NewClientWithConfig(config)

    resp, err := client.CreateChatCompletion(
        context.Background(),
        openai.ChatCompletionRequest{
            Model: "shannon-1.6-lite",
            Messages: []openai.ChatCompletionMessage{
                {Role: "system", Content: "You are a helpful assistant."},
                {Role: "user", Content: "Hello, Shannon!"},
            },
            MaxTokens: 1024,
        },
    )
    if err != nil {
        panic(err)
    }
    fmt.Println(resp.Choices[0].Message.Content)
}
cURL
curl -X POST "https://api.shannon-ai.com/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "shannon-1.6-lite",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Hello, Shannon!"}
    ],
    "max_tokens": 1024
  }'

பதில் வடிவம்

வெற்றி பதில்
{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "created": 1234567890,
  "model": "Shannon 1.6 Lite",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! I'm Shannon, your AI assistant. How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 25,
    "completion_tokens": 18,
    "total_tokens": 43
  }
}

API விளையாட்டு மைதானம்

புதியது

உங்கள் உலாவியில் நேரடியாக ஷானன் API ஐ சோதிக்கவும். உங்கள் கோரிக்கையை உருவாக்கவும், அதை இயக்கவும் மற்றும் பதிலை நிகழ்நேரத்தில் பார்க்கவும்.

1

Chat, Responses, Messages

Switch across OpenAI Chat Completions, Responses, and Anthropic Messages without leaving the playground.

2

Stream live output

Run real requests, inspect raw JSON, and view stream events from the same operator console.

3

Reuse your key

Signed-in users can pull their Shannon API key straight into the dedicated playground workspace.

/ta/docs/playground

The playground now lives on its own route so the API docs stay Astro-rendered while the request builder remains an explicitly interactive client tool.

விளையாட்டு மைதானத்தை முயற்சிக்கவும் V2 உங்கள் API விசையைப் பெறுங்கள்

அங்கீகாரம்

உங்கள் Shannon API விசையைப் பயன்படுத்தி அனைத்து API கோரிக்கைகளுக்கும் அங்கீகாரம் தேவை.

OpenAI வடிவமைப்பு (பரிந்துரைக்கப்படுகிறது)

HTTP
Authorization: Bearer YOUR_API_KEY

மானுடவியல் வடிவம்

HTTP
X-API-Key: YOUR_API_KEY
anthropic-version: 2023-06-01

மாதிரிகள்

ஷானன் வெவ்வேறு பயன்பாட்டு நிகழ்வுகளுக்கு உகந்த பல மாதிரிகளை வழங்குகிறது.

AI
shannon-1.6-lite Shannon 1.6 Lite

அன்றாட பணிகளுக்கு விரைவான, திறமையான பதில்கள்

சூழல் 128K
சிறந்தது அரட்டை, கேள்வி பதில், உள்ளடக்க உருவாக்கம்
AI
shannon-1.6-pro Shannon 1.6 Pro

சிக்கலான சிக்கல்களுக்கான மேம்பட்ட பகுத்தறிவு

சூழல் 128K
சிறந்தது பகுப்பாய்வு, ஆராய்ச்சி, சிக்கலான பணிகள்
AI
shannon-2-lite Shannon 2 Lite

சூழல் 128K
சிறந்தது
AI
shannon-2-pro Shannon 2 Pro

சூழல் 128K
சிறந்தது
AI
shannon-coder-1 Shannon Coder

அழைப்பு அடிப்படையிலான ஒதுக்கீட்டுடன் Claude Code CLIக்கு உகந்ததாக உள்ளது

சூழல் 128K
சிறந்தது குறியீடு உருவாக்கம், கருவி பயன்பாடு, CLI ஒருங்கிணைப்பு
அழைப்பு அடிப்படையிலான ஒதுக்கீடு

செயல்பாடு அழைப்பு

செயல்களைச் செய்ய அல்லது தகவலைப் பெற ஷானன் அழைக்கக்கூடிய கருவிகளை வரையறுக்கவும்.

Python
from openai import OpenAI
import json

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1"
)

# Define available tools/functions
tools = [
    {
        "type": "function",
        "function": {
            "name": "get_weather",
            "description": "Get current weather for a location",
            "parameters": {
                "type": "object",
                "properties": {
                    "location": {
                        "type": "string",
                        "description": "City name, e.g., 'Tokyo'"
                    },
                    "unit": {
                        "type": "string",
                        "enum": ["celsius", "fahrenheit"]
                    }
                },
                "required": ["location"]
            }
        }
    }
]

response = client.chat.completions.create(
    model="shannon-1.6-lite",
    messages=[{"role": "user", "content": "What's the weather in Tokyo?"}],
    tools=tools,
    tool_choice="auto"
)

# Check if model wants to call a function
if response.choices[0].message.tool_calls:
    tool_call = response.choices[0].message.tool_calls[0]
    print(f"Function: {tool_call.function.name}")
    print(f"Arguments: {tool_call.function.arguments}")
JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://api.shannon-ai.com/v1'
});

const tools = [
  {
    type: 'function',
    function: {
      name: 'get_weather',
      description: 'Get current weather for a location',
      parameters: {
        type: 'object',
        properties: {
          location: { type: 'string', description: "City name" },
          unit: { type: 'string', enum: ['celsius', 'fahrenheit'] }
        },
        required: ['location']
      }
    }
  }
];

const response = await client.chat.completions.create({
  model: 'shannon-1.6-lite',
  messages: [{ role: 'user', content: "What's the weather in Tokyo?" }],
  tools,
  tool_choice: 'auto'
});

if (response.choices[0].message.tool_calls) {
  const toolCall = response.choices[0].message.tool_calls[0];
  console.log('Function:', toolCall.function.name);
  console.log('Arguments:', toolCall.function.arguments);
}

கருவி தேர்வு விருப்பங்கள்

"auto" ஒரு செயல்பாட்டை அழைக்க வேண்டுமா என்பதை மாதிரி தீர்மானிக்கிறது (இயல்புநிலை)
"none" இந்த கோரிக்கைக்கான செயல்பாட்டை முடக்கவும்
{"type": "function", "function": {"name": "..."}} ஒரு குறிப்பிட்ட செயல்பாட்டு அழைப்பை கட்டாயப்படுத்தவும்

செயல்பாடு அழைப்பு பதில்

மாதிரி ஒரு செயல்பாட்டை அழைக்கும் போது
{
  "id": "chatcmpl-xyz",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "tool_calls": [
          {
            "id": "call_abc123",
            "type": "function",
            "function": {
              "name": "get_weather",
              "arguments": "{\"location\": \"Tokyo\", \"unit\": \"celsius\"}"
            }
          }
        ]
      },
      "finish_reason": "tool_calls"
    }
  ]
}

கட்டமைக்கப்பட்ட வெளியீடுகள்

உங்கள் திட்டத்துடன் பொருந்தக்கூடிய சரியான JSON உடன் பதிலளிக்க ஷானனை கட்டாயப்படுத்தவும்.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1"
)

# Force JSON output with schema
response = client.chat.completions.create(
    model="shannon-1.6-lite",
    messages=[
        {"role": "user", "content": "Extract: John Doe, 30 years old, engineer"}
    ],
    response_format={
        "type": "json_schema",
        "json_schema": {
            "name": "person_info",
            "schema": {
                "type": "object",
                "properties": {
                    "name": {"type": "string"},
                    "age": {"type": "integer"},
                    "occupation": {"type": "string"}
                },
                "required": ["name", "age", "occupation"]
            }
        }
    }
)

import json
data = json.loads(response.choices[0].message.content)
print(data)  # {"name": "John Doe", "age": 30, "occupation": "engineer"}
JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://api.shannon-ai.com/v1'
});

const response = await client.chat.completions.create({
  model: 'shannon-1.6-lite',
  messages: [
    { role: 'user', content: 'Extract: John Doe, 30 years old, engineer' }
  ],
  response_format: {
    type: 'json_schema',
    json_schema: {
      name: 'person_info',
      schema: {
        type: 'object',
        properties: {
          name: { type: 'string' },
          age: { type: 'integer' },
          occupation: { type: 'string' }
        },
        required: ['name', 'age', 'occupation']
      }
    }
  }
});

const data = JSON.parse(response.choices[0].message.content);
console.log(data); // { name: "John Doe", age: 30, occupation: "engineer" }

பதில் வடிவமைப்பு விருப்பங்கள்

{"type": "json_object"} செல்லுபடியாகும் JSON வெளியீடு (குறிப்பிட்ட திட்டம் இல்லை)
{"type": "json_schema", "json_schema": {...}} உங்களின் சரியான திட்டத்துடன் பொருந்துமாறு கட்டாய வெளியீடு

ஸ்ட்ரீமிங்

பதிலளிக்கக்கூடிய UIகளுக்கு, சர்வர் அனுப்பிய நிகழ்வுகளுடன் நிகழ்நேர டோக்கன் ஸ்ட்ரீமிங்கை இயக்கவும்.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1"
)

# Enable streaming for real-time responses
stream = client.chat.completions.create(
    model="shannon-1.6-lite",
    messages=[
        {"role": "user", "content": "Write a short poem about AI"}
    ],
    stream=True
)

for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://api.shannon-ai.com/v1'
});

// Enable streaming for real-time responses
const stream = await client.chat.completions.create({
  model: 'shannon-1.6-lite',
  messages: [
    { role: 'user', content: 'Write a short poem about AI' }
  ],
  stream: true
});

for await (const chunk of stream) {
  const content = chunk.choices[0]?.delta?.content;
  if (content) process.stdout.write(content);
}
உதவிக்குறிப்பு: ஸ்ட்ரீமிங் பதில்கள் சர்வர் அனுப்பிய நிகழ்வுகளாக வரும். ஒவ்வொரு துண்டிலும் பகுதி உள்ளடக்கம் கொண்ட டெல்டா உள்ளது.

உள்ளமைக்கப்பட்ட இணைய தேடல்

Shannon தானாகக் கிடைக்கும் ஒரு உள்ளமைக்கப்பட்ட web_search செயல்பாட்டை உள்ளடக்கியது.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1"
)

# Web search is automatically available!
# Shannon will use it when needed for current information

response = client.chat.completions.create(
    model="shannon-1.6-lite",
    messages=[
        {"role": "user", "content": "What are the latest AI news today?"}
    ],
    # Optionally, explicitly define web_search tool
    tools=[{
        "type": "function",
        "function": {
            "name": "web_search",
            "description": "Search the web for current information",
            "parameters": {
                "type": "object",
                "properties": {
                    "query": {"type": "string", "description": "Search query"}
                },
                "required": ["query"]
            }
        }
    }]
)

print(response.choices[0].message.content)
# Response includes sources and citations
JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://api.shannon-ai.com/v1'
});

// Web search is automatically available!
// Shannon will use it when needed for current information

const response = await client.chat.completions.create({
  model: 'shannon-1.6-lite',
  messages: [
    { role: 'user', content: 'What are the latest AI news today?' }
  ],
  // Optionally, explicitly define web_search tool
  tools: [{
    type: 'function',
    function: {
      name: 'web_search',
      description: 'Search the web for current information',
      parameters: {
        type: 'object',
        properties: {
          query: { type: 'string', description: 'Search query' }
        },
        required: ['query']
      }
    }
  }]
});

console.log(response.choices[0].message.content);
// Response includes sources and citations
சார்பு உதவிக்குறிப்பு: இணைய தேடல் முடிவுகளில் மேற்கோள்கள் அடங்கும். ஷானன் தானாகவே ஆதாரங்களை மேற்கோள் காட்டுவார்.

மானுடவியல் வடிவம்

ஷானன் ஆந்த்ரோபிக்கின் மெசேஜஸ் ஏபிஐ வடிவமைப்பையும் ஆதரிக்கிறார்.

https://api.shannon-ai.com/v1/messages
Python
import anthropic

client = anthropic.Anthropic(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/messages"
)

response = client.messages.create(
    model="shannon-1.6-lite",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello, Shannon!"}
    ],
    # Tool use (Anthropic format)
    tools=[{
        "name": "web_search",
        "description": "Search the web",
        "input_schema": {
            "type": "object",
            "properties": {
                "query": {"type": "string"}
            },
            "required": ["query"]
        }
    }]
)

print(response.content[0].text)
JavaScript
import Anthropic from '@anthropic-ai/sdk';

const client = new Anthropic({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://api.shannon-ai.com/messages'
});

const response = await client.messages.create({
  model: 'shannon-1.6-lite',
  max_tokens: 1024,
  messages: [
    { role: 'user', content: 'Hello, Shannon!' }
  ],
  // Tool use (Anthropic format)
  tools: [{
    name: 'web_search',
    description: 'Search the web',
    input_schema: {
      type: 'object',
      properties: {
        query: { type: 'string' }
      },
      required: ['query']
    }
  }]
});

console.log(response.content[0].text);
தேவையான தலைப்பு: மானுடவியல் வடிவத்திற்கு மானுட-பதிப்பு தேவை: 2023-06-01.

CLI Coding Agents

NEW

Use Shannon as the AI backend for popular CLI coding agents. Read files, edit code, run tests — all powered by Shannon's API.

CLI Claude Code

Anthropic's official CLI coding agent. Point it at Shannon to use as your AI backend for reading, editing, and running code directly in your terminal.

ANTHROPIC_BASE_URL=https://api.shannon-ai.com ANTHROPIC_API_KEY=sk-YOUR_KEY claude --bare
டாக்ஸைக் காண்க ->
CLI Codex CLI

OpenAI's open-source coding agent. Uses the Responses API for multi-turn tool use, file editing, and shell commands — all routed through Shannon.

OPENAI_BASE_URL=https://api.shannon-ai.com/v1 OPENAI_API_KEY=sk-YOUR_KEY codex
டாக்ஸைக் காண்க ->

Claude Code

Anthropic's official CLI coding agent. Set two environment variables and launch with --bare to skip Anthropic account login.

Bash
# Install Claude Code (requires Node.js 18+)
npm install -g @anthropic-ai/claude-code

# Connect to Shannon AI as backend
export ANTHROPIC_BASE_URL=https://api.shannon-ai.com
export ANTHROPIC_API_KEY=sk-YOUR_API_KEY

# Launch Claude Code in bare mode (no Anthropic account needed)
claude --bare

# Or run a one-shot command
claude --bare -p "Explain this codebase"

# Claude Code will use Shannon's Anthropic-compatible API
# for all AI operations: reading files, editing code,
# running tests, and multi-turn tool use.
Shell Config
# Alternative: set env vars permanently in your shell profile
# ~/.bashrc or ~/.zshrc

export ANTHROPIC_BASE_URL=https://api.shannon-ai.com
export ANTHROPIC_API_KEY=sk-YOUR_API_KEY

# Then just run:
claude --bare

# Supported features through Shannon:
# - Multi-turn conversations with full context
# - File reading and editing (tool use)
# - Shell command execution
# - Streaming responses
# - All Claude Code slash commands (/compact, /clear, etc.)

Codex CLI

OpenAI's open-source coding agent. Uses the Responses API for multi-turn tool use, file editing, and shell commands.

Bash
# Install Codex CLI
npm install -g @openai/codex

# Connect to Shannon AI as backend
export OPENAI_BASE_URL=https://api.shannon-ai.com/v1
export OPENAI_API_KEY=sk-YOUR_API_KEY

# Launch Codex
codex

# Or run a one-shot command
codex "fix the bug in main.py"

# Codex uses the Responses API (POST /v1/responses)
# Shannon handles tool calls including:
# - Reading and writing files
# - Running shell commands
# - Multi-turn function calling
Shell Config
# Alternative: set env vars permanently
# ~/.bashrc or ~/.zshrc

export OPENAI_BASE_URL=https://api.shannon-ai.com/v1
export OPENAI_API_KEY=sk-YOUR_API_KEY

# Then just run:
codex

# Supported features through Shannon:
# - Responses API with full tool use
# - Function calling (file read/write, shell exec)
# - Streaming with real-time output
# - Multi-turn conversations
# - All Codex approval modes (suggest, auto-edit, full-auto)
How It Works: Both tools send standard API requests (Anthropic Messages or OpenAI Responses) to Shannon. Shannon routes them through Gemini with full tool-use support. No Anthropic or OpenAI account needed — just your Shannon API key.

SDKகள்

இணக்கமானது

ஏதேனும் OpenAI அல்லது Anthropic SDK ஐப் பயன்படுத்தவும் - அடிப்படை URL ஐ மாற்றவும்.

OpenAI-இணக்கமான SDKகள்

SDK Python

அதிகாரப்பூர்வ OpenAI பைதான் SDK - ஷானனுடன் வேலை செய்கிறது

pip install openai
டாக்ஸைக் காண்க ->
SDK JavaScript / TypeScript

அதிகாரப்பூர்வ OpenAI Node.js SDK - ஷானனுடன் வேலை செய்கிறது

npm install openai
டாக்ஸைக் காண்க ->
SDK Go

OpenAI-இணக்கமான APIகளுக்கான Community Go கிளையன்ட்

go get github.com/sashabaranov/go-openai
டாக்ஸைக் காண்க ->
SDK Ruby

OpenAI-இணக்கமான APIகளுக்கான சமூக ரூபி கிளையன்ட்

gem install ruby-openai
டாக்ஸைக் காண்க ->
SDK PHP

OpenAI-இணக்கமான APIகளுக்கான சமூக PHP கிளையன்ட்

composer require openai-php/client
டாக்ஸைக் காண்க ->
SDK Rust

OpenAI-இணக்கமான APIகளுக்கான Async Rust கிளையன்ட்

cargo add async-openai
டாக்ஸைக் காண்க ->

ஆந்த்ரோபிக்-இணக்கமான SDKகள்

SDK Python (Anthropic)

அதிகாரப்பூர்வ மானுடவியல் பைதான் SDK - ஷானனுடன் வேலை செய்கிறது

pip install anthropic
டாக்ஸைக் காண்க ->
SDK TypeScript (Anthropic)

அதிகாரப்பூர்வ ஆந்த்ரோபிக் டைப்ஸ்கிரிப்ட் SDK - ஷானனுடன் வேலை செய்கிறது

npm install @anthropic-ai/sdk
டாக்ஸைக் காண்க ->

கையாளுவதில் பிழை

ஷானன் நிலையான HTTP நிலைக் குறியீடுகளைப் பயன்படுத்துகிறது மற்றும் விரிவான பிழை செய்திகளை வழங்குகிறது.

400 தவறான கோரிக்கை தவறான கோரிக்கை வடிவம் அல்லது அளவுருக்கள்
401 அங்கீகரிக்கப்படாதது தவறான அல்லது விடுபட்ட API விசை
402 ஒதுக்கீடு மீறப்பட்டது டோக்கன் அல்லது தேடல் ஒதுக்கீடு மீறப்பட்டது
429 ரேட் லிமிடெட் பல கோரிக்கைகள், வேகத்தைக் குறைக்கவும்
500 சர்வர் பிழை உள் பிழை, பிறகு முயற்சிக்கவும்

பிழை பதில் வடிவம்

பிழை பதில்
{
  "error": {
    "message": "Invalid API key provided",
    "type": "authentication_error",
    "code": "invalid_api_key"
  }
}

சேஞ்ச்லாக்

LOG

Shannon APIக்கான சமீபத்திய புதுப்பிப்புகள் மற்றும் மேம்பாடுகள்.

v2.2.0
2026-03-28
  • புதியது Claude Code support — use Shannon as your Anthropic backend for the official CLI coding agent
  • புதியது Codex CLI support — full Responses API with multi-turn tool use for OpenAI's coding agent
  • மேம்படுத்தப்பட்டது Anthropic streaming format fixes — proper content_block lifecycle, tool_use deltas, toolu_ prefixes
  • மேம்படுத்தப்பட்டது Schema sanitization for Gemini — strips $schema, additionalProperties, $ref and other unsupported fields from tool schemas
v2.1.0
2025-01-03
  • புதியது கிளாட் கோட் CLI ஒருங்கிணைப்பிற்காக shannon-coder-1 மாதிரி சேர்க்கப்பட்டது
  • புதியது கோடர் மாதிரிக்கான அழைப்பு அடிப்படையிலான ஒதுக்கீடு அமைப்பு
  • மேம்படுத்தப்பட்டது மேம்படுத்தப்பட்ட செயல்பாடு அழைப்பு நம்பகத்தன்மை
v2.0.0
2024-12-15
  • புதியது Anthropic Messages API இணக்கத்தன்மை சேர்க்கப்பட்டது
  • புதியது மல்டி-டர்ன் டூல் எக்ஸிகியூஷன் (10 மறு செய்கைகள் வரை)
  • புதியது JSON திட்ட பதில் வடிவமைப்பு ஆதரவு
  • மேம்படுத்தப்பட்டது சிறந்த மேற்கோள்களுடன் மேம்படுத்தப்பட்ட இணையத் தேடல்
v1.5.0
2024-11-20
  • புதியது சிக்கலான காரணத்திற்காக ஷானோன்-டீப்-டாபோ மாதிரி சேர்க்கப்பட்டது
  • புதியது உள்ளமைக்கப்பட்ட web_search செயல்பாடு
  • மேம்படுத்தப்பட்டது ஸ்ட்ரீமிங் பதில்களுக்கான தாமதம் குறைக்கப்பட்டது
v1.0.0
2024-10-01
  • புதியது ஆரம்ப API வெளியீடு
  • புதியது OpenAI-இணக்கமான அரட்டை நிறைவுகளின் இறுதிப்புள்ளி
  • புதியது செயல்பாடு அழைப்பு ஆதரவு
  • புதியது சர்வர் அனுப்பிய நிகழ்வுகள் வழியாக ஸ்ட்ரீமிங்

உங்கள் API விசை

அணுகல்
OpenAI அழைப்புகள் அல்லது X-API-Key + ஆந்த்ரோபிக்-பதிப்புக்கு Bearer டோக்கன்களைப் பயன்படுத்தவும்.
YOUR_API_KEY
உங்கள் API விசையைப் பெறுங்கள்

உங்கள் API விசையை ரகசியமாக வைத்திருங்கள். மறுஉருவாக்கம் ஒரு புதிய விசையை உருவாக்குகிறது மற்றும் பழையதை செல்லாததாக்குகிறது.

பதிப்பு: 1
கடைசியாக சுழற்றப்பட்டது: ஒருபோதும் இல்லை
கடைசியாக பயன்படுத்தப்பட்டது: ஒருபோதும் இல்லை

உங்கள் பயன்பாடு

உங்கள் கணக்கில் உள்நுழைந்திருக்கும்போது இந்தப் பக்கத்தில் டோக்கன் மற்றும் தேடல் நுகர்வுகளைப் பார்க்கவும்.

-- API அழைப்புகள்
-- பயன்படுத்தப்படும் டோக்கன்கள்

ஷானன் கோடர் (shannon-coder-1)

ஷானன் கோடருக்கான அழைப்பு அடிப்படையிலான ஒதுக்கீடு (shannon-coder-1). ஒவ்வொரு 4 மணிநேரமும் மீட்டமைக்கப்படும்.

0 அழைப்புகள் பயன்படுத்தப்பட்டன
0 மீதமுள்ள அழைப்புகள்

கட்டத் தயாரா?

உங்கள் API விசையைப் பெற்று, இன்றே Shannon AI உடன் உருவாக்கத் தொடங்குங்கள்.

உங்கள் API விசையைப் பெறுங்கள் விலை நிர்ணயம் பார்க்கவும்

பிரபலமான தேடல்கள்:

வெவ்வேறு முக்கிய வார்த்தைகளை முயற்சிக்கவும்
வழிசெலுத்தவும்: ↑ ↓ தேர்ந்தெடு: Enter மூடு: Esc